element-x-ada/features
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
..
analytics AnalyticsOptInView: replace PageTitle by IconTitleSubtitleMolecule 2025-07-11 14:15:12 +02:00
cachecleaner Fix coroutine scope (#4820) 2025-06-04 15:33:51 +00:00
call Prevent crash caused by re-release of wakelock in calls (#5077) 2025-07-25 13:36:23 +02:00
createroom [a11y] Improve accessibility on avatar when creating a room. 2025-07-17 16:46:34 +02:00
deactivation [a11y] Ensure that heading() is applied to all screen titles. 2025-07-04 12:15:42 +02:00
enterprise Move isElementCallAvailable fun to new SessionEnterpriseService, which implementations can get the current MatrixClient. 2025-06-24 11:28:25 +02:00
ftue ChooseSelfVerificationModeView: replace PageTitle by IconTitleSubtitleMolecule 2025-07-11 14:12:39 +02:00
home Sync Strings from Localazy 2025-07-28 00:33:43 +00:00
invite Sync Strings from Localazy (#4983) 2025-07-04 14:37:59 +00:00
joinroom Sync Strings from Localazy 2025-07-28 00:33:43 +00:00
knockrequests [a11y] Ensure that heading() is applied to all screen titles. 2025-07-04 12:15:42 +02:00
leaveroom Sync Strings from Localazy (#4983) 2025-07-04 14:37:59 +00:00
licenses [a11y] Ensure that heading() is applied to all screen titles. 2025-07-04 12:15:42 +02:00
location Update dependency org.matrix.rustcomponents:sdk-android to v25.7.23 (#5073) 2025-07-24 11:58:30 +02:00
lockscreen Sync Strings from Localazy (#4983) 2025-07-04 14:37:59 +00:00
login Sync Strings from Localazy 2025-07-28 00:33:43 +00:00
logout Sync Strings from Localazy 2025-07-28 00:33:43 +00:00
messages Adapt 'change roles' screens to the new creator/owner role (#5076) 2025-07-29 14:07:16 +00:00
migration Add catchingExceptions method to replace runCatching (#4797) 2025-06-04 09:02:26 +02:00
networkmonitor Fix coroutine scope (#4820) 2025-06-04 15:33:51 +00:00
poll Sync Strings from Localazy 2025-07-28 00:33:43 +00:00
preferences Sync Strings from Localazy (#4983) 2025-07-04 14:37:59 +00:00
rageshake Sync Strings from Localazy 2025-07-22 20:46:13 +02:00
reportroom Sync Strings from Localazy (#4983) 2025-07-04 14:37:59 +00:00
roomaliasresolver Sync Strings from Localazy (#4983) 2025-07-04 14:37:59 +00:00
roomcall Move isElementCallAvailable fun to new SessionEnterpriseService, which implementations can get the current MatrixClient. 2025-06-24 11:28:25 +02:00
roomdetails Adapt 'change roles' screens to the new creator/owner role (#5076) 2025-07-29 14:07:16 +00:00
roomdirectory Update dependency org.matrix.rustcomponents:sdk-android to v25.7.23 (#5073) 2025-07-24 11:58:30 +02:00
roommembermoderation Adapt 'change roles' screens to the new creator/owner role (#5076) 2025-07-29 14:07:16 +00:00
securebackup Make sure we display errors when we create a recovery key and it fails (#5079) 2025-07-25 13:36:43 +02:00
share Update dependency org.matrix.rustcomponents:sdk-android to v25.7.23 (#5073) 2025-07-24 11:58:30 +02:00
signedout Sync Strings from Localazy 2025-07-28 00:33:43 +00:00
userprofile Sync Strings from Localazy (#4983) 2025-07-04 14:37:59 +00:00
verifysession [a11y] Ensure that the loading state is read out. 2025-07-11 15:42:44 +02:00
viewfolder [a11y] Ensure that heading() is applied to all screen titles. 2025-07-04 12:15:42 +02:00