[COMPASS-6555] Add import error `Log` file with all of the errors encountered in the import Created: 23/Feb/23  Updated: 24/Apr/23  Resolved: 04/Apr/23

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

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: import, milestone-2a
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-6540 Show toast while an import is in prog... Closed
Documented
Duplicate
is duplicated by COMPASS-6564 Add import log file Closed
Epic Link: COMPASS-5576
Story Points: 3
Documentation Changes: Needed
Documentation Changes Summary:

Now, when a user performs an import, without `Stop on errors` checked, we add any errors encountered to an error log file. After the import has completed, if errors occurred during the import, we show a button that opens the error log file.

Sprint: Iteration Xantic Sargo, Iteration Yellowtail Amberjack

 Description   

When errors are encountered (and `stopOnErrors` is true) we only show one error and the toast variant is danger. 

If `stopOnErrors` wasn't checked we can make this a warning variant, and the action is to open/save a log file with all of the error. This is similar to the functionality of opening Compass’ log file from the application menu. https://www.figma.com/file/4sXj42XyicBsdQkYIugHaV?node-id=1300:48358#361662487 



 Comments   
Comment by Githook User [ 24/Apr/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(compass-import-export): show import progress in toast, make import background COMPASS-6540 COMPASS-6555 (#4169)
Branch: COMPASS-6530-auto-add-curly-braces
https://github.com/mongodb-js/compass/commit/efde5421cf0d9e4cdcfa637d6f8456c35049eefa

Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(compass-import-export): show import progress in toast, make import background COMPASS-6540 COMPASS-6555 (#4169)
Branch: 1.36-releases
https://github.com/mongodb-js/compass/commit/efde5421cf0d9e4cdcfa637d6f8456c35049eefa

Comment by Githook User [ 06/Apr/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(compass-import-export): show import progress in toast, make import background COMPASS-6540 COMPASS-6555 (#4169)
Branch: export-csv
https://github.com/mongodb-js/compass/commit/efde5421cf0d9e4cdcfa637d6f8456c35049eefa

Comment by Githook User [ 04/Apr/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(compass-import-export): show import progress in toast, make import background COMPASS-6540 COMPASS-6555 (#4169)
Branch: main
https://github.com/mongodb-js/compass/commit/efde5421cf0d9e4cdcfa637d6f8456c35049eefa

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