8000 Fix: #7026 Fixed 'XP' Appearing Twice in Academy Tooltips by IllianiBird · Pull Request #7028 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix: #7026 Fixed 'XP' Appearing Twice in Academy Tooltips #7028

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 1 commit into from
May 17, 2025

Conversation

IllianiBird
Copy link
Collaborator

Fix #7026

We were accidentally including an explicit 'XP' append as well as an implicit. Now we're just using the implicit.

@IllianiBird IllianiBird self-assigned this May 16, 2025
@IllianiBird IllianiBird requested a review from a team as a code owner May 16, 2025 18:09
@IllianiBird IllianiBird added Bug GUI Severity: Low Issues described as low severity as per the new issue form labels May 16, 2025
Copy link
codecov bot commented May 16, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 12.04%. Comparing base (13a135e) to head (0c69b97).
Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
...rc/mekhq/campaign/personnel/education/Academy.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7028      +/-   ##
============================================
- Coverage     12.04%   12.04%   -0.01%     
+ Complexity     6891     6890       -1     
============================================
  Files          1102     1102              
  Lines        142196   142200       +4     
  Branches      21984    21985       +1     
============================================
- Hits          17131    17127       -4     
- Misses       123230   123235       +5     
- Partials       1835     1838       +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.

@HammerGS HammerGS requested a review from Copilot May 16, 2025 18:26
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where the string "XP" was appearing twice in Academy tooltips by removing the explicit append of "XP".

  • Removed the explicit "XP" from the tooltip construction in the Academy class.
  • Retained the implicit mechanism for including "XP" in the tooltip.
Comments suppressed due to low confidence (1)

MekHQ/src/mekhq/campaign/personnel/education/Academy.java:803

  • The removal of the explicit 'XP' appears correct, but please confirm that the implicit 'XP' addition is applied consistently, ensuring that tooltip information remains complete.
tooltip.append(skill).append(" (");

@Scoppio Scoppio merged commit 81e58f3 into MegaMek:master May 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI 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] Typo in education submenu (New to Nightly 1860)
2 participants
0