Commit graph

425 commits

Author SHA1 Message Date
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
Jorge Martin Espinosa
48bb0f4122
Add room badges (#2822)
* Add room badges

* Remove no longer used `onShareRoomMember` callback

* Update screenshots

* Add changelog

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-09 08:38:40 +02:00
Jorge Martin Espinosa
5dddda64d1
UX cleanup: DM details screen (#2820)
* UX cleanup: user profile.

- Move send DM to a CTA button.
- Add 'Call' CTA button too when there is a DM with that user and a call is possible.
- Add missing tests.

* Update screenshots

* Add tests for clicking on the avatar

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-08 16:05:02 +02:00
Jorge Martin Espinosa
0bbb107dea
UX cleanup: DM details screen (#2817)
* UX cleanup: DM details screen

Reuse `MainActionsSection` for DMs too, hiding the Share CTA in that case.

* Update screenshots

* Fix tests

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-08 12:49:44 +02:00
Jorge Martin Espinosa
46b22d7db7
UX cleanup: room details (#2816)
* UX cleanup: room details screen

Add new CTA buttons for Invite and Call actions

* Update screenshots

* Fix maestro

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-08 11:42:33 +02:00
bmarty
68fdaef8b8 Sync Strings from Localazy 2024-05-06 00:19:35 +00:00
Benoit Marty
0476bd95c8 Open user profile and room with event from permalink 2024-05-02 12:25:21 +02:00
bmarty
4f82baa2b0 Sync Strings from Localazy 2024-04-29 00:18:59 +00:00
Benoit Marty
74a9a54719 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
Benoit Marty
290a05439e Fix test. 2024-04-18 00:44:34 +02:00
Benoit Marty
8327ea306f Increase usage of RoomAlias 2024-04-18 00:02:22 +02:00
Benoit Marty
5b3a2d8eca Use produceState and fetch profile only if necessary. 2024-04-17 16:15:36 +02:00
Benoit Marty
f9d3f947c2 Add missing test for unblock user with error. 2024-04-17 14:44:16 +02:00
Benoit Marty
3f0159d438 Format 2024-04-17 14:01:03 +02:00
Benoit Marty
4d50e43e85 Add test covering fallback to user profile. 2024-04-17 13:42:29 +02:00
Benoit Marty
0dba614c0a createRoomMemberDetailsPresenter just need a UserId. 2024-04-17 13:35:16 +02:00
Benoit Marty
c9d5961684 RoomMemberDetailsPresenter: fallback to user profile data if the user is not a member of the room.
This can be displayed when the user click on a non-member user permalink.
2024-04-17 13:21:52 +02:00
Benoit Marty
f2ff326938 Observe ignoredUsersFlow to have live data about blocked user.
This will also ensure that blocking a user will work even if the user is not a member of the room (preparatory work for user permalink)
2024-04-17 13:21:52 +02:00
Benoit Marty
9fcb880f1d Fix formatting issue. 2024-04-15 17:04:33 +02:00
Benoit Marty
b1cb24a883 Use Node scope instead of UI scope. 2024-04-15 17:02:27 +02:00
Benoit Marty
294f1f2d96 Use SDK API to build room and event permalinks. 2024-04-15 16:05:12 +02:00
bmarty
8f6a1b410e Sync Strings from Localazy 2024-04-15 11:40:19 +00:00
Benoit Marty
810e4919bc Sync strings. 2024-04-10 12:36:41 +02:00
Jorge Martin Espinosa
cf072fa1e1
Improve session recovery screens (#2657)
* Improve enter recovery key screen UI

* Add instructions to reset the encryption of the logged in account.

* Update screenshots

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:01:06 +00:00