Commit graph

221 commits

Author SHA1 Message Date
Benoit Marty
6940cf8be4 Ensure FAB is displayed when navigation bar is not 2026-02-27 12:02:20 +01:00
Benoit Marty
34932c55bd Increase content padding, and apply it to the space tab too. 2026-02-25 15:56:30 +01:00
Benoit Marty
38f9f9c386 Fix navigation bar overlapping buttons in empty space view. 2026-02-25 15:56:30 +01:00
Benoit Marty
380102cc26 Add Preview for the case empty space. 2026-02-25 15:56:30 +01:00
Benoit Marty
ee07424f6a Fix lint issue. floatingActionButton must be the last parameter. 2026-02-25 15:56:29 +01:00
Benoit Marty
f8909a30b5 Fix compilation issue after rebase. 2026-02-25 15:51:21 +01:00
Benoit Marty
86c7d04176 Create HorizontalFloatingToolbar wrapper in our components. 2026-02-25 15:51:20 +01:00
chelsea
1797ce7c20 Use floating toolbar on homepage 2026-02-25 15:51:20 +01:00
bmarty
25c723c35a Sync Strings from Localazy 2026-02-23 00:39:49 +00:00
ganfra
4f70e5b872 Update SpaceFilterButton selected state color 2026-02-11 12:45:54 +01:00
ganfra
0dec3a1cb6 Merge branch 'develop' into feature/fga/space_ui_tweaks 2026-02-10 09:31:50 +01:00
ElementBot
7c95f824d5
Sync Strings from Localazy (#6155)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-02-09 16:30:57 +01:00
renovate[bot]
4cb3b16914
Update dependency org.matrix.rustcomponents:sdk-android to v26.2.6 (#6144)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.2.5

* Fix breaking API changes:
- Add temporary imlementation for `RustClientSessionDelegate.onBackgroundTaskErrorReport`, logging unrecoverable errors in background tasks of the SDK.
- Change `TimelineEventTypeFilter` to `TimelineEventFilter`.
- Support new `LatestEventValue.RemoteInvite`.

* Update the Rust SDK to `26.2.6`

* Fix API changes: `TimelineFocus.PinnedEvents` no longer takes any arguments

* Fix test fixtures: `NotificationItem` has a `rawEvent` field now

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-02-06 12:40:03 +00:00
ganfra
657d8f3345 Use RoomPreviewAliasAtom in space and room headers 2026-02-06 10:55:02 +01:00
ganfra
1128e4bc70 Space filters fix previews 2026-02-05 15:05:07 +01:00
ganfra
63e12075c6 Improve SpaceFilters: hide when empty and fix tests 2026-02-05 11:33:24 +01:00
ganfra
18f200eb06 SpaceFiltersView : try to fix the BottomSheet hide animation 2026-02-05 10:35:27 +01:00
ganfra
fb2fb824af Clear selection when selected space is removed from filters 2026-02-04 16:17:26 +01:00
ganfra
c7015c367c Add tests for SpaceFiltersPresenter and SpaceFiltersView and fix quality 2026-02-04 14:42:57 +01:00
ganfra
9aa0db981b Add back navigation to clear space filter selection 2026-02-04 13:40:06 +01:00
ganfra
7c3f9eeb89 Ensure selected space filter gets update 2026-02-04 11:35:18 +01:00
ganfra
aa079677ae Revert changes on room list filters being hidden 2026-02-04 11:34:43 +01:00
ganfra
23498bbaee Handle SpaceFilter interaction with other RoomListFilters 2026-02-03 21:22:56 +01:00
ganfra
218aafa05a Simplify SpaceFilterButton and add content description 2026-02-03 10:24:38 +01:00
ganfra
212a8e3aa3 Add room list filter combining based on space selection 2026-02-02 21:46:33 +01:00
ganfra
2f0da202df Add space filter button to HomeTopBar and integrate SpaceFiltersView 2026-02-02 21:14:19 +01:00
ganfra
3b60030635 Expose SpaceFilterState to RoomListState 2026-02-02 21:02:55 +01:00
ganfra
1639d1f67f Add SearchField to SpaceFiltersView 2026-02-02 21:02:55 +01:00
ganfra
4a94e36b3e Complete SpaceFiltersView ui 2026-02-02 21:02:55 +01:00
ganfra
c93920cf41 Model SpaceFilters ui states 2026-02-02 21:02:55 +01:00
ganfra
f59159d0fe Create base classes for SpaceFilters feature 2026-02-02 21:02:55 +01:00
ganfra
bc9a46a821 Spaces : some cleanup on SpaceService 2026-02-02 21:02:54 +01:00
Benoit Marty
4aa56abada
Merge pull request #6122 from element-hq/sync-localazy
Sync Strings
2026-02-02 12:24:28 +01:00
bmarty
2fefc0691b Sync Strings from Localazy 2026-02-02 00:39:17 +00:00
ganfra
babaa7351f Add tests and clean code after RoomList Filter rework 2026-01-30 15:33:51 +01:00
ganfra
5c3fc13052 Refactor room list filtering to use Rust SDK 2026-01-29 22:08:12 +01:00
Benoit Marty
b23f10f0f0 Use presenter test extension. 2026-01-27 15:07:17 +01:00
Benoit Marty
8c825f8f90 RoomListSearchEvents -> RoomListSearchEvent 2026-01-27 15:04:39 +01:00
Benoit Marty
624d97c262 RoomListEvents -> RoomListEvent 2026-01-27 15:03:57 +01:00
Benoit Marty
1f5d2bdae9 RoomListFiltersEvents -> RoomListFiltersEvent 2026-01-27 15:01:57 +01:00
Benoit Marty
e769567241 HomeEvents -> HomeEvent 2026-01-27 15:01:26 +01:00
Benoit Marty
6e21ddd16d Update icon and text when a room is a favorite. 2026-01-27 14:55:50 +01:00
ElementBot
3ab67a5e15
Sync Strings from Localazy (#6085)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-01-26 12:06:38 +01:00
ganfra
e6d8b07538 sdk : allow passing coroutineScope to RoomList 2026-01-21 16:48:22 +01:00
Jorge Martin Espinosa
a1b81046f0
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
2c6e2c6c89
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
158e779bdb Ensure that room with long names renders correctly in the room list. 2026-01-15 17:07:25 +01:00
Jorge Martin Espinosa
3ef5e76e99
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
6d1ed5967b
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
ce85ed16f6
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