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

fix: Properly save flights periodically while the app is open and when it closes. #555

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

alexanderson1993
Copy link
Member

Description of Changes

  • Refactor how the filesystem-based database pulls data into classes, hopefully making it more robust.
  • Trigger a save process to happen whenever the server closes, whether in Electron or headless.
  • Fix a weird bug with how power nodes are saved.

Related Issue

Closes #547

How do you know the changes work correctly?

Manual testing - Started a flight, closed the Electron app, reopened the app, the flight was in the same state as before.

@alexanderson1993 alexanderson1993 added this pull request to the merge queue Feb 15, 2023
auto-merge was automatically disabled February 15, 2023 00:55

Merge queue setting changed

@alexanderson1993 alexanderson1993 removed this pull request from the merge queue due to the queue being cleared Feb 15, 2023
@alexanderson1993 alexanderson1993 merged commit 1addf1d into develop Feb 15, 2023
@alexanderson1993 alexanderson1993 deleted the flight-start branch February 15, 2023 00:57
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.

Flights are not being saved
1 participant