Commit Graph

515 Commits

Author SHA1 Message Date
ElementBot
411895456b Sync Strings - add translations to Finnish (#3883)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-18 11:37:17 +00:00
ganfra
79b758c228 Merge pull request #3834 from element-hq/feature/fga/design_system_text_field
Design system : implement new TextField
2024-11-12 11:18:07 +01:00
ganfra
b13e3a090e design : fix RoomDetailsEditViewTest after readonly changes 2024-11-08 17:47:30 +01:00
ganfra
a293ea0f2b design : TextField2 is now TextField 2024-11-08 15:37:10 +01:00
ganfra
6a68ebe467 design : remove some usages of TextField and LabelledTextField 2024-11-08 15:29:07 +01:00
Benoit Marty
22bb8796ef Delete temporary created files. 2024-11-08 10:11:06 +01:00
Benoit Marty
495e4b3d60 MediaPreProcessor: remove default value of parameter deleteOriginal. No functional change here. 2024-11-08 10:11:06 +01:00
Benoit Marty
2a35edb14a Hide the join call button if the user is already in the call.
This is at the account level so if the user has joined the call on another device, the join button will be hidden.

Extract room call state presenter to its own module and update RoomCallState model.
Let RoomDetailsPresenter use the new RoomCallStatePresenter
2024-11-06 09:14:47 +01:00
Benoit Marty
3819135e7c Merge pull request #3798 from element-hq/sync-localazy
Sync Strings
2024-11-04 09:59:03 +01:00
bmarty
fed502957b Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
Benoit Marty
b43064fa42 Use MimeTypes.Jpeg 2024-10-31 12:49:31 +01:00
bmarty
8cf5729ece Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
Benoit Marty
6b52dfa1ae Fix preview for ignore user in a DM case. 2024-10-23 13:13:40 +02:00
Benoit Marty
774389474b Change a preview to have a room detail state without any badge. 2024-10-23 13:09:51 +02:00
Benoit Marty
ba16616caa Ensure modifier of BadgeList is used. 2024-10-23 13:06:55 +02:00
Benoit Marty
eddbcb9499 Let roomBadges be a computed val of RoomDetailsState 2024-10-23 12:59:56 +02:00
Benoit Marty
97cd7d3096 Code quality 2024-10-22 14:19:07 +02:00
Benoit Marty
ebb79bb729 Room badge: let the presenter compute the list of badges. 2024-10-22 14:09:38 +02:00
Benoit Marty
75caeaaec2 Change model and create MatrixBadgeRowMolecule 2024-10-22 10:18:43 +02:00
Benoit Marty
86a839ea73 Move RoomBadge to atomic package and rename to MatrixBadge 2024-10-22 10:18:42 +02:00
bmarty
f19ea02390 Sync Strings from Localazy 2024-10-21 00:27:20 +00:00
Benoit Marty
252308f591 Reorder imports. 2024-10-17 16:34:24 +02:00
Benoit Marty
feeddaceb9 Renaming. 2024-10-17 14:24:08 +02:00
Benoit Marty
fbd7e33bf0 Format 2024-10-17 14:16:29 +02:00
Benoit Marty
9b82c6df1c Let RoomMemberDetailsPresenter use UserProfilePresenter to reduce code duplication. 2024-10-17 14:12:18 +02:00
Benoit Marty
f1391a1e9e Merge pull request #3671 from element-hq/bma/improveRoomModeration
Improve room moderation
2024-10-16 17:57:22 +02:00
Benoit Marty
95a49a626d Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
Benoit Marty
9aafcc7564 The name ConfirmingBanUser was wrong since it was used to confirm a unban action. Better to keep a generic name, in case this class is used for any other action. 2024-10-16 11:58:54 +02:00
Benoit Marty
d468a009d5 Room moderation: make it more reactive and simplify the code. 2024-10-16 11:49:15 +02:00
Benoit Marty
0113cd522d Rename some classes which implement PreviewParameterProvider according to the new naming convention.
`Provider` suffix is enough and more used than `PreviewProvider`, so let's make the codebase more consistent.
2024-10-16 11:17:46 +02:00
Benoit Marty
44b37587cc Merge pull request #3669 from element-hq/feature/bma/reduceIndentation
Ensure selectedRoomMember is not null to reduce code indentation.
2024-10-16 11:16:21 +02:00
Benoit Marty
e72567c4ac Merge pull request #3667 from element-hq/feature/bma/asyncActionConfirmingWithParam
AsyncAction confirming with param
2024-10-15 12:28:03 +02:00
Benoit Marty
d9e3426098 Merge pull request #3670 from element-hq/feature/bma/fixCanInviteRefresh
Fix issue on canInvite refresh.
2024-10-15 09:00:09 +02:00
Benoit Marty
ccaa34de83 Fix issue on canInvite refresh. 2024-10-14 12:16:01 +02:00
Benoit Marty
d7ac725bc2 Ensure selectedRoomMember is not null to reduce code indentation. 2024-10-14 12:08:49 +02:00
Benoit Marty
c248892bab No need to launch a coroutine here. 2024-10-14 12:04:37 +02:00
Benoit Marty
964fbe4de3 Split long lines 2024-10-14 11:35:58 +02:00
Benoit Marty
97fb7bc2fa Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
2024-10-14 10:49:55 +02:00
Benoit Marty
f7a3f707fb Improve mapping regarding filename, caption and formattedCaption 2024-10-08 17:12:48 +02:00
Benoit Marty
2a4726e611 Remove FakeLeaveRoomPresenter 2024-10-07 17:46:18 +02:00
Benoit Marty
8fadcaf38d Cleanup 2024-10-07 17:46:17 +02:00
Benoit Marty
62cbff0ffe Remove dependencies to other presenters to RoomMembersModerationPresenter.
Move canDisplayModerationActions from presenter API to the state it emits.
2024-10-07 17:46:16 +02:00
Benoit Marty
7dce60c756 Remove dependencies to other presenters to LeaveRoomPresenter. 2024-10-07 17:46:16 +02:00
bmarty
05291bcf2f Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
ganfra
5bc89f3c7b Merge pull request #3537 from element-hq/feature/fga/fix_image_viewer_glitch
Fix image viewer glitch
2024-09-26 11:28:34 +02:00
renovate[bot]
0dac449fec Update dependency androidx.compose:compose-bom to v2024.09.00 (#3399)
* Update dependency androidx.compose:compose-bom to v2024.09.00

* Adapt code for changes.

* Workaround crash when closing the RTE

* Fix broken bottom sheet colors and shape

* Fix tons of warnings and deprecations

* Fix lint issues

* Fix more M3 update changes

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2024-09-26 09:30:20 +02:00
ganfra
2691e12a56 media view : use overlay from room details 2024-09-24 16:13:16 +02:00
Benoit Marty
6e19bc3da7 Merge pull request #3503 from element-hq/bma/invitationWithSender
Include inviter in the notification for invitation
2024-09-24 09:40:07 +02:00
ganfra
fb694c50fe Pinned messages analytics : branch analytics 2024-09-23 20:10:04 +02:00
Benoit Marty
c4d3fcaa35 Use aNotificationData and aNotifiableMessageEvent
And cleanup existing tests.
2024-09-20 12:38:49 +02:00