Commit Graph

3682 Commits

Author SHA1 Message Date
Benoit Marty
ad5ef27f2b QrCode intro screen: add subtitle and fix button wording #3632 2024-10-09 10:20:56 +02:00
Benoit Marty
3801f85a9c Do not render pin violation in clear room. 2024-10-08 18:30:08 +02:00
Benoit Marty
0534cdab7e Merge pull request #3621 from element-hq/feature/bma/composerAlert
Warn the user when unverified user has changed their identity
2024-10-08 16:33:14 +02:00
Benoit Marty
dc7c801a96 Cleanup 2024-10-08 15:02:04 +02:00
Benoit Marty
576370cdf3 Fix regression. 2024-10-08 14:56:50 +02:00
Benoit Marty
152a002c8a Create data classes TypingRoomMember and IdentityRoomMember to avoid the risk of useless recomposition.
Also remove TypingNotificationStateForMessagesProvider which was not used anymore.
2024-10-08 14:54:49 +02:00
Benoit Marty
2b9899063c Use produceState 2024-10-08 14:15:23 +02:00
Benoit Marty
a0205cf1e9 Fix Emoji test 2024-10-08 14:14:39 +02:00
Benoit Marty
a1b60a26ad tom 2024-10-08 13:55:46 +02:00
Benoit Marty
dac6a572d9 Rename val for clarity 2024-10-08 13:47:47 +02:00
Benoit Marty
423da63597 Use produceState 2024-10-08 13:45:25 +02:00
Jorge Martin Espinosa
e71a010e22 Fix the logic of the room list banner state (#3615)
* Fix `deriveStateOf` preventing the banner state from updating

* Try improving implementation of the check

* No need for `syncState`
2024-10-08 10:13:39 +00:00
Benoit Marty
68e990f15c Fix preview of identity change banner in a timeline. 2024-10-08 11:48:09 +02:00
Benoit Marty
d9627337fc Fix broken previews 2024-10-08 11:48:06 +02:00
Benoit Marty
9b7a9b2183 Improve code. 2024-10-08 11:23:11 +02:00
Benoit Marty
c8ff0d5641 Fix code quality. 2024-10-08 11:09:46 +02:00
Benoit Marty
351f058f06 Fix compilation issues. 2024-10-08 10:27:07 +02:00
Benoit Marty
57e45aa834 Identity change: handle click on "learn more" 2024-10-08 09:35:18 +02:00
Benoit Marty
b7d444254c Avoid using application context. 2024-10-08 09:06:40 +02:00
Benoit Marty
8de134af3b Rename SecureBackupConfig to LearnMoreConfig 2024-10-07 22:29:43 +02:00
Benoit Marty
6ab99c3070 Do not inject presenter directly. 2024-10-07 22:25:05 +02:00
Benoit Marty
9d815d26b4 Pin user identity. 2024-10-07 22:19:13 +02:00
Benoit Marty
9b94edcfa3 Render PinViolation above the composer. 2024-10-07 22:18:32 +02:00
Benoit Marty
08673f44ce Use backgroundScope 2024-10-07 17:46:19 +02:00
Benoit Marty
2a4726e611 Remove FakeLeaveRoomPresenter 2024-10-07 17:46:18 +02:00
Benoit Marty
8fadcaf38d Cleanup 2024-10-07 17:46:17 +02:00
Benoit Marty
6d87c8ad19 Remove dependencies to other presenters in MessagesPresenter. 2024-10-07 17:46:17 +02:00
Benoit Marty
62cbff0ffe Remove dependencies to other presenters to RoomMembersModerationPresenter.
Move canDisplayModerationActions from presenter API to the state it emits.
2024-10-07 17:46:16 +02:00
Benoit Marty
7dce60c756 Remove dependencies to other presenters to LeaveRoomPresenter. 2024-10-07 17:46:16 +02:00
Benoit Marty
e3f05d1704 Remove dependencies to other presenters to ChangeServerPresenter. 2024-10-07 17:46:15 +02:00
Benoit Marty
0b41c9967b Remove dependencies to other presenters to AnalyticsPreferencesPresenter. 2024-10-07 17:45:18 +02:00
Benoit Marty
724c183639 Remove dependencies to other presenters to FullScreenIntentPermissionsPresenter.
Also do some renaming since FullScreenIntentPermissionsPresenter interface can be removed.
2024-10-07 17:45:18 +02:00
Benoit Marty
cf05a9680f Remove dependencies to other presenters from PreferencesRootPresenter.
Also do some renaming since DirectLogoutPresenter interface can be removed.
2024-10-07 17:45:17 +02:00
Benoit Marty
08a6a3ba01 Remove dependencies to other presenters from DeveloperSettingsPresenter 2024-10-07 17:45:17 +02:00
Benoit Marty
c709b8d76e Remove dependencies to other presenters from RootPresenter 2024-10-07 17:45:16 +02:00
Benoit Marty
643c9c7f39 Merge pull request #3609 from element-hq/feature/bma/slidingSyncCheck
Remove supportSlidingSync boolean.
2024-10-07 15:30:39 +02:00
Benoit Marty
46e6ef101c Merge pull request #3611 from frebib/frebib/black-on-black
Fix black-on-black status bars with hidden media
2024-10-07 09:38:38 +02:00
bmarty
05291bcf2f Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Joe Groocock
042b6e61be Use CircleShape instead of 50% RoundedCornerShape
This is a builtin alias for the same thing.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-10-05 15:57:07 +00:00
Joe Groocock
aa6159e9ad Fix black-on-black status bars with hidden media
In dark mode, the ElementTheme composable incorrectly applied a dark
colour to the status bars, which was nearly invisible on top of the
black background of the app.

Signed-off-by: Joe Groocock <me@frebib.net>
2024-10-05 15:54:42 +00:00
Benoit Marty
5a962c5d2d Do not inject the TimelineProtectionPresenter 2024-10-04 17:02:05 +02:00
Benoit Marty
643fe9ec65 Fix preview name. 2024-10-04 17:02:04 +02:00
Benoit Marty
a73c8b1e25 Rename hideContent to hideMediaContent 2024-10-04 17:02:03 +02:00
Benoit Marty
76eb4b73f3 Let invokeOnCurrentTimeline lambda param return Unit so that we can remove run block. 2024-10-04 17:02:02 +02:00
Benoit Marty
3109fedb0f SuppressWarnings ModifierClickableOrder 2024-10-04 17:02:02 +02:00
Benoit Marty
090b989d2a Hide images: iterate on design. 2024-10-04 17:01:59 +02:00
Benoit Marty
c6f65f79f4 Fix test name. 2024-10-04 17:01:58 +02:00
Benoit Marty
685ef9c872 Remove dead code. 2024-10-04 17:01:57 +02:00
Benoit Marty
babeaf58fe Add unit test on ProtectedView and TimelineProtectionState 2024-10-04 17:01:56 +02:00
Benoit Marty
4a481d0f84 Add unit test on TimelineProtectionPresenter 2024-10-04 17:01:55 +02:00