Skip to content
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

Linked scenario unit selection #6029

Merged
merged 7 commits into from
Feb 15, 2025
Merged

Conversation

DM0000
Copy link
Collaborator

@DM0000 DM0000 commented Feb 13, 2025

Added checkbox to resolution screen so you can select which units continue to next scenario, instead of one button that sends force.
image

Open to ideas on how to improve the look of it. The "Continue to mission" part kind of long so wrapped it.

If whole force is selected then whole force will be deployed to next scenario otherwise force will still be undeployed from first scenario but just the units selected will be deployed to next linked scenario.

Checkboxes are not enabled if unit is totaled or not Functional.
Checkboxes are hidden if not a linked scenario.

@codecov-commenter
Copy link

codecov-commenter commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.36%. Comparing base (3f39021) to head (5f5f8b9).
Report is 32 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6029      +/-   ##
============================================
+ Coverage     10.34%   10.36%   +0.02%     
- Complexity     6135     6153      +18     
============================================
  Files          1039     1040       +1     
  Lines        139412   139454      +42     
  Branches      20677    20689      +12     
============================================
+ Hits          14420    14454      +34     
+ Misses       123549   123542       -7     
- Partials       1443     1458      +15     

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

Copy link
Member

@HammerGS HammerGS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked with Co-Pilot and IDEA AI no issues identified

@HammerGS HammerGS merged commit 6dc5f62 into MegaMek:master Feb 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants