This ensures that room names are always preserved and visible when switching between Desktop and Mobile-sized UI layouts via the AdaptiveView.
Ideally this shouldn't be necessary, and we should only ever need to store OwnedRoomIds in all of the MainDesktopUi fields. I also think this change might be eventually problematic because it'll be difficult to properly propagate a changed room name through all of the app-wide states.
In addition, this PR adjusts the width cutoffs/boundaries between Mobile and Desktop UI for the whole window, as well as for the RoomsSidebar.
The RoomsSidebar will now show only the icon at a width of 70 pixels or less, down from 100 pixels.
The RoomsSidebar will now show the room icon and name at a width of 200 pixels or less, down from 250 pixels.
The entire window will now show a desktop view down to 650 pixels in width, and mobile for anything under 650 pixels.
This is down from the previous MIN_DESKTOP_WIDTH of 860 pixesl.
This PR also removes the currently unused headers for other room types: People and Channels.
This ensures that room names are always preserved and visible when switching between Desktop and Mobile-sized UI layouts via the AdaptiveView.
Ideally this shouldn't be necessary, and we should only ever need to store
OwnedRoomId
s in all of theMainDesktopUi
fields. I also think this change might be eventually problematic because it'll be difficult to properly propagate a changed room name through all of the app-wide states.In addition, this PR adjusts the width cutoffs/boundaries between Mobile and Desktop UI for the whole window, as well as for the RoomsSidebar.
MIN_DESKTOP_WIDTH
of 860 pixesl.This PR also removes the currently unused headers for other room types:
People
andChannels
.Closes #226