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

Added: Remove Loadouts & Unmanage Games #1279

Merged
merged 20 commits into from
Apr 30, 2024
Merged

Added: Remove Loadouts & Unmanage Games #1279

merged 20 commits into from
Apr 30, 2024

Conversation

Sewer56
Copy link
Member

@Sewer56 Sewer56 commented Apr 29, 2024

fixes #399

This PR adds the ability to remove loadouts and cleanup after a game.

Important Notes:

  • Removing an Active Loadout will Reset the Game to Its Original Disk State.
  • Unmanaging the game will Reset the Game to its Original Disk State
    • And remove the original state, so a new original state is created next time game is managed.
    • This logic will also trigger on removal of last loadout, not just explicit 'unmanage'.
  • Existing Code was slightly tweaked to handle loadout removal more gracefully.
    • (Previously, UI did not like it)
  • Added a CLI verb for deleting loadout(s).
  • New functionality has accompanying simple tests.
  • Hitting the Trash Can in Current UI Unmanages a Game
    • Intended as a dev tool, until this part of UI is redesigned
  • Updates some previous code to use newer MnemonicDB APIs
@Sewer56 Sewer56 self-assigned this Apr 29, 2024
@Sewer56 Sewer56 requested a review from a team April 30, 2024 05:50
@Sewer56 Sewer56 changed the title Added: Removal of Loadouts Apr 30, 2024
@Sewer56 Sewer56 added the Tech: data-store This is related to the Data Store. label Apr 30, 2024
@Sewer56 Sewer56 marked this pull request as ready for review April 30, 2024 05:56
@erri120 erri120 self-requested a review April 30, 2024 07:33
@Sewer56 Sewer56 merged commit f985160 into main Apr 30, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tech: data-store This is related to the Data Store.
3 participants