Skip to content

Fix #8735: Added Instant MRMS Button Back to Command Center#9103

Open
IllianiBird wants to merge 1 commit into
MegaMek:mainfrom
IllianiBird:commandCenterMRMS
Open

Fix #8735: Added Instant MRMS Button Back to Command Center#9103
IllianiBird wants to merge 1 commit into
MegaMek:mainfrom
IllianiBird:commandCenterMRMS

Conversation

@IllianiBird
Copy link
Copy Markdown
Collaborator

Fix #8735

We used to have an option that would cause an MRMS button to be available in the command center. At some point, I have no idea when, it got deleted. Not sure why, not super important. The weird thing is that the MekHQ client option was left in place, as well as all its hookups. Super weird.

Anyhoo, I think it's important we don't hide GUI elements behind client options most players won't be aware of. Rather than restoring the original option I went ahead and ripped out the option code and now the button will always be visible.

The area where it lives was previously labeled 'procurement information', as that was no longer accurate I went ahead and removed the label. This has the added benefit of allowing us to place non-procurement stuff there, moving forward.

image

@IllianiBird IllianiBird self-assigned this May 26, 2026
@IllianiBird IllianiBird requested a review from a team as a code owner May 26, 2026 04:06
@IllianiBird IllianiBird added Bug Mass Repair/Mass Salvage Any issue around MSRS GUI Severity: Low Issues described as low severity as per the new issue form labels May 26, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 26, 2026

Codecov Report

❌ Patch coverage is 0% with 76 lines in your changes missing coverage. Please review.
✅ Project coverage is 15.19%. Comparing base (234164c) to head (480d38a).
⚠️ Report is 100 commits behind head on main.

Files with missing lines Patch % Lines
MekHQ/src/mekhq/MHQOptions.java 0.00% 34 Missing ⚠️
MekHQ/src/mekhq/gui/dialog/MHQOptionsDialog.java 0.00% 33 Missing ⚠️
MekHQ/src/mekhq/gui/CommandCenterTab.java 0.00% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9103      +/-   ##
============================================
+ Coverage     15.18%   15.19%   +0.01%     
- Complexity     9305     9340      +35     
============================================
  Files          1305     1308       +3     
  Lines        173071   173539     +468     
  Branches      26146    26202      +56     
============================================
+ Hits          26278    26377      +99     
- Misses       143752   144094     +342     
- Partials       3041     3068      +27     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug GUI Mass Repair/Mass Salvage Any issue around MSRS Severity: Low Issues described as low severity as per the new issue form

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Issue][50.11] Show Instant repair button in Command Center doesn't seem to work

1 participant