Commit Graph

196 Commits

Author SHA1 Message Date
ganfra
d51253eb74 Handle SpaceFilter interaction with other RoomListFilters 2026-02-03 21:22:56 +01:00
ganfra
49b58f249b Simplify SpaceFilterButton and add content description 2026-02-03 10:24:38 +01:00
ganfra
915aca9c1d Add room list filter combining based on space selection 2026-02-02 21:46:33 +01:00
ganfra
eb94015996 Add space filter button to HomeTopBar and integrate SpaceFiltersView 2026-02-02 21:14:19 +01:00
ganfra
c993a6b387 Expose SpaceFilterState to RoomListState 2026-02-02 21:02:55 +01:00
ganfra
f67c7b2b1c Add SearchField to SpaceFiltersView 2026-02-02 21:02:55 +01:00
ganfra
bb3e955ef8 Complete SpaceFiltersView ui 2026-02-02 21:02:55 +01:00
ganfra
e2e49ba384 Model SpaceFilters ui states 2026-02-02 21:02:55 +01:00
ganfra
a9a0c252b9 Create base classes for SpaceFilters feature 2026-02-02 21:02:55 +01:00
ganfra
2132b65bf6 Spaces : some cleanup on SpaceService 2026-02-02 21:02:54 +01:00
Benoit Marty
7ff87a0adf Merge pull request #6122 from element-hq/sync-localazy
Sync Strings
2026-02-02 12:24:28 +01:00
bmarty
ab78b6e877 Sync Strings from Localazy 2026-02-02 00:39:17 +00:00
ganfra
9641d3ef4f Add tests and clean code after RoomList Filter rework 2026-01-30 15:33:51 +01:00
ganfra
0824a3ab8b Refactor room list filtering to use Rust SDK 2026-01-29 22:08:12 +01:00
Benoit Marty
04ae41f4b4 Use presenter test extension. 2026-01-27 15:07:17 +01:00
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
020484f605 Update icon and text when a room is a favorite. 2026-01-27 14:55:50 +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
edba196a69 sdk : allow passing coroutineScope to RoomList 2026-01-21 16:48:22 +01:00
Jorge Martin Espinosa
941340f250 Add empty state view for HomeSpacesView (#6047)
* Add empty state view for `HomeSpacesView`

This links to the create space flow, and has an 'explore public spaces', hidden for now.

* Make sure we display the empty view if the 'create spaces' FF is enabled

Also, remove the tab and navigate to the chats tab if the FF is disabled and the last space is left

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-21 10:36:12 +01:00
ElementBot
e3230184f0 Sync Strings from Localazy (#6042)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-20 10:04:53 +01:00
Benoit Marty
4ba465fd04 Ensure that room with long names renders correctly in the room list. 2026-01-15 17:07:25 +01:00
Jorge Martin Espinosa
28b63745f4 When a duplicate room list entry is found, report it and remove it (#6006)
* When a duplicate room list entry is found, report it and remove it

* Fix tests and fixtures

* Simplify how the updates are described in the Sentry reports
2026-01-14 10:56:45 +00:00
Jorge Martin Espinosa
03d14087e6 Create spaces (#5982)
* Allow creating a space with `CreateRoomParameters`

* Add 'Create space' menu item in the spaces home screen. Also, imports new strings related to spaces.

* Link the 'Create space' button with the screen to create the space

* Unify room access and visibility for `ConfigureRoom`, use the updated design

* Fix `EditRoomDetails` avatar size (68dp)

* Replace `EditableAvatarView` and `UnsavedAvatar` copmonents with `AvatarPickerView`

* `AvatarDataFetcherFactory`: Make sure we use a fallback image fetcher when the URL is not an MXC one (a local one, i.e.). This removes the previous need for a separate `UnsavedAvatarView`

* Use `AvatarPickerView` in all the screens where `EditableAvatarView` was used

* Improve naming and previews

* Update strings, remove unused ones for `RoomAccessItem`

* Make `isSpace` part of the `CreateRoomConfig`

* Ensure the content fits in the screenshots for `AvatarPickerSizesPreview`

* Add `AvatarDataFetcherFactoryTest`

* Add new feature flag for creating spaces

* Fix ripple being too large for the `Pick` state

* Tweak margins and section titles a bit

* Add preview for `HomeTopBar` with the spaces case

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-01-13 14:35:49 +01:00
Jorge Martin Espinosa
d67aee23c3 Use TextFieldState for room list search (#5975)
* Add new `FilledTextField` variant using `TextFieldState`

* Use `TextFieldState` for `RoomListSearchState.query` - it seems like this is the best practice for this kind of data

* Bonus: fix the clear button being misaligned
2026-01-07 17:24:01 +01:00
ElementBot
860390beb0 Sync Strings from Localazy (#5971)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-05 13:57:09 +01:00
ganfra
9afdbdc4ab Remove FeatureFlags.Space entirely 2025-12-22 17:46:45 +01:00
ElementBot
6880cf518c Sync Strings from Localazy (#5904)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
Benoit Marty
9ba84a1f8f Merge pull request #5888 from element-hq/feature/bma/roomListIcons
RoomSummary: move the icon related to the last message state on start of the message.
2025-12-12 17:12:34 +01:00
Benoit Marty
4e043bfa40 Fix compilation issue. 2025-12-12 12:21:41 +01:00
Benoit Marty
6d93ce25aa RoomSummary: move the icon related to the last message state on start of the message. 2025-12-11 13:52:30 +01:00
Benoit Marty
eff79d0b88 Add accessibility to the "sending" picto. 2025-12-08 15:28:38 +01:00
ganfra
c8d4ca66cf Merge pull request #5830 from element-hq/sync-localazy
Sync Strings
2025-12-02 20:58:45 +01:00
Benoit Marty
39e580284d Merge pull request #5824 from element-hq/feature/bma/roomListIndicators
Add room list indicators about last message
2025-12-02 17:42:46 +01:00
Benoit Marty
883341f363 Rename LatestEvent.Regular to LatestEvent.Synced 2025-12-02 16:54:50 +01:00
Benoit Marty
f5d902a6f3 Update API of RoomLatestEventFormatter. 2025-12-02 16:51:23 +01:00
Jorge Martin Espinosa
77be19bf3b Load JoinedRoom in home screen, pass it to the room flow (#5817)
* Load `JoinedRoom` in `HomeFlowNode.navigateToRoom`, then pass it to the next navigation nodes

* Add delayed loading indicator for cases when loading the room takes too long

* Avoid an extra FFI call in `RustRoomFactory`.

Use `RoomInfo.membership` instead.

Also use `computation` dispatcher, since it should reduce the delay when switching contexts.

* Remove the dispatcher usage when loading the room in `HomeFlowNode`, we immediately call a method that changes the dispatcher used

* Make sure only a single room is opened at a time
2025-12-02 15:22:55 +00:00
bmarty
2b49c40592 Sync Strings from Localazy 2025-12-01 00:23:54 +00:00
Jorge Martín
71bfffe58f Move analytic watchers to :services:analytics 2025-11-28 14:15:54 +01:00
Jorge Martín
c0e66e9d49 Add another performance check for cold start time until the cached room list is displayed 2025-11-28 14:15:54 +01:00
Benoit Marty
7a751abdb3 Add indicators in room list for sending event and errors. 2025-11-27 12:58:25 +01:00
ganfra
ca526580fd misc : use new_latest_event api (+ some renaming) 2025-11-26 10:58:16 +01:00
ElementBot
42dd6c3544 Sync Strings from Localazy (#5782)
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2025-11-20 15:25:19 +00:00
ElementBot
5087cb8bbd Sync Strings from Localazy (#5747)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-17 10:29:26 +01:00
Benoit Marty
1292da2a72 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00