minty/src/app/molecules
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
..
dialog Add support to manage cross-signing and key backup (#461) 2022-04-24 15:42:24 +05:30
following-members Refector sass 2021-12-19 10:28:41 +05:30
image-upload Localize fonts 2021-12-16 17:55:16 +05:30
import-export-e2e-room-keys Refector sass 2021-12-19 10:28:41 +05:30
media Refector sass 2021-12-19 10:28:41 +05:30
message Improve strings (#488) 2022-04-18 08:55:16 +05:30
people-selector Add member list in space settings 2022-01-30 18:47:19 +05:30
popup-window Adapt to different device widths (#401) 2022-04-24 15:53:10 +05:30
power-level-selector Fix custom power level selection return NaN 2022-01-12 11:40:55 +05:30
room-aliases Make room alias component reusable for space settings 2022-01-29 13:46:32 +05:30
room-encryption Add ability to enable room encryption 2022-01-02 12:08:19 +05:30
room-history-visibility String update and file extension name consistency (#436) 2022-03-30 13:42:52 +05:30
room-intro Refector sass 2021-12-19 10:28:41 +05:30
room-members Sort direct messages by activity (#393) 2022-03-17 16:55:16 +05:30
room-notification Fix crash on load and room creation (#418) 2022-03-23 18:44:53 +05:30
room-options Adapt to different device widths (#401) 2022-04-24 15:53:10 +05:30
room-permissions Fix max power level in room permissions (#480) 2022-04-11 21:29:39 +05:30
room-profile Improve strings (#488) 2022-04-18 08:55:16 +05:30
room-search Update English strings, fix #352, #354 (#356) 2022-03-06 15:57:39 +05:30
room-selector Fix muted room show unread indicator (#386) 2022-03-15 17:21:36 +05:30
room-tile Twemojified all text 2021-11-23 11:56:02 +05:30
room-visibility Add optoins to change room visibility 2021-12-26 15:34:20 +05:30
setting-tile Add support for managing sessions (#415) 2022-03-23 18:44:38 +05:30
sidebar-avatar Add support to manage cross-signing and key backup (#461) 2022-04-24 15:42:24 +05:30
space-add-existing Fix loading on older browsers (#397) 2022-03-18 09:06:48 +05:30
space-options Improve strings (#488) 2022-04-18 08:55:16 +05:30
sso-buttons Updated dependencies and build instructions 2021-11-06 16:26:18 +05:30