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
2 files
+ 17
8
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -45,15 +45,20 @@ 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>
<template>
<div v-if="glFeatures.searchButtonTopRight" ref="buttonRoot" class="gl-justify-self-center">
<div
v-if="glFeatures.searchButtonTopRight"
ref="buttonRoot"
class="gl-border gl-w-[300px] gl-rounded-base gl-border-gray-500"
>
<gl-button
id="super-sidebar-search"
v-gl-tooltip.bottom.html="searchTooltip"
v-gl-modal="$options.SEARCH_MODAL_ID"
class="user-bar-button gl-bg-gray-20 gl-w-full 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]"
data-testid="super-sidebar-search-button"
@click="trackEvent('click_search_button_to_activate_command_palette', { label: 'top_right' })"
>
Loading