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
+ 7
9
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -45,20 +45,19 @@ export default {
@@ -45,20 +45,19 @@ export default {
},
},
},
},
};
};
// gl-bg-gray-20 gl-w-24 gl-rounded-base gl-border-none gl-py-3 gl-leading-1 gl-text-gray-900
</script>
</script>
<template>
<template>
<div
<div
v-if="glFeatures.searchButtonTopRight"
v-if="glFeatures.searchButtonTopRight"
ref="buttonRoot"
ref="buttonRoot"
class="gl-w-52 gl-border gl-rounded-base gl-border-gray-500"
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-form-input gl-w-52"
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