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
6 files
+ 145
42
Compare changes
  • Side-by-side
  • Inline
Files
6
<script>
import { GlModalDirective, GlTooltipDirective, GlIcon } from '@gitlab/ui';
import SearchModal from './global_search/components/global_search.vue';
import { SEARCH_MODAL_ID } from './global_search/constants';
import { __, s__, sprintf } from '~/locale';
import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
import { InternalEvents } from '~/tracking';
import { SEARCH_MODAL_ID } from '../constants';
import SearchModal from './global_search.vue';
const trackingMixin = InternalEvents.mixin();
export default {
SEARCH_MODAL_ID,
@@ -44,7 +49,7 @@ export default {
id="super-sidebar-search"
v-gl-tooltip.bottom.html="searchTooltip"
v-gl-modal="$options.SEARCH_MODAL_ID"
class="user-bar-button gl-block gl-w-full gl-rounded-base gl-border-none gl-bg-gray-10 gl-py-3 gl-leading-1 gl-text-gray-900"
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"
data-testid="super-sidebar-search-button"
@click="trackEvent('click_search_button_to_activate_command_palette')"
>
Loading