Commit Graph

3709 Commits

Author SHA1 Message Date
Benoit Marty
e72567c4ac Merge pull request #3667 from element-hq/feature/bma/asyncActionConfirmingWithParam
AsyncAction confirming with param
2024-10-15 12:28:03 +02:00
Benoit Marty
d9e3426098 Merge pull request #3670 from element-hq/feature/bma/fixCanInviteRefresh
Fix issue on canInvite refresh.
2024-10-15 09:00:09 +02:00
Benoit Marty
cedbc8bd61 Merge pull request #3668 from element-hq/feature/bma/noNeedForLaunch
No need to launch a coroutine here.
2024-10-15 08:59:32 +02:00
Benoit Marty
67c8b9440f Import fun 2024-10-14 21:13:52 +02:00
Benoit Marty
1fd703fa67 Fix regression due to icon now supports RTL. 2024-10-14 21:13:50 +02:00
Benoit Marty
5ede66afc0 Remove useless return 2024-10-14 20:58:51 +02:00
Benoit Marty
ccaa34de83 Fix issue on canInvite refresh. 2024-10-14 12:16:01 +02:00
Benoit Marty
c248892bab No need to launch a coroutine here. 2024-10-14 12:04:37 +02:00
Benoit Marty
964fbe4de3 Split long lines 2024-10-14 11:35:58 +02:00
Benoit Marty
e490769444 AcceptDeclineInviteState: create ConfirmingDeclineInvite to host InviteData when confirming decline of invite. 2024-10-14 11:19:18 +02:00
Benoit Marty
97fb7bc2fa Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
2024-10-14 10:49:55 +02:00
bmarty
29a489df0b Sync Strings from Localazy 2024-10-14 00:27:28 +00:00
Benoit Marty
19f0be51fe Merge pull request #3649 from element-hq/feature/bma/cryptoCopyAdjustment
Crypto copy adjustment
2024-10-10 19:41:17 +02:00
Benoit Marty
a51078b2f2 Update the test, the wording of the button has changed. 2024-10-10 18:04:34 +02:00
Benoit Marty
03dbfd927f Quality... 2024-10-10 17:40:56 +02:00
Benoit Marty
2288b64d0d Quality... 2024-10-10 17:35:59 +02:00
Benoit Marty
354349df19 Merge pull request #3648 from element-hq/feature/bma/identityChangeFeatureFlag
Add feature flag IdentityPinningViolationNotifications.
2024-10-10 17:20:29 +02:00
Benoit Marty
89e9baa9d5 Add "Learn more" on identity verification first screen. 2024-10-10 17:09:35 +02:00
Benoit Marty
afba74cb63 Tweak screens related to crypto. 2024-10-10 16:44:11 +02:00
Benoit Marty
88c617d13e Add feature flag IdentityPinningViolationNotifications.
Disabled in production build, enabled by default on other builds.
2024-10-10 16:28:15 +02:00
Jorge Martin Espinosa
7035222f35 Add the CallWebView logs to our logging stack (#3637)
* Add the `CallWebView` logs to our logging stack

---

Co-Authored by @bmarty
2024-10-10 14:12:47 +00:00
Jorge Martin Espinosa
e44b5ad98d Upgrade Kotlin to v2.0 (#3594)
* Bump Kotlin to v2.0

* Fix lots of issues due to the upgrade: lint issues, function signature incompatibilities, broken tests, etc.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-10 08:32:00 +00:00
Benoit Marty
bea40cbe21 Merge pull request #3633 from element-hq/feature/bma/qrCodeNotice
QrCode intro screen: add subtitle and fix button wording #3632
2024-10-09 12:25:21 +02:00
Benoit Marty
f35ed529f2 Fix test 2024-10-09 11:44:58 +02:00
ganfra
f43c92723b Merge pull request #3631 from element-hq/feature/fga/rework_room_summary
Rework room summary
2024-10-09 11:44:45 +02:00
Benoit Marty
ad5ef27f2b QrCode intro screen: add subtitle and fix button wording #3632 2024-10-09 10:20:56 +02:00
ganfra
bd59d115e6 misc : rework getRoomInfoFlow (by using getRoomSummaryFlow) 2024-10-08 21:36:38 +02:00
ganfra
d73b1bad91 misc : remove direct usage of RoomSummary in UI and let RoomSummary use RoomInfo. 2024-10-08 21:34:34 +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