Commit Graph

3239 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
ce91fe4ab2 Resolve display names in mentions in real time (#3051)
* Resolve display names in mentions in real time

* Use `LocalRoomMemberProfilesCache` to avoid having to implement `TextMessagePresenter`

* Also use local composition provider for `MentionSpanProvider`
2024-06-21 09:57:36 +00:00
Benoit Marty
5f32643af4 Create extension RoomMember.getAvatarData to avoid code duplication. 2024-06-20 17:51:35 +02:00
Benoit Marty
62d05f2907 Use extension 2024-06-20 17:47:13 +02:00
Benoit Marty
b122c2c0a0 Code simplification. 2024-06-20 16:21:56 +02:00
Benoit Marty
7cdcf872b3 Create extension RoomSummaryDetails.getAvatarData to avoid code duplication. 2024-06-20 16:16:55 +02:00
Benoit Marty
9f7f0b9acb Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty
84f42537b8 Use ImmutableList in Composable. 2024-06-20 15:56:33 +02:00
Benoit Marty
2ee3763890 Fix test. 2024-06-20 15:56:33 +02:00
Benoit Marty
0b9f5a5214 Add enum Suggestion instead of reusing TimelineRoom 2024-06-20 15:00:26 +02:00
Benoit Marty
042ba6b35e Use heroes to render room avatars 2024-06-20 14:14:05 +02:00
Benoit Marty
8aa7afd480 Add preview and fix rendering issue. 2024-06-20 13:15:32 +02:00
Benoit Marty
11e4ee34ed Use heroes to render room avatars 2024-06-20 13:10:25 +02:00
Benoit Marty
ff63755165 Add enum EditProfileDetails instead of reusing RoomHeader 2024-06-20 11:43:15 +02:00
ganfra
e93a41a5b5 Merge branch 'develop' into feature/fga/sending_queue_iteration 2024-06-19 13:54:24 +02:00
ganfra
a12fa8d8a4 Sending : copy link action should be available only for remote event 2024-06-19 12:06:37 +02:00
ganfra
a92ce8d004 Sending queue : reintroduce failed status for unrecoverable error 2024-06-19 11:32:04 +02:00
Benoit Marty
971f092294 Fix UI test and add missing test. 2024-06-18 16:22:07 +02:00
Benoit Marty
83f279ec81 Use receiver. 2024-06-18 15:54:45 +02:00
Benoit Marty
ce5b9e034a Allow scroll in the "Enter recovery key" screen. #3042 2024-06-18 15:42:07 +02:00
Benoit Marty
08c3af5e05 Add missing preview 2024-06-18 14:47:47 +02:00
Benoit Marty
e4bfc5ef8f Merge pull request #3035 from element-hq/feature/bma/fixFdroidNotification
Feature/bma/fix fdroid notification
2024-06-18 12:55:27 +02:00
Jorge Martin Espinosa
fcbc095064 Improve how active calls work (#3029)
* Improve how active calls work:

- Sending the `m.call.notify` event is now done in `CallScreenPresenter` once we know the sync is running.
- You can mark a call of both external url or room type as joined.
- Hanging up checks the current active call type and will only remove it if it matches.
2024-06-18 12:07:08 +02:00
ganfra
93ccf07ad4 Merge pull request #3037 from element-hq/feature/fga/timeline_cancelable_focus
Feature/fga/timeline cancelable focus
2024-06-18 10:59:54 +02:00
Benoit Marty
83bfa3d9fc Update test after merging develop. 2024-06-18 10:33:07 +02:00
Benoit Marty
1d5970adbc Merge branch 'develop' into feature/bma/fixFdroidNotification 2024-06-18 10:28:04 +02:00
Benoit Marty
038b60a271 Merge pull request #3044 from element-hq/feature/bma/testDefaultClearCacheUseCase
Add test on DefaultClearCacheUseCase
2024-06-18 10:27:45 +02:00
Jorge Martin Espinosa
feef0f6976 Add full screen intent permissions banner (#3024)
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
    - Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
    - Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-18 07:41:10 +00:00
Benoit Marty
8dbb55180f Remove trailing line. 2024-06-17 18:58:07 +02:00
Benoit Marty
ff201c6412 Fix test compilation issue. 2024-06-17 17:38:10 +02:00
Benoit Marty
059c0dfe59 Fix back navigation issue, when opening directly the notification troubleshoot screen. 2024-06-17 16:53:21 +02:00
Benoit Marty
2e8b63c006 Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00
Benoit Marty
4a885769be Add test on DefaultClearCacheUseCase 2024-06-17 16:01:56 +02:00
Benoit Marty
64433ea209 Move InMemoryMigrationScreenStore to a test module. 2024-06-17 15:26:50 +02:00
Benoit Marty
feb6930222 Rename member. 2024-06-17 15:18:22 +02:00
Benoit Marty
f1229c582d Create test module with FakeFtueService 2024-06-17 15:12:08 +02:00
Benoit Marty
cb07ccdeb9 Add test on DefaultFtueService.reset(). 2024-06-17 15:04:20 +02:00
Benoit Marty
2b062f217b Rename method and val. 2024-06-17 14:56:56 +02:00
Benoit Marty
4b57c78a57 Rename member. 2024-06-17 14:48:52 +02:00
Benoit Marty
26fd24b341 Move setIgnoreRegistrationError call. 2024-06-17 14:48:51 +02:00
Benoit Marty
366d6c017d Add ability to not show the pusher registration again. 2024-06-17 11:38:32 +02:00
bmarty
7b27ba116d Sync Strings from Localazy 2024-06-17 00:23:40 +00:00
ganfra
56251f805c Timeline : let FocusOnEvent be cancellable and refactor a bit focus states. 2024-06-14 19:07:44 +02:00
ganfra
4f3cb5a1e5 Progress dialog : add dialog properties parameter 2024-06-14 18:59:42 +02:00
Benoit Marty
714147eb0d Merge pull request #3030 from element-hq/feature/bma/codeCleanup
Code cleanup and store badges
2024-06-14 15:15:01 +02:00
Benoit Marty
154216f4df Fix test present - notification settings set custom 2024-06-14 13:41:37 +02:00
Benoit Marty
6a7d6fa631 Fix wrong dependency.
implementation -> testImplementation
2024-06-14 10:29:59 +02:00
Benoit Marty
69ffed5e2b Fix formatting issue. 2024-06-13 18:20:19 +02:00
Benoit Marty
4a84350261 Remove empty manifest files. 2024-06-13 18:20:19 +02:00
Benoit Marty
580622da9a Move MAX_LOG_UPLOAD_SIZE to RageshakeConfig 2024-06-13 18:20:19 +02:00
Benoit Marty
a6fe0ddc9b Move rageshake configuration from resource file to Kotlin RageshakeConfig 2024-06-13 18:20:19 +02:00