Skip to content

Handle failure of copy tasks #2850

@metodimilevqa

Description

@metodimilevqa

Summary

Sometimes a red loader/spinner is seen when the user tries to import from channels - as it is unclear why the loader is red but not green we need to handle this better on the FE and make it more clear for the user what exactly is happening (task failed).

Category

BUG

Usage Details

Experienced at: https://studio.learningequality.org/

  • Windows 10
  • Browser: Chrome (latest)
  • Channel: ziviv-fodon

Screenshots

redLoaderStudio

Real-life consequences (anything community should be aware of, for instance how it affects end users)

Unclear for the user that the task has failed.

Expected behaviour

  • "Copy failed" text
  • A "Retry" action
  • An icon to remove the failed task
  • An error icon in the side panel (more specs in image)

spinner

This will require some backend work to allow 'retry' of a failed copy task. The simplest way around this would be to delete the previously failed copy and then do the copy again.

In order to ensure the proper order of operations for this, this is best done after some clean up of the sync behaviour.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions