Migrate find_file interface to container queries
What does this MR do and why?
Migrate find_file interface to container queries
Files checked in this migration:
/app/views/projects/find_file/show.html.haml
/app/assets/stylesheets/page_bundles/tree.scss
/app/assets/javascripts/pages/projects/find_file/ref_switcher/index.js
/app/assets/javascripts/search/under_topbar/index.js
/app/assets/javascripts/ref/components/ref_selector.vue
/app/assets/javascripts/vue_shared/components/badges/protected_badge.vue
References
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
The migrated find_file interface is only accessible by visiting its URL directly.
- Check out this branch
- In the GDK, visit http://gdk.test:3000/flightjs/Flight/-/find_file/master
- Open the chat panel and resize your viewport so that the main panel will be les than 576px wide
- You will see that the main panel content adapts the same layout that it would have previously when the viewport was less than 576px wide
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #559700

