8000 Fix: #6782 Fixed Campaign Summary Displays of Kitchen Capacity and Injured Personnel by IllianiBird · Pull Request #6795 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix: #6782 Fixed Campaign Summary Displays of Kitchen Capacity and Injured Personnel #6795

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
merged 3 commits into from
May 2, 2025

Conversation

IllianiBird
Copy link
Collaborator
@IllianiBird IllianiBird commented Apr 27, 2025

Fix #6782

Dev Notes

The check for whether kitchens were in capacity had managed to get inverted at some point, causing the Campaign Summary pane to display incorrect information.

Furthermore, the number of injured personnel was malformed, causing all personnel to display as injured.

Both issues have now been fixed.

8000
…nnel

### Dev Notes
The check for whether kitchens were in capacity had managed to get inverted at some point, causing the Campaign Summary pane to display incorrect information.

Furthermore, the number of injured personnel was malformed, causing all personnel to display as injured.

Both issues have now been fixed.
@IllianiBird IllianiBird added Bug Severity: Medium Issues described as medium severity as per the new issue form labels Apr 27, 2025
@IllianiBird IllianiBird self-assigned this Apr 27, 2025
Copy link
codecov bot commented Apr 27, 2025

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 11.44%. Comparing base (5edad64) to head (465aac4).
Report is 53 commits behind head on master.

Files with missing lines Patch % Lines
MekHQ/src/mekhq/campaign/CampaignSummary.java 0.00% 6 Missing and 1 partial ⚠️
...mpaign/personnel/turnoverAndRetention/Fatigue.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6795      +/-   ##
============================================
- Coverage     11.46%   11.44%   -0.03%     
+ Complexity     6508     6501       -7     
============================================
  Files          1098     1099       +1     
  Lines        140812   140896      +84     
  Branches      21831    21837       +6     
============================================
- Hits          16150    16127      -23     
- Misses       122995   123104     +109     
+ Partials       1667     1665       -2     

☔ 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 changed the title Fixed Campaign Summary Displays of Kitchen Capacity and Injured Personnel Fix #6782: Fixed Campaign Summary Displays of Kitchen Capacity and Injured Personnel Apr 27, 2025
@IllianiBird
Copy link
Collaborator Author

I think this should be in 50.06 because it addresses an issue with fatigue recovery and also is a visual bug we've had a couple of user queries about over on Discord.

@IllianiBird IllianiBird changed the title Fix #6782: Fixed Campaign Summary Displays of Kitchen Capacity and Injured Personnel Fix: Fixed Campaign Summary Displays of Kitchen Capacity and Injured Personnel Apr 30, 2025
@IllianiBird IllianiBird requested a review from Scoppio May 1, 2025 04:24
@IllianiBird IllianiBird changed the title Fix: Fixed Campaign Summary Displays of Kitchen Capacity and Injured Personnel Fix: #6782 Fixed Campaign Summary Displays of Kitchen Capacity and Injured Personnel May 1, 2025
@Scoppio Scoppio merged commit 332fc0f into MegaMek:master May 2, 2025
3 checks passed
@IllianiBird IllianiBird deleted the campaignSummaryMalformedSummary branch June 7, 2025 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Severity: Medium Issues described as medium severity as per the new issue form
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[50.05] Warning symbol on Kitchens while (x/y) x is smaller than y.
2 participants
0