Commit Graph

427 Commits

Author SHA1 Message Date
ganfra
bbc11809b0 Fix formatting 2026-02-06 12:03:17 +01:00
ganfra
9080400ff0 Use RoomPreviewAliasAtom in space and room headers 2026-02-06 10:55:02 +01:00
ganfra
8625c9d5ae Update SpaceRoom visibility related UI 2026-02-06 09:36:42 +01:00
ganfra
4a43076fc2 Fix AvatarPickerView touch target and disabled state
- Make edit button clickable for better touch accessibility
- Hide edit button and erase background when disabled
- Extract interactionSource to share between clickable areas
2026-01-23 12:11:51 +01:00
ganfra
94876f2dee Fix quality 2026-01-22 10:46:01 +01:00
ganfra
9fe7c50972 Implement Space "Add existing rooms" logic and ui 2026-01-21 17:33:30 +01: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
Benoit Marty
61ec38cd10 fix(deps): update wysiwyg to v2.41.0 (#5921)
* fix(deps): update wysiwyg to v2.41.0

* Reuse already parsed document instead of parsing it again

* Fix `toPlainText` representation with formatting spans

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-12-29 09:59:37 +01:00
ganfra
97d22935f2 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
Jorge Martín
02b6a90a95 Fix toPlainText representation with formatting spans 2025-12-19 16:15:51 +01:00
Jorge Martin Espinosa
0b5c4fc8bb Add threadInfo field to message like timeline events (#5930)
* Add `threadInfo` field to message like timeline events:
- Polls
- Stickers
- UTDs

* Add missing cases for `EventTimeline.threadInfo()`
2025-12-19 09:43:40 +00:00
ganfra
a0d6fddf73 change(member moderation): fix available moderation actions 2025-12-18 21:36:55 +01:00
Jorge Martín
2ca981ddfa Reuse already parsed document instead of parsing it again 2025-12-17 18:38:02 +01:00
Benoit Marty
90d71f5e66 Fix issue detected by lint. 2025-12-17 10:59:48 +01:00
ganfra
1300e7723c Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-16 11:02:29 +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
ganfra
591eac83bd Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-15 16:06:06 +01:00
ganfra
5bb71db3b1 Merge pull request #5879 from element-hq/feature/fga/room_permissions_rework
misc : rework power levels apis
2025-12-15 12:19:54 +01:00
ganfra
d85fca97b5 Merge pull request #5900 from element-hq/feature/fga/update_invite_selection_design
Design : update user rows
2025-12-15 10:33:57 +01:00
ganfra
fc0f1af52e design: update vertical padding of the UserRow 2025-12-12 17:46:56 +01:00
ganfra
e7cfe1d456 design: CheckableUserRow uses Checkbox 2025-12-12 17:44:21 +01:00
Benoit Marty
4e043bfa40 Fix compilation issue. 2025-12-12 12:21:41 +01:00
ganfra
29c1f33638 misc(power level) : remove old api 2025-12-12 11:26:54 +01:00
ganfra
b95c2f8772 fix(editable avatar) : disable avatar editing if no permission 2025-12-10 14:30:09 +01:00
ganfra
c87a8e9cff misc(power level) : remove old api 2025-12-08 22:23:17 +01:00
ganfra
2e7355e789 change(room details edit): move to his own module 2025-12-03 14:30:05 +01:00
ganfra
15cb6431c6 design: update EditableAvatarView to match figma 2025-12-03 11:38:11 +01:00
ganfra
e5317b069d quality: remove useless code on MatrixRoomState 2025-12-03 11:38:11 +01:00
ganfra
c8d4ca66cf Merge pull request #5830 from element-hq/sync-localazy
Sync Strings
2025-12-02 20:58:45 +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
ganfra
ca526580fd misc : use new_latest_event api (+ some renaming) 2025-11-26 10:58:16 +01:00
Benoit Marty
966eab8796 Fix roleOf extension. Creator are Owner Role only if privilegedCreatorRole is true. 2025-11-20 17:41:01 +01:00
ganfra
12b71d6c0b quality: fix tests after api changes 2025-11-19 17:30:01 +01:00
Benoit Marty
dc53a03469 Rename test class 2025-11-19 10:14:03 +01:00
Benoit Marty
b3969fdb8e Remove class duplication. 2025-11-19 10:14:03 +01:00
Benoit Marty
185d4fadde 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
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
ganfra
e689eaf73a design(space): let divider be full width
# Conflicts:
#	features/home/impl/src/main/kotlin/io/element/android/features/home/impl/spaces/HomeSpacesView.kt
2025-10-24 16:07:16 +02:00
Benoit Marty
66d8e6210d Add default implementation to SessionListener 2025-10-23 16:48:20 +02:00
Benoit Marty
44e125dbc7 Add parameter wasLastSession to SessionListener.onSessionDeleted 2025-10-23 16:20:15 +02:00
Benoit Marty
826cacf209 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
ganfra
7410efb593 design(space): match figma for Space views 2025-10-15 11:28:55 +02:00
Benoit Marty
5f5d1a21ba Replace Uri by String in State that are used in Composable function. 2025-10-10 17:44:50 +02:00
Benoit Marty
7950cfc3b4 Merge pull request #5503 from element-hq/feature/bma/immutableCleanup
Do some cleanup on our immutable annotation usage
2025-10-10 17:42:26 +02:00
Benoit Marty
e6cd8d5fb5 Remove useless Immutable annotation 2025-10-09 18:22:33 +02:00
ganfra
3c9b322fa8 Merge pull request #5493 from element-hq/feature/fga/space_description
feature(space): make sure to handle topic properly
2025-10-09 15:39:15 +02:00
Benoit Marty
7ce2c08f6e Merge pull request #5490 from element-hq/feature/bma/improveImmutables
Ensure that we are using Immutable instead of Persistent
2025-10-09 11:48:32 +02:00