Skip to content

Updated Admin Strain Nag to Use Immersive Dialog#6376

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

Updated Admin Strain Nag to Use Immersive Dialog#6376
IllianiBird merged 2 commits intoMegaMek:masterfrom
IllianiBird:AdminStrainNagNew

Conversation

@IllianiBird
Copy link
Collaborator

  • Refactored AdminStrainNagDialog to use ImmersiveDialogSimple for a more modular and customizable dialog implementation.
  • Replaced AbstractMHQNagDialog inheritance with a standalone class implementation to streamline functionality.
  • Updated NagController to account for AdminStrainNagDialog's restructuring, specifically replacing wasAdvanceDayCanceled() with shouldCancelAdvanceDay().
image

- Refactored `AdminStrainNagDialog` to use `ImmersiveDialogSimple` for a more modular and customizable dialog implementation.
- Replaced `AbstractMHQNagDialog` inheritance with a standalone class implementation to streamline functionality.
- Updated `NagController` to account for `AdminStrainNagDialog`'s restructuring, specifically replacing `wasAdvanceDayCanceled()` with `shouldCancelAdvanceDay()`.
- Added Glossary entry for Admin Strain
@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.32%. Comparing base (d43efbc) to head (cdb00e8).
Report is 6 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6376      +/-   ##
============================================
- Coverage     11.32%   11.32%   -0.01%     
+ Complexity     6284     6283       -1     
============================================
  Files          1070     1070              
  Lines        136003   136029      +26     
  Branches      21016    21019       +3     
============================================
- Hits          15402    15401       -1     
- Misses       119057   119081      +24     
- Partials       1544     1547       +3     

☔ 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 3ade219 into MegaMek:master Mar 24, 2025
6 checks passed
@IllianiBird IllianiBird deleted the AdminStrainNagNew branch March 25, 2025 04:50
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