mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
FIX: set channels tab as default on mobile chat footer (#25296)
This change moves the "Channels" tab to first position in the chat footer nav, and loads it as the default page when opening chat for the first time on mobile.
This commit is contained in:
@ -29,11 +29,11 @@ RSpec.describe "Chat footer on mobile", type: :system, mobile: true do
|
||||
expect(page).to have_no_css(".c-footer")
|
||||
end
|
||||
|
||||
it "redirects the user to the direct messages tab" do
|
||||
it "redirects the user to the channels tab" do
|
||||
visit("/")
|
||||
chat_page.open_from_header
|
||||
|
||||
expect(page).to have_current_path("/chat/direct-messages")
|
||||
expect(page).to have_current_path("/chat/channels")
|
||||
end
|
||||
|
||||
it "shows threads tab when user has threads" do
|
||||
|
Reference in New Issue
Block a user