8000 Improvement: Changed Dependent Joining or Leaving Messaging to use Civilian Terminology and State Profession by IllianiBird · Pull Request #6927 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improvement: Changed Dependent Joining or Leaving Messaging to use Civilian Terminology and State Profession #6927

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 10, 2025

Conversation

IllianiBird
Copy link
Collaborator

Now, rather than stating 'x has joined as a Dependent' the civilian joining message will state 'x has joined as a '. Right now that's just going to show 'Dependent', but when #6920 goes live this will be much more impactful.

@IllianiBird IllianiBird self-assigned this May 9, 2025
@IllianiBird IllianiBird requested a review from a team as a code owner May 9, 2025 01:37
@IllianiBird IllianiBird added Personnel Personnel-related Issues GUI labels May 9, 2025
Copy link
codecov bot commented May 9, 2025

Codecov Report

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

Project coverage is 12.03%. Comparing base (4158360) to head (7ba1cee).
Report is 46 commits behind head on master.

Files with missing lines Patch % Lines
...src/mekhq/campaign/personnel/RandomDependents.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6927      +/-   ##
============================================
- Coverage     12.04%   12.03%   -0.01%     
+ Complexity     6851     6848       -3     
============================================
  Files          1101     1101              
  Lines        141386   141372      -14     
  Branches      21897    21900       +3     
============================================
- Hits          17028    17020       -8     
+ Misses       122537   122530       -7     
- Partials       1821     1822       +1     

☔ 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 10, 2025 15:25
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 updates personnel messaging to use civilian terminology and state profession instead of the generic "Dependent" label.

  • Refactored the joining message in RandomDependents.java to include the personnel’s primary role label.
  • Modified resource bundle messages in RandomDependents.properties to reflect civilian terminology for both joining and leaving events.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
MekHQ/src/mekhq/campaign/personnel/RandomDependents.java Updated the report generation to include a profession label and reordered import statements.
MekHQ/resources/mekhq/resources/RandomDependents.properties Adjusted message templates to replace "Dependent" with "Civilian" terminology.

@HammerGS HammerGS merged commit fa7a365 into MegaMek:master May 10, 2025
6 checks passed
@IllianiBird IllianiBird deleted the dependentJoining branch June 7, 2025 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI Personnel Personnel-related Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0