Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save work periodically to reduce loss from crashes #1580

Merged
merged 9 commits into from
Feb 20, 2024

Conversation

Comeza
Copy link
Contributor

@Comeza Comeza commented Jan 15, 2024

Closes #929

@Comeza Comeza marked this pull request as ready for review January 15, 2024 11:14
@Keavon
Copy link
Member

Keavon commented Jan 15, 2024

Thanks for the PR! Please comment in the issue so GitHub lets me assign it to you. Looking forward to landing this!

@Keavon
Copy link
Member

Keavon commented Jan 15, 2024

Thanks, I assigned it to you. Once you've finished implementing the feature and it seems to work in a production-ready way, please mark the PR as ready for review and also ping me so I notice and come to take a look with QA testing and code review. Welcome!

@TrueDoctor
Copy link
Member

@Keavon are you d'acorde with the approach taken here? Currently this saves the document after 30 s of inactivity. Should we add a second longer timer which forces a save if no inactivity was sufficiently long?

@Keavon
Copy link
Member

Keavon commented Jan 15, 2024

I was thinking that maybe a good time to save would be, if 30 seconds have elapsed, when the history stack changes. Does that seem feasible?

@Comeza Comeza marked this pull request as draft January 15, 2024 11:59
@Keavon Keavon force-pushed the master branch 2 times, most recently from 887d99b to 3f76526 Compare January 18, 2024 04:33
@Comeza Comeza force-pushed the master branch 2 times, most recently from 8b60cbe to 5ea0444 Compare January 19, 2024 14:02
@Comeza Comeza marked this pull request as ready for review January 19, 2024 15:35
Copy link

github-actions bot commented Feb 4, 2024

📦 Build Complete for 1001f0a
https://bff59410.graphite.pages.dev

Copy link
Member

@Keavon Keavon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this took so abnormally long to review!

@Keavon Keavon enabled auto-merge (squash) February 20, 2024 03:17
@Keavon Keavon merged commit dc7de4d into GraphiteEditor:master Feb 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Save work periodically to reduce loss from crashes
3 participants