Skip to content

Listen to notifications for success or failure of export/import #125

@Pytal

Description

@Pytal

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

Metadata

Metadata

Assignees

Labels

1. to developAccepted and waiting to be taken care ofenhancementNew feature request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions