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
1 file
+ 6
2
Compare changes
  • Side-by-side
  • Inline
@@ -49,12 +49,16 @@ export default {
</script>
<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-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-form-input gl-w-24 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