nextcloud / nextcloud/user_migration

Listen to notifications for success or failure of export/import

Open
#125 3 comments 0 reactions 1 assignee View on GitHub

@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

  1. The status endpoint would only be queried to check if the export/import was queued successfully and if the job has started
  2. 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 the user_export_jobs and user_import_jobs tables do not contain this information
Requires

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.