Persist activities to a file #169
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Siderus/Orion!169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/persist-activities"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed?
Activities will now persist when orion will quit.
@ -35,6 +36,7 @@ import ActivitiesWindow from './windows/Activities/window'app.mainWindow = null.json?If I have an "active" and not completed acitivy, it will be saved with the old percentage. What should we do about it? Should we ignore them and save only the complete activities? Should we resume them? Or should we mark them as "interrupted"?
To test the change request, just create a big file, then add it. Then close the app and re open it with the Activity List.
Hmm, is it possible to resume them?
I don't think so. :( For now at least.
We need a different UI/structure to report failures, allow retry etc etc etc
The fact is that those actions could fail when resuming them: if the file is not there anymore we need to take care of that.
What do you think?
Alright, let's mark them as "interrupted" then :)
We have a bug, while I was just adding a big file to test it, it did not appear on the list of the activities. but when it was completed it was there.
https://sentry.io/siderus-opensource/orion/issues/635560601/?environment=development
LGTM, tested on MacOS manually