Commit Graph

6663 Commits

Author SHA1 Message Date
Benoit Marty
f8a490f734 Add missing preview case. 2024-04-30 09:51:29 +02:00
Benoit Marty
1ffc92380d Cleanup 2024-04-30 09:50:21 +02:00
Benoit Marty
c1568e3ce8 Remove unnecessary parenthesis 2024-04-30 09:47:20 +02:00
Valere
9e92b1b408 Update changelog 2024-04-30 09:34:02 +02:00
Valere
37fee97c65 test for utd cause 2024-04-30 09:30:05 +02:00
Benoit Marty
525c8cbc69 Clearer code. 2024-04-26 17:21:11 +02:00
Benoit Marty
138f4d9525 Compact code. 2024-04-26 17:21:11 +02:00
Benoit Marty
fdb13ebca5 Create proper PreviewParameterProvider for TimelineItemEncryptedContent
And remove `@Suppress("UNUSED_PARAMETER")`
2024-04-26 17:21:11 +02:00
Valere
808bbf33a4 Expected UTDs due to membership support 2024-04-26 17:21:10 +02:00
Benoit Marty
bb78c2b22d Merge pull request #2758 from element-hq/feature/bma/logRotation
Let the SDK manage the file log cleanup, and keep one week of log.
2024-04-26 17:14:21 +02:00
Benoit Marty
b9a2d06131 Merge pull request #2756 from element-hq/renovate/com.google.testparameterinjector-test-parameter-injector-1.x
Update dependency com.google.testparameterinjector:test-parameter-injector to v1.16
2024-04-26 16:52:33 +02:00
Benoit Marty
a3b327d033 Stop using deprecated TestParameter.TestParameterValuesProvider 2024-04-26 12:45:26 +02:00
Benoit Marty
a370f7a1c8 Changelog 2024-04-26 12:36:21 +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
renovate[bot]
c31be93028 Update dependency com.google.testparameterinjector:test-parameter-injector to v1.16 2024-04-26 10:18:41 +00:00
Benoit Marty
76cedafeb7 Merge pull request #2730 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.16
2024-04-26 10:17:25 +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
renovate[bot]
233a341bac Update dependency org.matrix.rustcomponents:sdk-android to v0.2.16 2024-04-25 16:00:52 +00:00
Benoit Marty
6a323d5dde Merge pull request #2753 from element-hq/feature/bma/removeFlagRoomListFilters
Remove flag RoomListFilters.
2024-04-25 17:19:16 +02:00
Benoit Marty
7a7207d940 Fix compilation of minimal. 2024-04-25 16:57:45 +02:00
ElementBot
e177d7d734 Update screenshots 2024-04-25 14:03:20 +00: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
5579119f2e Merge pull request #2752 from element-hq/feature/bma/blockOpeningSpace
Block opening space
2024-04-25 14:28:28 +02:00
ElementBot
d70acbc499 Update screenshots 2024-04-25 10:49:05 +00: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
354e0df824 Use Dash avatar for room with no name and no avatar. 2024-04-25 09:50:51 +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
871265117a Add a preview with the minimum available data. 2024-04-25 09:49:05 +02:00
Benoit Marty
9adbf6c811 Introduce RoomType 2024-04-25 09:49:05 +02:00
Benoit Marty
a7a8d97188 i18n 2024-04-25 09:49:04 +02:00
Benoit Marty
7f0417a663 Merge pull request #2741 from element-hq/feature/bma/removeRoomFlowNodeLoading
Iterate on `loadingNode` to render the same way JoinRoomView will render
2024-04-25 09:34:49 +02:00
Benoit Marty
6464609779 Merge pull request #2750 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.1.18
2024-04-24 16:30:35 +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
renovate[bot]
99d7995a80 Update dependency com.posthog:posthog-android to v3.1.18 2024-04-24 12:18:39 +00: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
1db515ee17 Please KtLint 2024-04-24 13:28:52 +02:00
Benoit Marty
b71a967c0e Remove dead code. 2024-04-24 13:28:11 +02:00
Benoit Marty
8d0aa68f9a Add KDoc. 2024-04-24 13:26:27 +02:00
Benoit Marty
46544b1b45 Code quality. 2024-04-24 11:40:09 +02:00
Benoit Marty
06756c33ed Changelog 2024-04-24 11:38:19 +02:00
ElementBot
8cfa40f21a Update screenshots 2024-04-24 11:17:23 +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