8000 fix: Armor will now show in its name if its Clan or IS, allowing for warehouse automation to work properly by Scoppio · Pull Request #6893 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Armor will now show in its name if its Clan or IS, allowing for warehouse automation to work properly #6893

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

Scoppio
Copy link
Collaborator
@Scoppio Scoppio commented May 6, 2025

What this does?

Armor will now show in its name if its Clan or IS, allowing for warehouse automation to work properly. The armor pieces origin faction only matter for construction, and by extension they matter for repair and stock on MekHQ.

Before:
Screenshot 2025-05-06 at 20 48 25

After:
Screenshot 2025-05-06 at 20 34 17

This enables the parts in use report to show IS and Clan armor individually, however this also shows that we need to fix that in the Parts in use report itself, it needs to have the faction (IS/Clan) exposed and being used as part of a composed index.

Copy link
codecov bot commented May 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.57%. Comparing base (518f07d) to head (915c274).
Report is 15 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6893      +/-   ##
============================================
- Coverage     11.57%   11.57%   -0.01%     
- Complexity     6610     6611       +1     
============================================
  Files          1100     1100              
  Lines        141034   141071      +37     
  Branches      21846    21848       +2     
============================================
- Hits          16329    16328       -1     
- Misses       123004   123045      +41     
+ Partials       1701     1698       -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.

Copy link
Collaborator
@IllianiBird IllianiBird left a comment

Choose a reason for hiding this comment

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

To think it was this simple

@Scoppio Scoppio merged commit e69bfe9 into MegaMek:master May 7, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0