bmarty
f501f27d27
Sync Strings from Localazy
2024-06-03 00:24:07 +00:00
Benoit Marty
0e4b30e58d
Merge pull request #2941 from element-hq/sync-localazy
...
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
46b6ae6251
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
87689d787e
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
bbb44db297
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
bmarty
0241014932
Sync Strings from Localazy
2024-05-20 00:23:05 +00:00
Benoit Marty
d1a3daaa8e
Do not use MutableState in Composable function parameter.
2024-05-15 18:05:08 +02:00
Benoit Marty
6ffc6a1cd3
Extract content lambda.
2024-05-15 17:05:45 +02:00
Benoit Marty
bb48bb7531
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
fb7eb924d8
Add UI test on RoomDetailsEditView
2024-05-15 15:19:46 +02:00
Benoit Marty
a51a2df647
Use rawName instead of displayName in RoomDetailsEditPresenter #2844
2024-05-15 11:24:09 +02:00
Benoit Marty
9e519def63
EditUserProfileState.userId cannot be null.
...
It simplifies a bit the codebase.
2024-05-15 09:46:01 +02:00
Benoit Marty
49f74bf09a
Add preview for EditableAvatarView
2024-05-15 09:42:58 +02:00
Benoit Marty
f72e257a20
Rename parameter since it can reference a userId or a roomId
2024-05-15 09:25:59 +02:00
bmarty
602b3988e4
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
Jorge Martin Espinosa
b524645b89
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
Jorge Martin Espinosa
2559d26dc0
Adjust typography in SelectedUser component ( #2768 )
...
* Adjust typography in `SelectedUser` component
* Set 2 max lines for `SelectedUser` component.
Also update the theme token references.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-04-30 09:21:39 +00:00
Benoit Marty
f1a31e3b3c
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
610caf6d90
Move fun aRoomSummaryDetails() to a regular Preview Provider
2024-04-25 10:10:55 +02:00
bmarty
e37cbad059
Sync Strings from Localazy
2024-04-22 00:18:11 +00:00
Benoit Marty
0938935d16
Rename Preview to follow code convention
2024-04-19 14:30:45 +02:00
Benoit Marty
41bdd394b4
Fix vertical alignment.
2024-04-18 15:22:30 +02:00
Benoit Marty
bfd91c4934
Let JoinRoomView render the InviteSender
2024-04-18 15:19:03 +02:00
Benoit Marty
866bfed218
Move InviteSender to :library:matrixui module.
2024-04-18 15:00:49 +02:00
Benoit Marty
a602849ec5
Increase usage of RoomAlias
2024-04-18 00:02:22 +02:00
ganfra
bbb92bcc87
Merge pull request #2714 from element-hq/feature/fga/room_list_invites
...
[Feature] Room list invites
2024-04-17 23:04:31 +02:00
Benoit Marty
9b6ab9b484
Parse permalink using parseMatrixEntityFrom.
...
Create new PermalinkData type for link to Events.
Keep matrixToConverter for now to first convert to matrix.to link. At some point it may be done by the SDK.
Remove parse(Uri)
2024-04-15 17:47:40 +02:00
ganfra
2c6620a199
Room list : activate merged invites in Client
2024-04-15 16:58:07 +02:00
Benoit Marty
db3f17fd7d
Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module.
2024-04-02 14:15:54 +02:00
Jorge Martin Espinosa
1e0891bb68
Implement MSC2530 ( #2570 )
...
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`
---------
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com >
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com >
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-03-20 13:58:29 +01:00
Jorge Martin Espinosa
6a75be7bf0
Room admins can change user roles ( #2423 )
...
Allow Admins to modify room member roles:
- Add a 'roles and permissions' option for each room.
- Allow promoting users to admins, adding or removing moderators, and demote yourself if you're and admin.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-03-05 16:46:47 +00:00
Jorge Martin Espinosa
87823fe8a4
Sort the room member list and display member roles ( #2412 )
...
* Sort the room member list and display member roles
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-02-19 15:03:36 +00:00
ganfra
e00311a739
Merge branch 'develop' into feature/fga/mark_room_as_favorite
2024-02-15 10:16:43 +01:00
Jorge Martin Espinosa
973c57d401
Update Compound to v0.0.5 and update icons ( #2380 )
...
Update Compound to `v0.0.5`:
- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-02-12 16:41:58 +00:00
Benoit Marty
ca91b23512
Add ability mark as unread / mark as read a room.
2024-02-08 11:33:43 +01:00
renovate[bot]
f36d3cae89
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.96 ( #2323 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.96
* Fixes for the SDK upgrade
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-01-31 11:07:34 +00:00
Jorge Martin Espinosa
7686fbbd07
Make the whole items in advanced settings screen clickable, standarize paddings ( #2314 )
...
* Make sure the whole item in advanced settings screen triggers the toggle action
* Fix UI changes when setting `onChecked` actions to null.
* Fix padding in invite member list items
* Remove redundant `CheckableUserRow` alternatives.
* Use 4dp for padding instead
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-30 11:39:04 +00:00
Benoit Marty
fe0e82b5d6
Map roomInfo.numUnreadNotifications to RoomSummaryDetails.numUnreadNotifications
2024-01-25 15:00:43 +01:00
Benoit Marty
cdbfe8f92c
Fix API break: use new methods canUserRedactOwn and canUserRedactOther.
2024-01-23 13:32:13 +01:00
Benoit Marty
ca1f907ec5
Use new Rust fields numUnreadMessages and numUnreadMentions, and iterate on the room badge rendering.
2024-01-22 15:48:46 +01:00
Benoit Marty
31b2c55bee
Remove default value of RoomSummaryDetails constructor, and iterate on fixture functions.
2024-01-19 16:46:42 +01:00
Benoit Marty
371aec4427
Remove RoomSummaryDetails.lastMessageTimestamp and replace by a getter on lastMessage
2024-01-19 16:11:10 +01:00
Benoit Marty
603b10264b
Rename avatarURLString to avatarUrl
2024-01-19 15:58:37 +01:00
Benoit Marty
d3830af78b
Fix ktlint issues
2024-01-10 19:33:39 +01:00
renovate[bot]
7e9cda3aa9
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org >
Co-authored-by: Jorge Martín <jorgem@element.io >
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-01-10 16:22:24 +01:00
Jorge Martin Espinosa
0e3f0ac6b5
Trim whitespace at the end of messages ( #2169 )
...
Trim whitespace at the end of messages
2024-01-05 12:40:10 +01:00
Jorge Martin Espinosa
ada16a8563
Revert "Room list badges"
2023-12-22 11:02:07 +01:00
Benoit Marty
e6ad262329
Iterate on indicators on room list #2079
2023-12-21 14:51:31 +01:00
ganfra
72cdc0eee0
Merge branch 'develop' into julioromano/poll_history_entry_point
2023-12-13 17:22:55 +01:00
Benoit Marty
0ccfa2a15b
Load avatar for notification when there is no active imageLoader. ( #1991 )
2023-12-12 15:29:54 +01:00