cinny/src/app/organisms
Laurenz dc8e6e53c7
Adapt to different device widths (#401)
* Now adapting to small screen sizes, needs improvements

* Fix that site only gets into mobile mode when resized

* - Added navigation event triggered if user requests to return to navigation on compact screens
- People drawer wont be shown on compact screens
  - Still accessible using settings
  - would be duplicated UI
- mobileSize is now compactSize

* Put threshold for collapsing the base UI in a shared file

* Switch to a more simple solution using CSS media queries over JS
- Move back button to the left a bit so it doesnt get in touch with room icon

* switch from component-individual-thresholds to device-type thresholds
- <750px: Mobile
- <900px: Tablet
- >900px: Desktop

* Make Settings drawer component collapse on mobile

* Fix EmojiBoard not showing up and messing up UI when screen is smaller than 360px

* Improve code quality; allow passing classNames to IconButton
- remove unnessesary div wrappers
- use dir.side where appropriate
- rename threshold and its mixins to more descriptive names
- Rename "OPEN_NAVIGATION" to "NAVIGATION_OPENED"

* - follow BEM methology
- remove ROOM_SELECTED listener
- rename NAVIGATION_OPENED to OPEN_NAVIGATION where appropriate
- this does NOT changes that ref should be used for changing visability

* Use ref to change visability to avoid re-rendering

* Use ref to change visability to avoid re-rendering

* Fix that room component is not hidden by default.
This resulted in a broken view when application is viewed in mobile size without having selected a room since loading.

* fix: leaving a room should bring one back to navigation

Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2022-04-24 15:53:10 +05:30
..
create-room Add reusable dialog (#459) 2022-03-31 20:39:05 +05:30
drag-drop Fix crashing on droping text (#302) 2022-02-09 08:29:21 +05:30
emoji-board Adapt to different device widths (#401) 2022-04-24 15:53:10 +05:30
invite-list Adapt to different device widths (#401) 2022-04-24 15:53:10 +05:30
invite-user Add option to create room/space 2022-02-26 21:00:52 +05:30
navigation Add support to manage cross-signing and key backup (#461) 2022-04-24 15:42:24 +05:30
profile-editor Improve strings (#488) 2022-04-18 08:55:16 +05:30
profile-viewer Add option to create room/space 2022-02-26 21:00:52 +05:30
public-rooms Fix can't open spaces from public room list (#419) 2022-03-23 18:45:13 +05:30
pw Add reusable dialog (#459) 2022-03-31 20:39:05 +05:30
read-receipts Add reusable dialog (#459) 2022-03-31 20:39:05 +05:30
room Adapt to different device widths (#401) 2022-04-24 15:53:10 +05:30
search Sort search results by activity (#399) 2022-03-19 18:55:38 +05:30
settings Adapt to different device widths (#401) 2022-04-24 15:53:10 +05:30
shortcut-spaces Sort direct messages by activity (#393) 2022-03-17 16:55:16 +05:30
space-manage Fix side margin 2022-03-06 17:49:21 +05:30
space-settings Improve strings (#488) 2022-04-18 08:55:16 +05:30
view-source Fix input freeze on sending message (#343) 2022-02-23 08:35:06 +05:30
welcome Add RoomSettings comp 2021-12-22 20:18:32 +05:30