[COMPASS-6581] Add export toast progress, action, and variants Created: 02/Mar/23  Updated: 27/Oct/23  Resolved: 16/Mar/23

Status: Closed
Project: Compass
Component/s: Import/Export
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: export, milestone-2b
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 3
Documentation Changes: Not Needed

 Description   

When the export is in progress and the toast is shown, use the progress callback responses from the export to show the amount of documents exported in the toast.

Show a `Cancel` action on the toast while the export is in progress. This should open a confirmation modal: https://www.figma.com/file/4sXj42XyicBsdQkYIugHaV/Compass-Import%2FExport?node-id=1452%3A48466&t=FoEPTv8iHfB487DG-1 

If an error occurs, change the variant to danger and show the error in the toast: https://www.figma.com/file/4sXj42XyicBsdQkYIugHaV/Compass-Import%2FExport?node-id=1304%3A48403&t=FoEPTv8iHfB487DG-1 

 

On export success, update the variant and make the action `View file` which opens the file in the file browser.

Designs: https://www.figma.com/file/4sXj42XyicBsdQkYIugHaV/Compass-Import%2FExport?node-id=1019%3A45601&t=FoEPTv8iHfB487DG-1 


Generated at Wed Feb 07 22:43:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.