Commit Graph

1319 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
Benoit Marty 4c42b3c013 Add preview for mentions in the context of the timeline. 2025-07-08 18:49:22 +02:00
ElementBot 782f244257 Update screenshots 2025-07-08 08:41:16 +00:00
Benoit Marty 4688b15c06 Fix issue after rebase. 2025-07-07 17:24:58 +02:00
ElementBot ef47d289ab Update screenshots 2025-07-07 15:07:10 +00:00
Benoit Marty 1782e6d30b Apply gradient to focused Event. 2025-07-07 15:03:30 +02:00
Benoit Marty b3af5509c7 Improve Konsist test. 2025-07-07 14:49:09 +02:00
Benoit Marty 2b8c4ba079 Remove bloom effect and replace by linear gradient
Use semantic colors.
2025-07-07 14:49:07 +02: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 f3eb0e69cc Fix wrong TopAppBar usage 2025-07-04 09:43:30 +02: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
Benoit Marty 71e309f6c3 Split function into separate files. 2025-06-26 13:03:22 +02:00
ElementBot 67e280280f Update screenshots 2025-06-26 13:03:21 +02:00
Benoit Marty aedd98d34a Add NavigationBar component 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