Commit Graph

5520 Commits

Author SHA1 Message Date
Benoit Marty
6cebe2d948 RoomListSearchEvents -> RoomListSearchEvent 2026-01-27 15:04:39 +01:00
Benoit Marty
5f2ee2dc8c RoomListEvents -> RoomListEvent 2026-01-27 15:03:57 +01:00
Benoit Marty
5eccea5ada RoomListFiltersEvents -> RoomListFiltersEvent 2026-01-27 15:01:57 +01:00
Benoit Marty
c92d34f46a HomeEvents -> HomeEvent 2026-01-27 15:01:26 +01:00
Benoit Marty
f2dfa3dc91 Use presenter test extension. 2026-01-27 14:59:23 +01:00
Benoit Marty
b6736233ce RoomNotificationSettingsEvents -> RoomNotificationSettingsEvent 2026-01-27 14:57:53 +01:00
Benoit Marty
1d7f238f11 RoomMemberListEvents -> RoomMemberListEvent 2026-01-27 14:56:58 +01:00
Benoit Marty
020484f605 Update icon and text when a room is a favorite. 2026-01-27 14:55:50 +01:00
Jorge Martin Espinosa
fd9cc15763 Add 'Create room' option to menu in space screen (#6095) 2026-01-27 14:07:06 +01:00
Richard van der Hoff
7dae283874 Show an icon in the room header for shared history (#6090)
Add a decoration to the header for encrypted rooms with `history_visibility:
{shared|public}`.

Fixes: #6070

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-01-27 11:31:01 +00:00
Jorge Martin Espinosa
4b4492681b Add an empty state for the space screen if the user can modify its graph (#6064)
* Add an empty state for the space screen if the user can modify its graph. It adds a new 'create room' button that allows you to open the create room screen with some preset values.

* When computing the editable spaces in `ConfigureRoomPresenter`, also set up the initial selected parent space if possible

* Use `Builder` pattern for `CreateRoomEntryPoint`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-27 11:12:12 +01:00
Benoit Marty
cc4bf95cac Merge pull request #6092 from element-hq/feature/bma/endPollConfirmation
Display a confirmation dialog when ending a poll from the event bottom sheet
2026-01-27 10:47:12 +01:00
Benoit Marty
847e62a5ac Use presenter test extension. 2026-01-27 10:08:25 +01:00
Benoit Marty
c74169d893 ReadReceiptBottomSheetEvents -> ReadReceiptBottomSheetEvent 2026-01-27 10:03:28 +01:00
Benoit Marty
dd7c9dee78 ReactionSummaryEvents -> ReactionSummaryEvent 2026-01-27 10:02:44 +01:00
Benoit Marty
f327461358 EmojiPickerEvents -> EmojiPickerEvent 2026-01-27 10:02:08 +01:00
Benoit Marty
cca2fa5ccc CustomReactionEvents -> CustomReactionEvent 2026-01-27 10:01:38 +01:00
Benoit Marty
60b261cd61 ReportMessageEvents -> ReportMessageEvent 2026-01-27 10:00:44 +01:00
Benoit Marty
e2f281b248 PinnedMessagesListEvents -> PinnedMessagesListEvent 2026-01-27 10:00:02 +01:00
Benoit Marty
f237b31db9 PinnedMessagesBannerEvents -> PinnedMessagesBannerEvent 2026-01-27 09:59:18 +01:00
Benoit Marty
4d04808875 ResolveVerifiedUserSendFailureEvent -> ResolveVerifiedUserSendFailureEven 2026-01-27 09:58:44 +01:00
Benoit Marty
56668377d4 AttachmentsPreviewEvents -> AttachmentsPreviewEvent 2026-01-27 09:57:36 +01:00
Benoit Marty
c96f6036a3 LinkEvents -> LinkEvent 2026-01-27 09:55:20 +01:00
Benoit Marty
92a77fab18 EventFromTimelineItem -> TimelineItemEvent 2026-01-27 09:47:49 +01:00
Benoit Marty
6bb979a833 TimelineEvents -> TimelineEvent 2026-01-27 09:45:10 +01:00
Benoit Marty
a1e5afcdd5 MessagesEvents -> MessagesEvent 2026-01-27 09:38:45 +01:00
Benoit Marty
f184562d8f Use presenter test extension. 2026-01-27 09:35:51 +01:00
Benoit Marty
f7c7fdca9e ActionListEvents -> ActionListEvent 2026-01-27 09:34:18 +01:00
Benoit Marty
847766eb33 Add confirmation dialog when ending poll from the bottom sheet. 2026-01-27 09:26:03 +01:00
Benoit Marty
53ce85872b Remove unused MessagesEvents.Dismiss 2026-01-27 09:13:07 +01:00
Jorge Martin Espinosa
e7f05dab50 Fix rageshakes not uploading if they are too long (#6075)
* Fix rageshakes not uploading if they are too long. The max log line size in the default rageshake server is `1_000_000`.

* Change upload order to ensure the current logs and the push rules are always sent.

* Add 'buffer' for unexpected log lines.
2026-01-27 07:44:12 +01:00
Jorge Martin Espinosa
0313fa56dd Create a new room in a space (#6061)
* Add `SpaceService.editableSpaces` and `SpaceService.addChildToSpace`

* Add `parentSpace` to `CreateRoomConfig`

* Allow setting a parent space to a room in `ConfigureRoomPresenter`, make sure the room is added to the parent space when creating it

* `ConfigureRoomPresenter`: Load the list of possible spaces a room can be added to

* Refactor `RoomVisibilityState` to internally use `JoinRuleItem`

This gets rid of `RoomAccess` and `RoomAccessItem`, and it will allow us to map the join rule items in a cleaner way to both join rules and the UI

* Implement the UI changes:

- Display the parent space.
- Allow selecting a new one.
- Import needed strings.

* Fix existing tests

* Add `@Immutable` annotation to `SpaceRoom`, since it was detected as unstable.

Maybe because of `RoomType`?

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-26 18:23:02 +01:00
Benoit Marty
011d375b44 Sync all strings and fix compilation issue. 2026-01-26 14:13:06 +01:00
ElementBot
b731d9a4a3 Sync Strings from Localazy (#6085)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-26 12:06:38 +01:00
ganfra
b73e15625a Merge pull request #6074 from element-hq/feature/fga/fix_edit_details
Fix RoomDetailsEditView avatar picker for spaces
2026-01-23 15:55:37 +01:00
ganfra
a12394a77d Fix RoomDetailsEditView avatar picker for spaces
- Use correct AvatarType based on whether editing a space or room
- Add roomRawName to remember key to update avatar when name changes
- Respect canChangeAvatar state to disable picker when not permitted
2026-01-23 12:12:12 +01:00
ganfra
fa1b32f0ba Let SearchBar/SearchField use TextFieldState 2026-01-23 10:32:58 +01:00
ganfra
87619e50e8 Merge pull request #6063 from element-hq/feature/fga/space_add_existing_room
Implement Space 'Add existing rooms' feature
2026-01-22 20:31:13 +01:00
ganfra
626479844f Quality improvements after PR review 2026-01-22 19:57:04 +01:00
Benoit Marty
9304762b70 Use presenter test extension. 2026-01-22 17:18:59 +01:00
Benoit Marty
73a15f47af JoinRoomByAddressEvents -> JoinRoomByAddressEvent 2026-01-22 17:16:59 +01:00
Benoit Marty
c59878988b First try to resolve the room before checking for the alias validity. Fixes #5611 2026-01-22 17:09:54 +01:00
ganfra
94876f2dee Fix quality 2026-01-22 10:46:01 +01:00
ganfra
a7928eb2e6 Add tests to AddRoomToSpace feature 2026-01-22 10:24:09 +01:00
Benoit Marty
454415225f Merge pull request #6040 from element-hq/feature/bma/updateBugReportScreenshot
Ensure screenshot is up to date
2026-01-22 09:42:24 +01:00
ganfra
d93c7db1d8 Iterate on space "Add existing rooms" ui 2026-01-21 19:58:45 +01:00
ganfra
c03e052da4 Sync strings 2026-01-21 19:49:47 +01:00
ganfra
125178c36f Refactor AddRoomToSpaceSearchDataSource to use AssistedInject 2026-01-21 17:44:53 +01:00
ganfra
ca1d98928d Iterate on space "Add existing rooms" logic and ui 2026-01-21 17:33:31 +01:00
ganfra
9fe7c50972 Implement Space "Add existing rooms" logic and ui 2026-01-21 17:33:30 +01:00