Commit graph

427 commits

Author SHA1 Message Date
ganfra
85f35cb051 Fix formatting 2026-02-06 12:03:17 +01:00
ganfra
657d8f3345 Use RoomPreviewAliasAtom in space and room headers 2026-02-06 10:55:02 +01:00
ganfra
0118b47a38 Update SpaceRoom visibility related UI 2026-02-06 09:36:42 +01:00
ganfra
e8ed268eb2 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
5c1b68b36d Fix quality 2026-01-22 10:46:01 +01:00
ganfra
8e69174a11 Implement Space "Add existing rooms" logic and ui 2026-01-21 17:33:30 +01: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
Benoit Marty
a43c66f56d
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
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
Jorge Martín
0b291ce202 Fix toPlainText representation with formatting spans 2025-12-19 16:15:51 +01:00
Jorge Martin Espinosa
105bab1758
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
b1f5499ad9 change(member moderation): fix available moderation actions 2025-12-18 21:36:55 +01:00
Jorge Martín
5809901391 Reuse already parsed document instead of parsing it again 2025-12-17 18:38:02 +01:00
Benoit Marty
b5d15ee787 Fix issue detected by lint. 2025-12-17 10:59:48 +01:00
ganfra
c734d5c485 Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-16 11:02:29 +01:00
ElementBot
ad881c303a
Sync Strings from Localazy (#5904)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
ganfra
ce079e84f5 Merge branch 'develop' into feature/fga/space_settings_iteration 2025-12-15 16:06:06 +01:00
ganfra
65c3188b7a
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
81fd630bd3
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
1e282fac20 design: update vertical padding of the UserRow 2025-12-12 17:46:56 +01:00
ganfra
bf1f6ae671 design: CheckableUserRow uses Checkbox 2025-12-12 17:44:21 +01:00
Benoit Marty
6427332c84 Fix compilation issue. 2025-12-12 12:21:41 +01:00
ganfra
541a1d29bd misc(power level) : remove old api 2025-12-12 11:26:54 +01:00
ganfra
47708dc53b fix(editable avatar) : disable avatar editing if no permission 2025-12-10 14:30:09 +01:00
ganfra
400d520685 misc(power level) : remove old api 2025-12-08 22:23:17 +01:00
ganfra
c08de1f904 change(room details edit): move to his own module 2025-12-03 14:30:05 +01:00
ganfra
866507ca6a design: update EditableAvatarView to match figma 2025-12-03 11:38:11 +01:00
ganfra
6badd20e90 quality: remove useless code on MatrixRoomState 2025-12-03 11:38:11 +01:00
ganfra
a23bdfb1d4
Merge pull request #5830 from element-hq/sync-localazy
Sync Strings
2025-12-02 20:58:45 +01:00
Jorge Martin Espinosa
2e2d68ba83
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
32d56ea92d Sync Strings from Localazy 2025-12-01 00:23:54 +00:00
ganfra
b04524e566 misc : use new_latest_event api (+ some renaming) 2025-11-26 10:58:16 +01:00
Benoit Marty
729e5e9218 Fix roleOf extension. Creator are Owner Role only if privilegedCreatorRole is true. 2025-11-20 17:41:01 +01:00
ganfra
1bde2384e9 quality: fix tests after api changes 2025-11-19 17:30:01 +01:00
Benoit Marty
f3247b8d5d Rename test class 2025-11-19 10:14:03 +01:00
Benoit Marty
65ed414c87 Remove class duplication. 2025-11-19 10:14:03 +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
ganfra
72fda96df1 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
a18eb6eb5e Add default implementation to SessionListener 2025-10-23 16:48:20 +02:00
Benoit Marty
9ca5fbdc08 Add parameter wasLastSession to SessionListener.onSessionDeleted 2025-10-23 16:20:15 +02:00
Benoit Marty
263e761907 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
ganfra
6b2e4ffbbd design(space): match figma for Space views 2025-10-15 11:28:55 +02:00
Benoit Marty
c93561c513 Replace Uri by String in State that are used in Composable function. 2025-10-10 17:44:50 +02:00
Benoit Marty
3fb110d991
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
271ae19436 Remove useless Immutable annotation 2025-10-09 18:22:33 +02:00
ganfra
be8455b54d
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
c2560ad91c
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