8000 Added Optional Autosave at Mission/Contract End by IllianiBird · Pull Request #6473 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added Optional Autosave at Mission/Contract End #6473

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

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

IllianiBird
Copy link
Collaborator
  • Updated autosave implementation to replace requestBeforeMissionAutosave with requestBeforeScenarioAutosave for more accurate naming.
  • Added support for autosaving before mission/contract conclusion via the new method requestBeforeMissionEndAutosave in IAutosaveService.
  • Deprecated SAVE_BEFORE_MISSIONS_KEY and replaced it with SAVE_BEFORE_SCENARIOS_KEY in MHQConstants.
  • Introduced relevant GUI adjustments for new autosave features, including updated labels in GUI.properties.

Fix #4506

- Updated autosave implementation to replace `requestBeforeMissionAutosave` with `requestBeforeScenarioAutosave` for more accurate naming.
- Added support for autosaving before mission/contract conclusion via the new method `requestBeforeMissionEndAutosave` in `IAutosaveService`.
- Deprecated `SAVE_BEFORE_MISSIONS_KEY` and replaced it with `SAVE_BEFORE_SCENARIOS_KEY` in `MHQConstants`.
- Introduced relevant GUI adjustments for new autosave features, including updated labels in `GUI.properties`.
@IllianiBird IllianiBird added the UX User experience label Mar 28, 2025
@IllianiBird IllianiBird self-assigned this Mar 28, 2025
Copy link
codecov bot commented Mar 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.30%. Comparing base (7ba01b2) to head (0c788c2).
Report is 34 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6473      +/-   ##
============================================
+ Coverage     11.28%   11.30%   +0.01%     
- Complexity     6287     6288       +1     
============================================
  Files          1072     1072              
  Lines        136372   136326      -46     
  Branches      21088    21090       +2     
============================================
+ Hits          15394    15405      +11     
+ Misses       119439   119386      -53     
+ Partials       1539     1535       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@IllianiBird IllianiBird merged commit ae46228 into MegaMek:master Mar 28, 2025
6 checks passed
@IllianiBird IllianiBird deleted the missionAutosave branch March 31, 2025 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX User experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFE] End of Contract Autosave
2 participants
0