nextcloud / nextcloud/user_migration
Listen to notifications for success or failure of export/import
Open
@Pytal is already working on this.
Since Apr 21, 2022.
1. to develop
enhancement
- Dominant language
- JavaScript
- Stars
- 30
- Forks
- 10
- Avg merge
- 6h 5m
- Merged PRs (30d)
- 12
Description
The success or failure state of exports and imports should be derived by listening to notifications (if the app is enabled) instead of the status endpoint so that the modal and notifications on the frontend do not present discrepancies or desync due to different polling intervals
- The status endpoint would only be queried to check if the export/import was queued successfully and if the job has started
- Final success/failure state of the job would be derived by listening to notifications through the event-bus to
a) ensure a single source of truth is used for both the modal and notifications
b) provide actual success/failure state rather than just if the job has finished executing as theuser_export_jobsanduser_import_jobstables do not contain this information
Requires
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.