8000 Updated Deployment Shortfall Nag To Use Immersive Dialog by IllianiBird · Pull Request #6382 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updated Deployment Shortfall Nag To Use Immersive Dialog #6382

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

Conversation

IllianiBird
Copy link
Collaborator
  • Refactored DeploymentShortfallNagDialog 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 `DeploymentShortfallNagDialog` 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
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 (85d8b7d) to head (4b18ab6).
Report is 13 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6382      +/-   ##
============================================
- Coverage     11.32%   11.31%   -0.01%     
  Complexity     6280     6280              
============================================
  Files          1070     1070              
  Lines        136004   136052      +48     
  Branches      21016    21018       +2     
============================================
  Hits          15397    15397              
- Misses       119060   119111      +51     
+ Partials       1547     1544       -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.

- Changed exception messages in `AdminStrainNagDialog` and `DeploymentShortfallNagDialog` to include the class name dynamically using `getClass().getSimpleName()`.
- Enhances error clarity by specifying the exact dialog class in the exception output.
@IllianiBird IllianiBird merged commit 3a7f22b into MegaMek:master Mar 24, 2025
6 checks passed
@IllianiBird IllianiBird deleted the DeploymentShortfallNagDialogNew branch March 25, 2025 04:52
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
0