Global Search - Scope Tabs (Vue Component)
Close Issue
This is not needed as we will be moving to the Left rail nav in place of Tabs #293740 (closed)
UI Component
Current Code
HAML: https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/views/search/_category.html.haml
What to do
-
Add HTML ID to the existing HAML (this is where we will mount the Vue component) -
Create Vue components that will be replacing functionality -
Use shared Vuex store when initializing components created in step #2
in search/show/index.js
Remaining work
Branch: 262066-global-search-scope-tabs-vue-component
The original MR was reverted, work remaining to get this merged:
-
Reset parameters on tab change (!53751 (closed)) -
Adjust how routing is being done. Two ideas of how this could be done: 1) Explore using vue-router
2) Generate the links in ruby and pass them to Vue -
Verify that the performance bar is properly showing ALL count URLs and includes the params for viewing (see #321012 (comment 507573254))
Edited by John McGuire