Skip to content

Updated Insufficient Astech Time Nag To Use Immersive Dialog#6385

Merged
IllianiBird merged 2 commits intoMegaMek:masterfrom
IllianiBird:InsufficientAstechTimeNagNew
Mar 24, 2025
Merged

Updated Insufficient Astech Time Nag To Use Immersive Dialog#6385
IllianiBird merged 2 commits intoMegaMek:masterfrom
IllianiBird:InsufficientAstechTimeNagNew

Conversation

@IllianiBird
Copy link
Collaborator

  • Refactored InsufficientAstechTimeNagDialog to utilize ImmersiveDialogSimple for improved modularity and customization.
  • Replaced inheritance from AbstractMHQNagDialog with a standalone class to simplify and streamline the implementation.
  • Updated NagController logic to replace wasAdvanceDayCanceled() with shouldCancelAdvanceDay() to reflect the updated behavior.
image

- Refactored `InsufficientAstechTimeNagDialog` to utilize `ImmersiveDialogSimple` for improved modularity and customization.
- Replaced inheritance from `AbstractMHQNagDialog` with a standalone class to simplify and streamline the implementation.
- Updated NagController logic to replace `wasAdvanceDayCanceled()` with `shouldCancelAdvanceDay()` to reflect the updated behavior.
@IllianiBird IllianiBird self-assigned this Mar 24, 2025
@codecov
Copy link

codecov bot commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.31%. Comparing base (e82fc1b) to head (e51dc25).
Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6385   +/-   ##
=========================================
  Coverage     11.31%   11.31%           
- Complexity     6279     6284    +5     
=========================================
  Files          1070     1070           
  Lines        136052   136110   +58     
  Branches      21018    21024    +6     
=========================================
+ Hits          15393    15400    +7     
- Misses       119114   119163   +49     
- Partials       1545     1547    +2     

☔ 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.

# Conflicts:
#	MekHQ/resources/mekhq/resources/NagDialogs.properties
@IllianiBird IllianiBird merged commit 02dd565 into MegaMek:master Mar 24, 2025
3 checks passed
@IllianiBird IllianiBird deleted the InsufficientAstechTimeNagNew branch March 25, 2025 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants