Commit graph

448 commits

Author SHA1 Message Date
bmarty
32c5da898b Sync Strings from Localazy 2024-07-01 00:22:10 +00: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
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
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
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
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
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
bmarty
9288b90ac6 Sync Strings from Localazy 2024-06-17 00:23:40 +00:00
Benoit Marty
11d853bcca Fix test present - notification settings set custom 2024-06-14 13:41:37 +02:00
Benoit Marty
c98863a70e Ensure that setting change is taken at least 300ms to avoid dialog flickering (#1647) 2024-06-12 12:50:56 +02:00
Benoit Marty
aef6f14ebf Rename Event for clarity 2024-06-12 12:50:55 +02:00
Benoit Marty
756905b9cd
Merge pull request #3000 from element-hq/sync-localazy
Sync Strings
2024-06-11 15:16:55 +02:00
Jorge Martin Espinosa
30a1367714
Element Call ringing notifications (#2978)
- Add `ActiveCallManager` to handle incoming and ongoing calls.
- Add ringing call notifications with full screen intents and missed call ones as part of the 'conversation' notifications.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-10 11:51:19 +02:00
bmarty
f3d286911c Sync Strings from Localazy 2024-06-10 00:17:04 +00:00
Benoit Marty
71ea2a79c6 Rename parameter roomId to dmRoomId for clarity. 2024-06-03 18:24:03 +02:00
Benoit Marty
de36552f93 Analytics: track interaction Interaction.Name.MobileRoomCallButton 2024-06-03 18:19:12 +02:00
bmarty
66636ea967 Sync Strings from Localazy 2024-06-03 00:24:07 +00:00
Benoit Marty
ec8cb2e32f Change Test class suffix. 2024-05-30 10:11:18 +02:00
Benoit Marty
7348f74702 Fix performance issue reported by Konsist test Sealed interface used in Composable MUST be Immutable or Stable 2024-05-29 18:05:03 +02:00
Benoit Marty
f5a0e83cb2
Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
ca5bc71057 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
Benoit Marty
37d9a9f5a9 Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty
d0b2233a7b
Merge pull request #2922 from element-hq/feature/bma/iterateOnPreferenceDesign2
Iterate on preference design
2024-05-28 00:36:28 +02:00
Benoit Marty
b3e0f6e843 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty
34f7819702 Let Preference composables use ListItem.
Let PreferenceCheckbox use ListItem and add missing previews.
Let PreferenceCategory use ListSectionHeader
Let PreferenceSlide use ListItem
Let PreferenceRow use ListItem
Let PreferenceText use ListItem
2024-05-27 12:19:10 +02:00
bmarty
f24e537580 Sync Strings from Localazy 2024-05-27 00:17:53 +00:00
bmarty
83a8a631f2 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
Benoit Marty
5ab96c3bdc Do not use MutableState in Composable function parameter. 2024-05-15 18:05:08 +02:00
Benoit Marty
c3caff0a1f Remove some keys for remember saveButtonEnabled. 2024-05-15 17:58:14 +02:00
Benoit Marty
7f5a3b788c Ignore some non-passing test for now. 2024-05-15 17:10:59 +02:00
Benoit Marty
193081a554 Migrate AvatarActionBottomSheet to Material3 BottomSheet
Also correctly handle the back press when this bottom sheet is opened, previously it was leaving the room edition screen.
ModalBottomSheetLayout can now be deleted.
2024-05-15 16:20:47 +02:00
Benoit Marty
1710671f06 Add UI test on RoomDetailsEditView 2024-05-15 15:19:46 +02:00
Benoit Marty
04537bc684 Fix tests. 2024-05-15 11:56:12 +02:00
Benoit Marty
ef28cf314e Move aMatrixRoom to its own file, since it's used by several test classes. 2024-05-15 11:31:30 +02:00
Benoit Marty
e6badb1e04 Use rawName instead of displayName in RoomDetailsEditPresenter #2844 2024-05-15 11:24:09 +02:00
Benoit Marty
a4c4d6d804 Avoid using copy in RoomDetailsEditStateProvider 2024-05-15 10:10:48 +02:00
Benoit Marty
4b720f90b7 Rename parameter since it can reference a userId or a roomId 2024-05-15 09:25:59 +02:00
Benoit Marty
cf0da56bb8 Change type of roomId from String to RoomId 2024-05-15 09:23:30 +02:00
Benoit Marty
cbc3971434
Merge pull request #2834 from element-hq/sync-localazy
Sync Strings
2024-05-14 11:50:05 +02:00
Jorge Martin Espinosa
f2f96e0e0a
Bump Rust SDK to v0.2.18 and bump app version (#2836)
* Adapt to changes in SDK:
    - Remove name from MatrixRoom, we should use displayName instead.
    - Remove separate invites room list.
    - Added runBlocking to get the now async NotificationClient from the Rust SDK.
    - Made some other functions suspend.
    - Client.resolveRoomAlias now returns a roomId and via parameters, we pass the roomId.

* Add logs removal migration again as `AppMigration03` to make sure we don't leak private data in existing logs.

* Bump app version to `0.4.12`
2024-05-13 16:48:23 +02:00
bmarty
0910da0a14 Sync Strings from Localazy 2024-05-13 12:47:48 +00:00