Commit graph

596 commits

Author SHA1 Message Date
Benoit Marty
ce7bb11724 Ensure roomId are not rendered in the UI.
Add preview to see the effect.
Use RoomAvatar data fallback everywhere, to not use roomId (`!` char) for the avatar initial, but rather `#`.
2024-04-25 11:52:40 +02:00
Benoit Marty
2c2bf7c687 Add screen to render Spaces (they are not supported yet) 2024-04-25 09:50:51 +02:00
Benoit Marty
132b4e87ea Avoid rendering roomId on screen. 2024-04-25 09:49:58 +02:00
Benoit Marty
d06ec9099b Add Ui test on DeveloperSettingsView 2024-04-23 13:55:28 +02:00
Benoit Marty
6b2a4f8cc0 Move OnboardingBackground to a sub package 2024-04-19 18:11:14 +02:00
Benoit Marty
52f7b29577 Fix missing background issue. 2024-04-19 18:11:14 +02:00
Benoit Marty
74a9a54719 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
Benoit Marty
f1668b8abe Update doc. 2024-04-18 20:13:10 +02:00
Benoit Marty
4489df1085 Apply Gradient Background to JoinRoomView and RoomAliasResolverView. 2024-04-18 17:47:20 +02:00
Benoit Marty
57870fa624 Gradient Background 2024-04-18 17:32:06 +02:00
Benoit Marty
9c7c66b222 Fix padding issue on RoomPreviewMembersCountMolecule 2024-04-18 11:35:54 +02:00
Benoit Marty
b7d4fa655e Readability 2024-04-18 09:04:06 +02:00
Benoit Marty
7528bb7ffa Add Modifier and preview for RoomPreviewMembersCountMolecule. Also increase end padding to ensure that rendering is correct for big numbers. 2024-04-18 01:27:33 +02:00
Benoit Marty
1b8dd2cded Create Atom and Molecule for RoomPreview screens 2024-04-18 00:04:26 +02:00
Benoit Marty
d0fdaaeb86 Move ContentScaffold to design system and rename to RoomPreviewOrganism 2024-04-18 00:04:25 +02:00
Benoit Marty
1286ea7e77
Merge pull request #2696 from element-hq/misc/add-super-button-component
Compound: add SuperButton and GradientFAB components
2024-04-16 00:06:03 +02:00
Benoit Marty
88b3c33eaf Format 2024-04-15 14:17:42 +02:00
Benoit Marty
933263ee96 Remove unnecessary Box wrapping. 2024-04-15 13:46:48 +02:00
Jorge Martín
efde2af29e Compound: add SuperButton and GradientFloatingActionButton components
Also add `ButtonSize.Small` and adjust existing `Button` component
2024-04-12 17:01:06 +02:00
ganfra
11979167c5 Room navigation : some clean up 2024-04-12 15:58:15 +02:00
ganfra
a2329fc7df Join room : change state and view 2024-04-12 14:10:32 +02:00
ganfra
73f276ba8e Merge branch 'develop' into feature/fga/room_navigation 2024-04-10 16:55:55 +02:00
Jorge Martin Espinosa
6db513c125
Improve designs of FTUE analytics opt-in screen (#2684)
* Improve designs of FTUE analytics opt-in screen

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-10 10:28:05 +02:00
Jorge Martin Espinosa
cf072fa1e1
Improve session recovery screens (#2657)
* Improve enter recovery key screen UI

* Add instructions to reset the encryption of the logged in account.

* Update screenshots

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:01:06 +00:00
Benoit Marty
014061facf
Merge pull request #2674 from element-hq/feature/bma/roomSuggestion
Room / User suggestions
2024-04-08 17:26:54 +02:00
Benoit Marty
16d289e180 Exclude fun ContentToPreview() from coverage, this is not production code. 2024-04-08 16:20:42 +02:00
Benoit Marty
8128a595c8
Merge pull request #2667 from SpiritCroc/avatar-fallback
Fall back to initials avatar when image avatar doesn't work
2024-04-08 14:42:11 +02:00
Jorge Martin Espinosa
b6ceb8c697
Improve UI for notification permission screen in onboarding (#2660)
* Improve UI for notification permission screen in onboarding

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-08 10:58:37 +02:00
SpiritCroc
e4b76e0e89 Add back debugPlaceholderAvatar for inspection mode 2024-04-08 09:59:02 +02:00
SpiritCroc
f704cca678 Fall back to initials avatar when image avatar doesn't work
Initially I had it implemented such that it would only fallback on
error, but actually it's nice to have also while loading if it takes
a while to load the avatar.
2024-04-07 19:18:30 +02:00
ganfra
cdadd19e6a Room navigation : introduce the JoinRoomNode 2024-04-05 17:57:02 +02:00
Benoit Marty
b4582564ab Remove unused circularReveal Modifier. 2024-04-04 14:49:42 +02:00
Jorge Martin Espinosa
41287c5f59
Move session verification to FTUE flow, make it mandatory (#2594)
* Move session verification to the FTUE
* Allow session verification flow to be restarted
* Use `EncryptionService` to display session verification faster
* Remove session verification item from settings
* Remove session verification banner from room list
* Remove 'verification needed' variant from the `TimelineEncryptedHistoryBanner`
* Improve verification flow UI and UX
* Remove 'verification successful' snackbar message
* Only register push provider after the session has been verified
* Hide room list while the session hasn't been verified
* Prevent deep links from changing the navigation if the session isn't verified
* Update screenshots
* Renamed `FtueState` to `FtueService`, created an actual `FtueState`.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-03 14:53:17 +00:00
ganfra
37d645d153 Merge branch 'develop' into feature/fga/room_directory 2024-03-28 16:15:04 +01:00
Benoit Marty
3f85d4e566 Add trophy icon next the the winner vote in polls. 2024-03-26 17:58:31 +01:00
ganfra
4c5ae6ae4b RoomDirectory : continue implementing the search 2024-03-25 11:17:19 +01:00
ganfra
3eae08b3e9 Merge branch 'develop' into feature/fga/room_directory 2024-03-21 17:24:54 +01:00
Jorge Martin Espinosa
998eb7d093
Compound: add BigIcon, BigCheckmark and PageTitle components (#2574)
* Compound: add `BigIcon`, `BigCheckmark` and `PageTitle` components

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:10:11 +01:00
ganfra
b0894fcd11 Room directory search : start implementing ui with fake data 2024-03-20 18:32:41 +01:00
Jorge Martin Espinosa
6aa84d600e
Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
Benoit Marty
a51855a171 Simplification since MatrixUser cannot be null anymore. 2024-03-18 16:46:26 +01:00
Benoit Marty
3f1b492678 Fix preview on View having ModalBottomSheet. 2024-03-07 13:51:20 +01:00
Jorge Martin Espinosa
134cacb024
Room member moderation: kick, ban and unban (#2496)
* Room member moderation: kick, ban and unban

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-06 16:44:05 +01:00
Benoit Marty
7e2fd62d04
Merge pull request #2448 from element-hq/feature/bma/testMediaViewerView
Add test on MediaViewerView and other missing unit tests.
2024-02-27 15:51:45 +01:00
Benoit Marty
cbf6e2383d Add test on TextField for TextFieldValue parameter 2024-02-27 10:18:40 +01:00
Jorge Martin Espinosa
cdf89adcd2
Show blocked users list (#2437)
* Show blocked users list.

Also allow to unblock them from this list.

* Add non-blocking `AsyncIndicatorHost` component

* Use `StateFlow` for getting ignored users.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-26 15:24:22 +00:00
ganfra
7471e12bc5 RoomListFilters: try to improve ui with animation and fading edges 2024-02-20 21:17:16 +01:00
Benoit Marty
3cbbde7c3e Add first tests for ShowLocationView 2024-02-19 13:36:08 +01:00
Jorge Martin Espinosa
b69cb8175a
Update Compound to v0.0.5 and update icons (#2380)
Update Compound to `v0.0.5`:

- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-12 16:41:58 +00:00
Benoit Marty
689ab61b23 Ensure all dialogs have the same preview format.
A combined ElementThemedPreview with PreviewGroup.Dialogs for Showkase and a regular PreviewsDayNight for code coverage
2024-02-09 22:31:35 +01:00