Commit graph

3256 commits

Author SHA1 Message Date
Benoit Marty
4c77201a4e Fix quality issue and add tests. 2024-06-26 11:59:44 +02:00
Benoit Marty
1b72221df7 Add first EnterpriseService. 2024-06-26 11:59:41 +02:00
Benoit Marty
e7f7493ad0
Merge pull request #3083 from element-hq/feature/bma/filterAutoScroll
Improve room filtering behavior.
2024-06-26 09:46:44 +02:00
Jorge Martin Espinosa
40b7736fcf
Use IO dispatcher for cleanup in bug reporter (#3092) 2024-06-25 09:26:18 +00:00
Jorge Martin Espinosa
ce28a05467
Replace the 'answer' PendingIntent in ringing call notifications (#3093)
* Replace the 'answer' PendingIntent in ringing call notifications

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

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-06-25 10:36:29 +02:00
Benoit Marty
c0a6bcf2f7 Cleanup 2024-06-24 16:05:43 +02:00
Benoit Marty
6589fef196 Improve room filtering behavior. 2024-06-24 15:36:23 +02:00
Benoit Marty
e999120864 Let role and permissions screens works for invited room members too. 2024-06-24 13:21:46 +02:00
Benoit Marty
d14b9de8c9 Fix format issue. 2024-06-24 12:03:38 +02:00
Benoit Marty
315392d8ef Improve the way we cut the bubble layout to give space for the sender Avatar.
Instead of drawing a circle with the same color of the background behind the avatar, properly clear the top start corner of the bubble using `CompositingStrategy.Offscreen` and `BlendMode.Clear`.
2024-06-24 11:21:43 +02:00
Benoit Marty
010a90f9ff
Merge pull request #3069 from element-hq/feature/bma/avatarCluster_x2
Avatar cluster for DM
2024-06-24 10:53:50 +02:00
Benoit Marty
5ccaeea286 Rename field of RoomDetailsType.Dm for clarity 2024-06-24 10:53:24 +02:00
ElementBot
fd6bcb7857
Sync Strings (#3077)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
Benoit Marty
8f3fbe70f8 Create TitleAndSubtitle to reduce code duplication and add badges to DM. 2024-06-21 16:13:07 +02:00
Benoit Marty
da1f8cd465 Use DmAvatars in header of DM details. 2024-06-21 15:55:01 +02:00
Benoit Marty
76add1fff1 Extract MainActionsSection from the when cases, since this is code duplication. 2024-06-21 15:45:22 +02:00
Benoit Marty
17d2d7b0d7 Fix issue in avatar rendering and add a preview. 2024-06-21 15:45:22 +02:00
Jorge Martin Espinosa
310a7fc229
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
cea7dce432 Create extension RoomMember.getAvatarData to avoid code duplication. 2024-06-20 17:51:35 +02:00
Benoit Marty
1f3468986c Use extension 2024-06-20 17:47:13 +02:00
Benoit Marty
98f218a2b3 Code simplification. 2024-06-20 16:21:56 +02:00
Benoit Marty
7d0323d708 Create extension RoomSummaryDetails.getAvatarData to avoid code duplication. 2024-06-20 16:16:55 +02:00
Benoit Marty
33c76dfd2d Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty
a2ff1dc933 Use ImmutableList in Composable. 2024-06-20 15:56:33 +02:00
Benoit Marty
09f3868b53 Fix test. 2024-06-20 15:56:33 +02:00
Benoit Marty
a9f23c06b0 Add enum Suggestion instead of reusing TimelineRoom 2024-06-20 15:00:26 +02:00
Benoit Marty
99c90f1ced Use heroes to render room avatars 2024-06-20 14:14:05 +02:00
Benoit Marty
0754404aed Add preview and fix rendering issue. 2024-06-20 13:15:32 +02:00
Benoit Marty
ad02e05bf4 Use heroes to render room avatars 2024-06-20 13:10:25 +02:00
Benoit Marty
a0f21d0b63 Add enum EditProfileDetails instead of reusing RoomHeader 2024-06-20 11:43:15 +02:00
ganfra
b874d3e38c
Merge branch 'develop' into feature/fga/sending_queue_iteration 2024-06-19 13:54:24 +02:00
ganfra
72dc9394ed Sending : copy link action should be available only for remote event 2024-06-19 12:06:37 +02:00
ganfra
0e94771f03 Sending queue : reintroduce failed status for unrecoverable error 2024-06-19 11:32:04 +02:00
Benoit Marty
cc57652e55 Fix UI test and add missing test. 2024-06-18 16:22:07 +02:00
Benoit Marty
cd9f3ad3fb Use receiver. 2024-06-18 15:54:45 +02:00
Benoit Marty
47856c22ce Allow scroll in the "Enter recovery key" screen. #3042 2024-06-18 15:42:07 +02:00
Benoit Marty
c6f5033661 Add missing preview 2024-06-18 14:47:47 +02:00
Benoit Marty
7b5e7c4c00
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
2e32adf1f1
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
2b5ea96110
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
f09b77f72f Update test after merging develop. 2024-06-18 10:33:07 +02:00
Benoit Marty
69dbb08034
Merge branch 'develop' into feature/bma/fixFdroidNotification 2024-06-18 10:28:04 +02:00
Benoit Marty
849f64f4aa
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
b741c32e91
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
9349f1bf6a Remove trailing line. 2024-06-17 18:58:07 +02:00
Benoit Marty
e12f723ff7 Fix test compilation issue. 2024-06-17 17:38:10 +02:00
Benoit Marty
1f8b525548 Fix back navigation issue, when opening directly the notification troubleshoot screen. 2024-06-17 16:53:21 +02:00
Benoit Marty
5180ce388c Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00
Benoit Marty
b916aee958 Add test on DefaultClearCacheUseCase 2024-06-17 16:01:56 +02:00
Benoit Marty
efa7a2d046 Move InMemoryMigrationScreenStore to a test module. 2024-06-17 15:26:50 +02:00