Global Search - Search Form (Vue Component)
UI Component
Current Code
HAML: https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/views/search/_form.html.haml
What to do
- Implement #262060 (closed)
- Add HTML ID to the existing HAML (this is where we will mount the Vue component)
- Familiarize yourself with the components introduced by #262060 (closed)
- Create Vue components that will be replacing the functionality (be sure to also import the components from
step #3
into this "parent" component) - Remove the initializing call that mounted the components from
step #3
- Use shared Vuex store when initializing components created in
step #4
in search/show/index.js -
cleanup Can remove
_filter.html.haml
file: https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/views/search/_filter.html.haml
Edited by Zack Cuddy