element-x-ada/features
Jorge Martin Espinosa 68023b5c74
Simplify push notification flow by using locally stored values for pending pushes (#6258)
* Create `PushRequest` in push history DB: this will be used to store requests for push notifications, either pending or completed ones.

* Rename `WorkManagerRequest` to `WorkManagerRequestBuilder`: make its `build` method return a list of `WorkManagerRequestWrapper`, which can be used to enqueue normal or unique workers.

* Rename `PerformDatabaseVacuumRequestBuilder` and adapt it to the new API.

* Adjust other components using `WorkManagerRequest`.

* Replace `SyncNotificationWorkManagerRequestBuilder` with `SyncPendingNotificationsRequestBuilder` and `FetchNotificationsWorker` with `FetchPendingNotificationsWorker`: this new pair of request builder and worker allow enqueuing requests for a session id and, once the worker runs, retrieve all the pending request data and use it to fetch the associated events. This simplifies quite a bit how this data had to be passed or grouped, since it's no longer necessary to do so

* Add new methods to `PushHistoryService` to modify the `PushDatabase`:

- insertOrUpdatePushRequest
- insertOrUpdatePushRequests
- getPendingPushRequests
- removeOldPushRequests

* Make `PushHandler` just handle incoming pushes: those will be inserted into the pending push request table in DB, then handled by the new worker. Once the process finished, a new `NotificationResultProcessor` will handle the results and what needs to be done with them (call ringing, displaying notifications, etc.)

* Add `requestType` optional parameter to `WorkManagerScheduler.cancel` so we can decide to only cancel some kinds of requests.

* Add migration to remove existing work manager requests for fetching notifications, since the previous worker class no longer exists.
2026-03-03 15:14:36 +00:00
..
analytics Sync Strings from Localazy (#5904) 2025-12-15 23:51:19 +01:00
announcement Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
cachecleaner
call Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
createroom Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
deactivation Sync Strings from Localazy (#5904) 2025-12-15 23:51:19 +01:00
enterprise Let enterprise build be able to use a different notification channel for noisy notification. 2026-02-11 11:57:01 +01:00
forward
ftue Format 2025-12-16 16:14:05 +01:00
home Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
invite Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
invitepeople Let SearchBar/SearchField use TextFieldState 2026-01-23 10:32:58 +01:00
joinroom Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
knockrequests Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
leaveroom Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
licenses
linknewdevice Merge pull request #6241 from element-hq/feature/bma/fixRedactedNotification 2026-03-03 11:43:45 +01:00
location
lockscreen Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
login Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
logout Simplify push notification flow by using locally stored values for pending pushes (#6258) 2026-03-03 15:14:36 +00:00
messages Sync compound tokens https://github.com/element-hq/compound-design-tokens/releases/tag/v6.10.1 (#6273) 2026-03-03 14:42:27 +01:00
migration Simplify push notification flow by using locally stored values for pending pushes (#6258) 2026-03-03 15:14:36 +00:00
networkmonitor Check if network access if blocked when fetching notifications (#6247) 2026-02-25 12:04:07 +00:00
poll Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
preferences Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
rageshake Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
reportroom Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
rolesandpermissions Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
roomaliasresolver Use RoomPreviewAliasAtom in space and room headers 2026-02-06 10:55:02 +01:00
roomcall Transform MessageEventType and StateEventType into sealed interfaces to handle the Custom variant, also add missing variants 2025-12-22 11:19:37 +01:00
roomdetails Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
roomdetailsedit Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
roomdirectory Sync Strings from Localazy (#5904) 2025-12-15 23:51:19 +01:00
roommembermoderation Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
securebackup Sync Strings from Localazy (#5971) 2026-01-05 13:57:09 +01:00
securityandprivacy Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
share Use ShareIntentHandler early to avoid distributing the whole intent (#6274) 2026-03-03 13:12:33 +00:00
signedout Sync Strings from Localazy (#5904) 2025-12-15 23:51:19 +01:00
space Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
startchat Add an empty state for the space screen if the user can modify its graph (#6064) 2026-01-27 11:12:12 +01:00
userprofile Ensure that room / space avatar always have a contentDescription. 2026-01-02 16:23:15 +01:00
verifysession Sync Strings from Localazy (#6269) 2026-03-02 14:54:50 +01:00
viewfolder Update metro to v0.11.0 (#6245) 2026-02-25 16:19:47 +01:00