Commit graph

952 commits

Author SHA1 Message Date
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
Benoit Marty
3e4ca0dd53 Remove BigIcon loading state.
Loading is rendered in the buttons now.
2026-01-08 15:53:09 +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
Benoit Marty
7186044482
Merge pull request #5963 from element-hq/feature/bma/variablePlayBackSpeed
Voice message: variable play back speed
2026-01-05 13:58:01 +01:00
Benoit Marty
00448756a8 Ensure that room / space avatar always have a contentDescription. 2026-01-02 16:23:15 +01:00
Benoit Marty
233d22367f Cleanup 2026-01-02 16:07:45 +01:00
Benoit Marty
e30efc1e2c Remove useless curly braces 2025-12-31 11:24:49 +01:00
Benoit Marty
6ca2c92440 Improve click effect. 2025-12-31 10:02:58 +01:00
Benoit Marty
d01fb91721 Improve preview. 2025-12-31 09:23:08 +01:00
Benoit Marty
dc3c9da7e6 Extract PlaybackSpeedButton as an Atom. 2025-12-31 09:19:45 +01:00
Benoit Marty
fe31d5972c
Merge pull request #5945 from element-hq/feature/bma/listItemFont
Use only font from compound
2025-12-29 09:24:01 +01:00
ganfra
76bc487f28
Merge pull request #5950 from element-hq/feature/fga/iterate_permissions_screen
Changes : iterate again on permissions
2025-12-22 18:41:38 +01:00
ganfra
7f2d5b94bb misc : add enabled param to ListItemContent.Custom View 2025-12-22 15:25:54 +01:00
Benoit Marty
31d5aa7a33 Use typography instead of materialTypography. 2025-12-20 17:03:18 +01:00
Benoit Marty
beea921f2e Simplify the copy of the history visibility settings
Closes #5898
2025-12-19 14:53:06 +01:00
Benoit Marty
3ea10c2c62
Merge pull request #5909 from element-hq/feature/bma/qrCodeLogin
Link new device using QrCode - First version
2025-12-18 16:08:21 +01:00
Benoit Marty
ace9af3ef6 Fix colors again 2025-12-17 08:33:16 +01:00
Benoit Marty
de413065c7 Make sure preview contains the two themes. 2025-12-17 08:33:16 +01:00
Benoit Marty
f29149ab68 Fix SearchBar colors.
Ref: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=1992-8350
2025-12-17 08:33:15 +01:00
Benoit Marty
28db80aed2 Fix compilation errors and warnings. 2025-12-17 08:33:14 +01:00
Benoit Marty
a073117d62 Link new device using QrCode. 2025-12-16 16:14:04 +01:00
Benoit Marty
b20ccf8b63
Merge pull request #5845 from element-hq/feature/bma/unsavedChangeDialog
Update unsaved change dialog
2025-12-04 11:03:42 +01:00
Benoit Marty
63f7c9a4fd Iterate on Save change dialog. 2025-12-03 18:04:53 +01:00
Benoit Marty
fc1b902ab4 Remove unused import. 2025-12-03 17:55:40 +01:00
Benoit Marty
b990f78bb8 Remove dead code. 2025-12-02 15:34:09 +01:00
ganfra
3e125b465d design: introduce SearchField component 2025-11-21 18:41:49 +01:00
ganfra
24c2edc16e change(members): update RoomMemberModerationView 2025-11-21 18:41:49 +01:00
ganfra
3279684dc6 change(room members): moderation sheet design updates 2025-11-13 17:13:45 +01:00
Benoit Marty
573767aca1 Let notifications use avatar fallback.
Extract code which handles Matrix image to its own api / impl / test modules.
2025-11-12 11:28:42 +01:00
Benoit Marty
eb31505dc7 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
f86431e663 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
c4e0370f41 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Skye Elliot
d4dba4b0fc
chore: Remove unused import. 2025-11-07 15:24:24 +00:00
Skye Elliot
7595a0be35
fix: Use Icon(imageVector = icon) over rememberVectorPainter(icon) 2025-11-07 15:18:08 +00:00
Skye Elliot
b163959241
refactor: Extract ComposerAlertMoleculeParamsProvider to new file. 2025-11-07 15:15:00 +00:00
Skye Elliot
2f9bcde9fc
Merge branch 'develop' into kaylendog/history-sharing/alert 2025-11-07 15:10:29 +00:00
ganfra
0cad4175fa Merge branch 'develop' into feature/fga/role_and_permissions_rework 2025-11-06 13:51:04 +01:00
Skye Elliot
5fe2c86e1d
feat: Convert ComposerAlertMolecule to use alert levels. 2025-11-06 12:44:02 +00:00
ganfra
91c7b597ce design: improve PreferenceDropdown 2025-11-06 10:59:50 +01:00
Benoit Marty
06226c1052 Rename preview. 2025-11-06 09:33:43 +01:00
ganfra
83a4457d6e Merge branch 'develop' into feature/fga/role_and_permissions_rework 2025-11-05 20:29:04 +01:00
ganfra
fe7bc4fd9d change(roles and permissions): clean code 2025-11-05 15:40:34 +01:00
ganfra
8b60c8309c design: PreferenceDropdown now uses DropdownMenu 2025-11-05 10:21:09 +01:00
ganfra
3de8618c64 design: update DropdownMenu to better match figma 2025-11-05 10:16:51 +01:00
Benoit Marty
d94e247404 Extract SaveChangesDialog to its own file 2025-11-04 15:58:59 +01:00
Benoit Marty
96e1406881 Move dependencies block out of the android block. 2025-11-03 22:29:38 +01:00
ganfra
e557ceb702 change(roles and permissions): update change permission design 2025-11-03 21:40:42 +01:00
Jorge Martin Espinosa
353c00e032
Display only valid emojis in recent emoji list (#5612)
* Create `:libraries:recentemojis` and move `AddRecentEmoji` and `GetRecentEmojis` there

- Make sure `GetRecentEmojis` won't return duplicate or invalid emojis.
- `ActionListPresenter` now handles merging suggested and recent emojis, not `ActionListView`.
2025-10-30 15:27:51 +00:00
Benoit Marty
eef0fbf4be Fix "Arrow is redundant when parameter list is empty"
And other issues that ktlint now reports
2025-10-30 14:33:25 +01:00
Jorge Martin Espinosa
6c3b280ecd
Fix marking a room as read re-instantiates its timeline (#5628)
* Add `Timeline.markAsRead` to avoid reinstantiating the timeline using `Room.markAsRead`

* Mark as read when exiting the room screen, destroy the timeline when fully closed

* Ensure `MarkAsFullyReadAndExit` event can only be processed once

* Fix `DelayedVisibility` not being displayed in previews
2025-10-30 08:39:06 +01:00