Skip to content
Snippets Groups Projects

Move search bar to top nav to test usage changes

Merged Tomas Bulva requested to merge 480341-move-search-bar-to-top-nav-to-test-usage-changes into master
1 unresolved thread
Compare and Show latest version
3 files
+ 10
6
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -48,12 +48,16 @@ export default {
@@ -48,12 +48,16 @@ export default {
</script>
</script>
<template>
<template>
<div v-if="glFeatures.searchButtonTopRight" ref="buttonRoot" class="gl-grow">
<div
 
v-if="glFeatures.searchButtonTopRight"
 
ref="buttonRoot"
 
class="gl-border gl-w-[300px] gl-rounded-base gl-border-gray-400"
 
>
<gl-button
<gl-button
id="super-sidebar-search"
id="super-sidebar-search"
v-gl-tooltip.bottom.html="searchTooltip"
v-gl-tooltip.bottom.html="searchTooltip"
v-gl-modal="$options.SEARCH_MODAL_ID"
v-gl-modal="$options.SEARCH_MODAL_ID"
class="user-bar-button gl-bg-gray-20 gl-w-24 gl-rounded-base gl-border-none gl-py-3 gl-leading-1 gl-text-gray-900"
class="user-bar-button gl-form-input gl-w-[300px] !gl-justify-start"
data-testid="super-sidebar-search-button"
data-testid="super-sidebar-search-button"
@click="trackEvent('click_search_button_to_activate_command_palette', { label: 'top_right' })"
@click="trackEvent('click_search_button_to_activate_command_palette', { label: 'top_right' })"
>
>
Loading