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

Refactored GM Person Editing to Handle Multiple Selections #4884

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Revised the PersonnelTableMouseAdapter to iterate through all selected people rather than processing a single person. Updated the edit.text resource to editPerson.text for improved clarity and consistency.

Partially Closes #4752

Added color-coded messaging to ensure random death events are highly noticeable to users. Imported necessary utilities and refined new day processing to utilize the enhanced reporting mechanism.
Revised the `PersonnelTableMouseAdapter` to iterate through all selected people rather than processing a single person. Updated the `edit.text` resource to `editPerson.text` for improved clarity and consistency.
@IllianiCBT IllianiCBT added Personnel Personnel-related Issues UX User experience labels Sep 25, 2024
@IllianiCBT IllianiCBT self-assigned this Sep 25, 2024
@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.29%. Comparing base (2ef3222) to head (cc1f3b2).
Report is 52 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4884      +/-   ##
============================================
- Coverage     10.31%   10.29%   -0.02%     
+ Complexity     5872     5862      -10     
============================================
  Files           944      944              
  Lines        131403   131404       +1     
  Branches      19064    19065       +1     
============================================
- Hits          13548    13529      -19     
- Misses       116539   116550      +11     
- Partials       1316     1325       +9     

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

Tested and seems to work

@HammerGS HammerGS merged commit ab432b9 into MegaMek:master Sep 25, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Personnel Personnel-related Issues UX User experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RFE: Allow user to set skill level when GM adding minimum complement to units in the hangar
3 participants