Commit Graph

2423 Commits

Author SHA1 Message Date
Valere
37fee97c65 test for utd cause 2024-04-30 09:30:05 +02:00
Valere
808bbf33a4 Expected UTDs due to membership support 2024-04-26 17:21:10 +02:00
Benoit Marty
9f2e8d44ce Let the SDK manage the file log cleanup, and keep one week of log. 2024-04-26 12:33:20 +02:00
Benoit Marty
60b8761a4a Fix test on UtdTrackerTest 2024-04-26 09:22:08 +02:00
Benoit Marty
4897552e2d Fix false positive
A single Unit expression is unnecessary and can safely be removed. [OptionalUnit]
2024-04-26 09:17:22 +02:00
Benoit Marty
6f2507f517 SDK 0.2.16: fix compilation issue 2024-04-26 09:11:30 +02:00
Benoit Marty
2b121d97ac Remove flag RoomListFilters.
This is also fixing the filter reset issue when going back to the room list.
2024-04-25 15:55:29 +02:00
Jorge Martin Espinosa
fe9b3f7cdb Always display 'lost recovery key?' option (#2745)
* Always display 'lost recovery key?' option

* Use `isLastDevice` it to display only 'enter recovery key' option for verification.

* Update strings. This should fix the wrong term 'passcode' being used in the recovery key screen title.

* Disable 'lost your recovery key?' button while the screen is in a loading state

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-25 15:28:24 +02:00
Benoit Marty
15652d97e5 Fix issue when building previews, roomId must be unique 2024-04-25 12:39:25 +02:00
Benoit Marty
b5537895b5 Use fallback name in this case. 2024-04-25 12:29:44 +02:00
Benoit Marty
f1a31e3b3c 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
610caf6d90 Move fun aRoomSummaryDetails() to a regular Preview Provider 2024-04-25 10:10:55 +02:00
Benoit Marty
49439034e4 Add screen to render Spaces (they are not supported yet) 2024-04-25 09:50:51 +02:00
Benoit Marty
1ed593926f Avoid rendering roomId on screen. 2024-04-25 09:49:58 +02:00
Benoit Marty
9adbf6c811 Introduce RoomType 2024-04-25 09:49:05 +02:00
Jorge Martin Espinosa
2cc124bda2 Remove SessionData.needsVerification as the source of truth for session verification status (#2748)
* Remove `SessionData.needsVerification` as the source of truth for session verification status.

- Use the Rust SDK `EncryptionService.verificationState()` instead, but always waiting for the first 'known' result (either verified or not, discarding 'unknown').
- Add a workaround in the super rare case when reading this value gets stuck somehow. We'll assume the user is not verified in that case.
- Make `DefaultFtueService.getNextStep` and dependent checks `suspend`.
- Make the `skip` button use a value in the session preferences instead.

* Log exception when the verification status can't be loaded

Co-authored-by: Benoit Marty <benoit@matrix.org>

* Fix review comments

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-04-24 13:55:25 +00:00
Benoit Marty
c83712ca91 Merge pull request #2749 from element-hq/feature/bma/appMigration
Application migration
2024-04-24 14:22:12 +02:00
Benoit Marty
41de39bac3 Merge pull request #2744 from element-hq/feature/bma/testPreferenceTextField
Add Ui test on DeveloperSettingsView
2024-04-24 14:17:12 +02:00
Benoit Marty
f6b5b8419b Implement a migration mechanism to handle internal stuff which need to occur during application upgrade.
Remove VectorFileLogger, it was dead code.
2024-04-24 11:17:23 +02:00
Benoit Marty
5fc95f56ab Merge pull request #2739 from element-hq/feature/bma/displayNameInStateEvent
Display name in state event and improve display name disambiguation rendering
2024-04-23 14:12:33 +02:00
Benoit Marty
c326683be9 Add Ui test on DeveloperSettingsView 2024-04-23 13:55:28 +02:00
Benoit Marty
217ceff9f7 Handle properly the migration of DefaultSessionPreferencesStore #2742 2024-04-23 11:51:13 +02:00
Benoit Marty
5cc4d99679 Fix test 2024-04-22 16:56:31 +02:00
Benoit Marty
ca3406c0f0 Import string. 2024-04-22 16:23:19 +02:00
Benoit Marty
9e59c8a854 Reply: render sender name of replied event on 1 line only. 2024-04-22 16:23:18 +02:00
Benoit Marty
e26fe58fd3 Improve display name disambiguation rendering #2722 2024-04-22 16:23:17 +02:00
Benoit Marty
de2fb77fdc Fix test 2024-04-22 16:23:17 +02:00
Benoit Marty
7dfdf45c6e Fix test compilation issue. 2024-04-22 16:23:16 +02:00
Benoit Marty
7681a892b1 Use display name in state event rendering #2722 2024-04-22 16:23:16 +02:00
Benoit Marty
ffc3e03995 Use aProfileTimelineDetails() 2024-04-22 16:23:16 +02:00
Benoit Marty
188f92fecc Format state Event: use disambiguated Display name #2722.
- Rename some parameter and val from `senderDisplayName` (and consort) to `senderDisambiguatedDisplayName`.
- In `InReplyToDetails`, replace `senderDisplayName` and `senderAvatarUrl` by `senderProfile`.
2024-04-22 16:23:15 +02:00
Benoit Marty
d7f0d23634 Merge pull request #2733 from element-hq/feature/bma/disableKnock
Disable knock
2024-04-22 16:22:48 +02:00
bmarty
e37cbad059 Sync Strings from Localazy 2024-04-22 00:18:11 +00:00
Benoit Marty
875890f503 Move OnboardingBackground to a sub package 2024-04-19 18:11:14 +02:00
Benoit Marty
7133b821db Fix missing background issue. 2024-04-19 18:11:14 +02:00
Benoit Marty
70d7b5a61f Implement Knock action (until the SDK level) 2024-04-19 18:11:13 +02:00
Benoit Marty
025c6294c2 Change API MatrixClient.joinRoom(roomId: RoomId): Result<RoomId> to MatrixClient.joinRoom(roomId: RoomId): Result<Unit> 2024-04-19 18:11:13 +02:00
Benoit Marty
0938935d16 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
Benoit Marty
3a5c6fbb5a Update doc. 2024-04-18 20:13:10 +02:00
Benoit Marty
8f741aabcc Apply Gradient Background to JoinRoomView and RoomAliasResolverView. 2024-04-18 17:47:20 +02:00
Benoit Marty
f10419231d Gradient Background 2024-04-18 17:32:06 +02:00
Benoit Marty
9c0d1cfdeb Use now available SDK API. 2024-04-18 15:45:48 +02:00
Benoit Marty
41bdd394b4 Fix vertical alignment. 2024-04-18 15:22:30 +02:00
Benoit Marty
bfd91c4934 Let JoinRoomView render the InviteSender 2024-04-18 15:19:03 +02:00
Benoit Marty
866bfed218 Move InviteSender to :library:matrixui module. 2024-04-18 15:00:49 +02:00
Benoit Marty
b7e23aea87 Fix padding issue on RoomPreviewMembersCountMolecule 2024-04-18 11:35:54 +02:00
Benoit Marty
30e0478cc0 Please ktlint 2024-04-18 10:57:18 +02:00
Benoit Marty
689d1a50de Readability 2024-04-18 09:04:06 +02:00
Benoit Marty
8b7cc40c29 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
7eae4d28ef Fix test. 2024-04-18 00:56:46 +02:00