Commit Graph

522 Commits

Author SHA1 Message Date
ganfra a064c88f8f fix(room_detail) : hide room avatar preview 2024-12-04 11:03:24 +01:00
Benoit Marty 96d7fbfadc Move code to the impl module 2024-11-29 09:24:50 +01:00
ElementBot bc59a70043 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 cffd2da10b 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 324b3d0a21 design : fix RoomDetailsEditViewTest after readonly changes 2024-11-08 17:47:30 +01:00
ganfra 3910c42855 design : TextField2 is now TextField 2024-11-08 15:37:10 +01:00
ganfra 83caf94ccb design : remove some usages of TextField and LabelledTextField 2024-11-08 15:29:07 +01:00
Benoit Marty 585b6a94f3 Delete temporary created files. 2024-11-08 10:11:06 +01:00
Benoit Marty 13ec1838c0 MediaPreProcessor: remove default value of parameter deleteOriginal. No functional change here. 2024-11-08 10:11:06 +01:00
Benoit Marty 58e66963d8 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 af78197a8f Merge pull request #3798 from element-hq/sync-localazy
Sync Strings
2024-11-04 09:59:03 +01:00
bmarty 0b609db1db Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
Benoit Marty 7146a6c0d6 Use MimeTypes.Jpeg 2024-10-31 12:49:31 +01:00
bmarty 1856363964 Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
Benoit Marty 67efecdec6 Fix preview for ignore user in a DM case. 2024-10-23 13:13:40 +02:00
Benoit Marty f516c09d3b Change a preview to have a room detail state without any badge. 2024-10-23 13:09:51 +02:00
Benoit Marty 2eec17fec7 Ensure modifier of BadgeList is used. 2024-10-23 13:06:55 +02:00
Benoit Marty 35867f9837 Let roomBadges be a computed val of RoomDetailsState 2024-10-23 12:59:56 +02:00
Benoit Marty 3c23555eb7 Code quality 2024-10-22 14:19:07 +02:00
Benoit Marty ecbf6b7e7c Room badge: let the presenter compute the list of badges. 2024-10-22 14:09:38 +02:00
Benoit Marty 1ca8c5131b Change model and create MatrixBadgeRowMolecule 2024-10-22 10:18:43 +02:00
Benoit Marty 77b87af52a Move RoomBadge to atomic package and rename to MatrixBadge 2024-10-22 10:18:42 +02:00
bmarty b179518962 Sync Strings from Localazy 2024-10-21 00:27:20 +00:00
Benoit Marty 6106d7b0ba Reorder imports. 2024-10-17 16:34:24 +02:00
Benoit Marty c5b0581bca Renaming. 2024-10-17 14:24:08 +02:00
Benoit Marty 9b9255d0e8 Format 2024-10-17 14:16:29 +02:00
Benoit Marty 95a7cf643e Let RoomMemberDetailsPresenter use UserProfilePresenter to reduce code duplication. 2024-10-17 14:12:18 +02:00
Benoit Marty f95ab1fb06 Merge pull request #3671 from element-hq/bma/improveRoomModeration
Improve room moderation
2024-10-16 17:57:22 +02:00
Benoit Marty 7ece687740 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 b33b423a19 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 598d86607a Room moderation: make it more reactive and simplify the code. 2024-10-16 11:49:15 +02:00
Benoit Marty 6e27266988 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 d7ca0c13c8 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 a4966ef896 Merge pull request #3667 from element-hq/feature/bma/asyncActionConfirmingWithParam
AsyncAction confirming with param
2024-10-15 12:28:03 +02:00
Benoit Marty b2ea39ebbe 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 e5a8180acc Fix issue on canInvite refresh. 2024-10-14 12:16:01 +02:00
Benoit Marty e697b4c942 Ensure selectedRoomMember is not null to reduce code indentation. 2024-10-14 12:08:49 +02:00
Benoit Marty 212e5761ec No need to launch a coroutine here. 2024-10-14 12:04:37 +02:00
Benoit Marty ca4f906964 Split long lines 2024-10-14 11:35:58 +02:00
Benoit Marty fb52657b12 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 920dc2b0d7 Improve mapping regarding filename, caption and formattedCaption 2024-10-08 17:12:48 +02:00
Benoit Marty 792bc25ca2 Remove FakeLeaveRoomPresenter 2024-10-07 17:46:18 +02:00
Benoit Marty 6cfebc18fa Cleanup 2024-10-07 17:46:17 +02:00
Benoit Marty 2e5450c4b4 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 0a7de7cc7d Remove dependencies to other presenters to LeaveRoomPresenter. 2024-10-07 17:46:16 +02:00
bmarty e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Jorge Martin Espinosa eeec7cc785 Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
ganfra 71c0eb19b2 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] 9756afc5d1 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 f1be7ea0a7 media view : use overlay from room details 2024-09-24 16:13:16 +02:00