element-x-ada/features
Jorge Martin Espinosa 9bc2c4a776
Add shortcut suggestions for rooms, remove then when leaving (#5180)
* Report shortcut usage for outgoing messages

This patch adds support for creating and pushing dynamic
long-lived shortcuts for outgoing messages. This together
with an existing reference to the roomId used by the
shortcuts as an identifer allows conversations to be
prioritized.

See https://developer.android.com/training/sharing/direct-share-targets#report-usage-outgoing

* Simplify how to get the other user in a DM room

* Add initial avatar icons to shortcuts

* Remove room shortcuts when they're no longer joined

* Try using API 33 for the new tests. They worked locally with API 30, so it's weird the CI asks for a higher API version.

* Add observers for the pin code and session logout states. With this we can prevent new shortcuts from being created and remove existing ones when needed.

* Wrap all calls to `ShortcutManagerCompat` with `runCatchingExceptions` to avoid crashes

* Make `DefaultNotificationConversationService` a singleton.

---------

Co-authored-by: networkException <git@nwex.de>
Co-authored-by: ElementBot <android@element.io>
2025-08-19 16:02:51 +02: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 Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
changeroommemberroles Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
createroom Update dependency org.matrix.rustcomponents:sdk-android to v25.8.18 (#5182) 2025-08-18 16:41:14 +02:00
deactivation Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
enterprise Let enterprise build be able to override (or disable) the bug report URL. 2025-08-08 17:23:39 +02:00
ftue Sync Strings (#5146) 2025-08-11 12:49:29 +00:00
home Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
invite Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
invitepeople [UI] Iterate on user invite view. 2025-08-18 17:16:06 +02:00
joinroom Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
knockrequests [a11y] Ensure that heading() is applied to all screen titles. 2025-07-04 12:15:42 +02:00
leaveroom Add shortcut suggestions for rooms, remove then when leaving (#5180) 2025-08-19 16:02:51 +02:00
licenses [a11y] Ensure that heading() is applied to all screen titles. 2025-07-04 12:15:42 +02:00
location Threads - first iteration (#5165) 2025-08-19 13:35:48 +00:00
lockscreen Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
login Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
logout Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
messages Add shortcut suggestions for rooms, remove then when leaving (#5180) 2025-08-19 16:02:51 +02: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 Threads - first iteration (#5165) 2025-08-19 13:35:48 +00:00
preferences Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
rageshake Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
reportroom Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
roomaliasresolver Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
roomcall Move isElementCallAvailable fun to new SessionEnterpriseService, which implementations can get the current MatrixClient. 2025-06-24 11:28:25 +02:00
roomdetails Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
roomdirectory Update dependency org.matrix.rustcomponents:sdk-android to v25.7.23 (#5073) 2025-07-24 11:58:30 +02:00
roommembermoderation Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
securebackup Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
share Threads - first iteration (#5165) 2025-08-19 13:35:48 +00:00
signedout Sync Strings from Localazy 2025-08-04 00:34:11 +00:00
startchat Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
userprofile Cleanup codebase 2025-08-13 16:56:33 +02:00
verifysession Sync Strings from Localazy (#5178) 2025-08-18 11:09:27 +02:00
viewfolder [a11y] Ensure that heading() is applied to all screen titles. 2025-07-04 12:15:42 +02:00