Commit graph

6645 commits

Author SHA1 Message Date
Benoit Marty
1a64901ee0 SDK 0.2.16: fix compilation issue 2024-04-26 09:11:30 +02:00
renovate[bot]
198c45d016
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.16 2024-04-25 16:00:52 +00:00
Benoit Marty
1fc01c91c2
Merge pull request #2753 from element-hq/feature/bma/removeFlagRoomListFilters
Remove flag RoomListFilters.
2024-04-25 17:19:16 +02:00
Benoit Marty
25751efbbe Fix compilation of minimal. 2024-04-25 16:57:45 +02:00
ElementBot
5f4f7b9435 Update screenshots 2024-04-25 14:03:20 +00:00
Benoit Marty
268c196e35 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
7397df806b
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
6219190ef1
Merge pull request #2752 from element-hq/feature/bma/blockOpeningSpace
Block opening space
2024-04-25 14:28:28 +02:00
ElementBot
0e00700644 Update screenshots 2024-04-25 10:49:05 +00:00
Benoit Marty
5951182bdf Fix issue when building previews, roomId must be unique 2024-04-25 12:39:25 +02:00
Benoit Marty
8272b7a16c Use fallback name in this case. 2024-04-25 12:29:44 +02:00
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
3d29d8729a Move fun aRoomSummaryDetails() to a regular Preview Provider 2024-04-25 10:10:55 +02:00
Benoit Marty
8f7b064773 Use Dash avatar for room with no name and no avatar. 2024-04-25 09:50:51 +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
b175c2d2c3 Add a preview with the minimum available data. 2024-04-25 09:49:05 +02:00
Benoit Marty
d4b7f01a06 Introduce RoomType 2024-04-25 09:49:05 +02:00
Benoit Marty
0140c8982e i18n 2024-04-25 09:49:04 +02:00
Benoit Marty
9a780cd71b
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
492b0120f8
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
1de6797673
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
a27afafb88
Merge pull request #2749 from element-hq/feature/bma/appMigration
Application migration
2024-04-24 14:22:12 +02:00
renovate[bot]
d5b13704cd
Update dependency com.posthog:posthog-android to v3.1.18 2024-04-24 12:18:39 +00:00
Benoit Marty
3438b9872d
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
11aa5bbfd5 Please KtLint 2024-04-24 13:28:52 +02:00
Benoit Marty
7785e45c16 Remove dead code. 2024-04-24 13:28:11 +02:00
Benoit Marty
124638c7a7 Add KDoc. 2024-04-24 13:26:27 +02:00
Benoit Marty
cbbda81419 Code quality. 2024-04-24 11:40:09 +02:00
Benoit Marty
768d7c88bb Changelog 2024-04-24 11:38:19 +02:00
ElementBot
ab2c82498d Update screenshots 2024-04-24 11:17:23 +02:00
Benoit Marty
7bbcb719d5 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
1ffa6c541e Iterate on loadingNode to render the same way JoinedRoomFlowNode / Loading will render. 2024-04-23 18:37:37 +02:00
Benoit Marty
a68e290aab Ensure that Konsist tests are run. 2024-04-23 18:36:19 +02:00
Benoit Marty
8637a97cac
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
c185f0c1c0 Format 2024-04-23 14:09:32 +02:00
Benoit Marty
e1df7223bb
Merge pull request #2743 from element-hq/feature/bma/fixSettingCrash
Handle properly the migration of DefaultSessionPreferencesStore #2742
2024-04-23 14:01:06 +02:00
Benoit Marty
d06ec9099b Add Ui test on DeveloperSettingsView 2024-04-23 13:55:28 +02:00
Benoit Marty
320e7145ca Handle properly the migration of DefaultSessionPreferencesStore #2742 2024-04-23 11:51:13 +02:00
ElementBot
ec730c6368 Update screenshots 2024-04-22 16:54:15 +00:00
Benoit Marty
06f07f906a fix bad userId 2024-04-22 18:05:26 +02:00
Benoit Marty
12cd1ce5ee Fix test 2024-04-22 16:56:31 +02:00
Benoit Marty
d1fdbeb8bb Import string. 2024-04-22 16:23:19 +02:00
Benoit Marty
c3f9d37b0b Fix test compilation issue. 2024-04-22 16:23:19 +02:00
Benoit Marty
644eebc6e4 Private 2024-04-22 16:23:18 +02:00
Benoit Marty
5914ec04da Format 2024-04-22 16:23:18 +02:00
Benoit Marty
bcbd989ec0 Reply: render sender name of replied event on 1 line only. 2024-04-22 16:23:18 +02:00
Benoit Marty
237ba3d727 Improve display name disambiguation rendering #2722 2024-04-22 16:23:17 +02:00
Benoit Marty
8524e3626e Add Timeline item and reply preview with ambiguous display name 2024-04-22 16:23:17 +02:00
Benoit Marty
f9c8c8aa21 Fix test 2024-04-22 16:23:17 +02:00