Skip to content

Updated Insufficient Astechs Nag To Use Immersive Dialog#6384

Merged
IllianiBird merged 3 commits intoMegaMek:masterfrom
IllianiBird:InsufficientAstechsNagDialogNew
Mar 24, 2025
Merged

Updated Insufficient Astechs Nag To Use Immersive Dialog#6384
IllianiBird merged 3 commits intoMegaMek:masterfrom
IllianiBird:InsufficientAstechsNagDialogNew

Conversation

@IllianiBird
Copy link
Collaborator

  • Refactored InsufficientAstechsNagDialog 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 `InsufficientAstechsNagDialog` 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 (e51dc25) to head (a10ed19).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6384   +/-   ##
=========================================
  Coverage     11.31%   11.31%           
- Complexity     6284     6285    +1     
=========================================
  Files          1070     1070           
  Lines        136110   136146   +36     
  Branches      21024    21029    +5     
=========================================
+ Hits          15400    15407    +7     
- Misses       119163   119192   +29     
  Partials       1547     1547           

☔ 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/GUI.properties
#	MekHQ/resources/mekhq/resources/NagDialogs.properties
@IllianiBird IllianiBird merged commit 4bde782 into MegaMek:master Mar 24, 2025
3 checks passed
@IllianiBird IllianiBird deleted the InsufficientAstechsNagDialogNew 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