FEATURE: allows browse page in chat drawer (#27919)

This commit ensures the browse page can be loaded in the drawer and doesn’t force full page mode.

Other notable changes of this commit:
- be consistent about wrapping each full page route with "c-routes.--route-name" and each drawer container with "c-drawer-routes.--route-name"
- move browse channels into its own component, it was before in the template of the channels browse
This commit is contained in:
Joffrey JAFFEUX
2024-07-16 12:34:37 +02:00
committed by GitHub
parent 600f2854c7
commit c74fa300e7
49 changed files with 882 additions and 700 deletions

View File

@ -102,7 +102,7 @@ describe "Single thread in side panel", type: :system do
it "doesn’t show back button " do
chat_page.visit_thread(thread)
expect(page).to have_no_css(".c-routes-channel-thread .c-navbar__back-button")
expect(page).to have_no_css(".c-routes.--channel-thread .c-navbar__back-button")
end
end