Commit graph

1147 commits

Author SHA1 Message Date
Jorge Martin Espinosa
1a335698c0
Force last owner of a room to pass ownership when leaving (#5094)
* Move `ChangeRoles*` classes to their own module so they can be shared

* Hook the change roles screen to the leave room action, add confirmation dialogs

* Use enum instead of sealed interface for `ChangeRoomMemberRolesListType`

* Try to improve communications between nodes

* refactor (leave room) : makes sure to expose only necessary code from api module

* Add `:libraries:previewutils` module to share some test fixtures used for UI previews

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: ganfra <francoisg@matrix.org>
2025-08-05 17:24:14 +02:00
Jorge Martin Espinosa
51f67741ae
Adapt 'change roles' screens to the new creator/owner role (#5076)
* Replace `RoomMember.Role.CREATOR` with `RoomMember.Role.Owner` - Make `RoomMember.Role` a sealed interface instead

* Adapt room member role mapping to include the power level to distinguish between admins and owners

* Use new `RoomMember.Role` sealed interface through the app

* Change how `MembersByRole` groups members to add owners to the admins section

* Adapt the `ChangeRoles` screen to the new roles:
    - Owners can't modify other owner's roles.
    - They can modify the roles of any other user, without confirmation.

* Adapt 'roles and permissions' screen:
    - Owners can't demote themselves.
    - The admin count also counts owners.

* Add more tests and screenshots

* Add owners to its own section in the 'change roles' screen

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-07-29 14:07:16 +00:00
Jorge Martin Espinosa
afa01e926b
Make sure we display errors when we create a recovery key and it fails (#5079)
* Make sure we display errors when we create a recovery key and it fails

* Add another preview for the error state

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-07-25 13:36:43 +02:00
Jorge Martin Espinosa
09e127cffc
Use lower level APIs to draw the message bubbles (#5056)
Co-authored-by: ElementBot <android@element.io>
2025-07-21 12:00:31 +02:00
Benoit Marty
2e0da99f2c
Merge pull request #5017 from element-hq/feature/bma/a11y/sessionVerification
[a11y] Improve session verification screens
2025-07-17 15:45:32 +02:00
ElementBot
43bcb49bef Update screenshots 2025-07-16 08:26:06 +00:00
ElementBot
d550a1dbb8 Update screenshots 2025-07-16 09:47:09 +02:00
Benoit Marty
b547b6a735 Cleanup 2025-07-11 16:19:11 +02:00
ElementBot
cb1db019f1 Update screenshots 2025-07-09 12:59:13 +00:00
ElementBot
96b2c7338f Update screenshots 2025-07-08 19:25:52 +00:00
ElementBot
782f244257 Update screenshots 2025-07-08 08:41:16 +00:00
ElementBot
ef47d289ab Update screenshots 2025-07-07 15:07:10 +00:00
renovate[bot]
649fedd134
Update dependency io.element.android:compound-android to v25.7.4 (#4984)
* Update dependency io.element.android:compound-android to v25.7.4

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <android@element.io>
2025-07-04 17:38:24 +02:00
ElementBot
0b3def2012 Update screenshots 2025-07-04 10:28:37 +00:00
Benoit Marty
8bc7bed5cb
Merge pull request #4964 from element-hq/feature/bma/roomListNavigationBar
Home navigation bar
2025-07-01 17:22:21 +02:00
ElementBot
b9b3418d31 Update screenshots 2025-07-01 07:14:32 +00:00
ElementBot
f7dde9dd6e Update screenshots 2025-06-30 17:23:15 +00:00
ElementBot
1aa18aeaf0 Update screenshots 2025-06-30 08:09:42 +00:00
ElementBot
2ba5d10f6a Update screenshots 2025-06-27 14:25:41 +00:00
Benoit Marty
fe9fbe894c
Merge pull request #4944 from element-hq/feature/bma/version
Replace the Report a problem button with the app's version on the on boading screen.
2025-06-27 14:45:18 +02:00
Jorge Martin Espinosa
2f6ce3da33
Element Call: remove top app bar and add it inside the webview instead (#4927)
Co-authored-by: ElementBot <android@element.io>
2025-06-27 08:41:10 +02:00
ElementBot
2cefa92a2a Update screenshots 2025-06-26 16:40:38 +00:00
ElementBot
67e280280f Update screenshots 2025-06-26 13:03:21 +02:00
Jorge Martin Espinosa
a10734de02
Simplify message composer layout (#4884)
Co-authored-by: ElementBot <android@element.io>
2025-06-24 14:05:28 +02:00
ElementBot
f92b646605 Update screenshots 2025-06-24 09:13:33 +00:00
ElementBot
0f4939b689 Update screenshots 2025-06-24 08:10:17 +00:00
Benoit Marty
e5b7e65372 Update screenshot 2025-06-24 09:06:08 +02:00
ElementBot
cf01390b72 Update screenshots 2025-06-23 15:19:46 +00:00
ganfra
0a4d32f3d3
Merge pull request #4909 from element-hq/feature/fga/invalid-invite
Change : handle invalid invite error
2025-06-20 18:42:09 +02:00
ElementBot
fc19a94078 Update screenshots 2025-06-20 14:54:33 +00:00
ElementBot
c838a793bb Update screenshots 2025-06-20 13:11:58 +00:00
ElementBot
e53280aabe Update screenshots 2025-06-20 08:28:21 +00:00
ganfra
a8d96a6292
Merge pull request #4896 from element-hq/feature/fga/fix_dm_predecessor_room_banner
fix (room upgrade) : room predecessor banner on DM room
2025-06-18 18:21:46 +02:00
ElementBot
6b8c43d656 Update screenshots 2025-06-18 15:55:53 +00:00
renovate[bot]
0b238b0b8e
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.6.18 (#4894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-06-18 15:10:47 +00:00
ElementBot
e3e84049df Update screenshots 2025-06-18 11:50:44 +00:00
ganfra
e2b1ab2632 Merge branch 'develop' into feature/fga/room-version-upgrade 2025-06-16 20:46:28 +02:00
Benoit Marty
8f94b4cd0e
Merge pull request #4845 from element-hq/feature/bma/batteryOptimization
Add a banner to ask the user to disable battery optimization when Event cannot be resolved from Push
2025-06-16 11:19:15 +02:00
Jorge Martin Espinosa
c598b0699e
Disable BT audio devices for Element Call on Android < 12 (#4876)
Display an error dialog muting the call when a bluetooth audio device is selected on Android 11 or lower, re-enable the audio once another device is used.
2025-06-13 16:29:07 +02:00
ElementBot
cce2f339d9 Update screenshots 2025-06-12 16:05:30 +00:00
ElementBot
9005a519d0 Update screenshots 2025-06-12 10:04:36 +00:00
ElementBot
1361107136 Update screenshots 2025-06-12 09:20:55 +00:00
ElementBot
121b99af0d Update screenshots 2025-06-11 18:41:52 +00:00
Jorge Martin Espinosa
eff693ccd9
Fix for message composer losing focus in Compose 1.8.0 (#4853)
Co-authored-by: ElementBot <android@element.io>
2025-06-10 16:39:26 +00:00
ElementBot
127fa4fbed Update screenshots 2025-06-09 13:22:22 +00:00
ElementBot
672631906f Update screenshots 2025-06-06 17:59:11 +00:00
renovate[bot]
03b801094b
fix(deps): update coil to v3.2.0 (#4712)
* fix(deps): update coil to v3.2.0

* Fix compilation issue. Need to provide an image for preview.

https://coil-kt.github.io/coil/compose/#previews

* Improve preview for images.

* Update screenshots

* More cleanup

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2025-06-05 09:49:27 +02:00
Benoit Marty
36c7c7ab9b
Oidc: Fallback to external browser instead of using Webview (#4808)
* Oidc: Fallback to external browser instead of using Webview

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-06-04 14:25:18 +00:00
renovate[bot]
7bb1e24ff5
fix(deps): update dependency androidx.compose:compose-bom to v2025.04.01 (#4631)
* fix(deps): update dependency androidx.compose:compose-bom to v2025.04.01

* Fix autofill deprecations

* Adapt our custom BottomSheetState and scaffold to the new APIs

* Get rid of all the custom bottom sheet implementation

It doesn't seem to be needed anymore 🎉

* Replace `semantics { invisibleToUser() }`  with `hideFromAccessibility()`

* Update screenshots

* Add commit and cancel callbacks for autofill on the login view

* Fix broken tests caused mainly by https://issuetracker.google.com/issues/366255137

Add `LocalUiTestMode` composition local and helper functions.

* Remove dependency that caused a new license to need to be approved

* Let setSafeContent handle setting the value for LocalUiTestMode

* Fix broken test

* Apply fix to RoomMemberModerationViewTest and RoomListDeclineInviteMenuTest

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-06-03 21:05:43 +00:00
ElementBot
24c29c54a3 Update screenshots 2025-06-03 12:13:14 +00:00