Skip to content

Your Work Projects - Root path not properly importing JavaScript

What / Why

Caught via failing E2E spec: https://gitlab.com/gitlab-org/gitlab/-/issues/469562#note_1974052190
Caused by: !155472 (merged)

In the above mentioned MR we introduced a new pages/dashboard/projects/index.js file that is overriding the pages/dashboard/projects/index/index.js file. This is causing the javascript to not properly get imported and not setting up the JS for the filterable list.

Impact

Customer has to hit enter to search on root / path of GitLab, where other pages it searches automatically after a debounce.

Proposal

Re-organize JS files to support both pages/dashboard/projects/index.js and pages/dashboard/projects/index/index.js