Skip to content

Conversation

@SJuliez
Copy link
Member

@SJuliez SJuliez commented May 20, 2024

In development

SJuliez and others added 9 commits May 20, 2024 11:40
MegaMek
+ Fix 5476: Update SV armor slots to 2 or 1 for Rating E or F respectively

MegaMekLab
+ Fix #MegaMek#1514: Fix Atrocious table shading render speed

MekHQ
+ PR MegaMek#4106: Use tabs in customize scenario dialog
+ PR MegaMek#4105: Updated Post-Scenario Logging for Prisoners
+ PR MegaMek#4104: Fixed Post-Scenario Tracking System's Handling of Multiple Personnel in autoAwards
+ PR MegaMek#4102: Fixed Award Tier Count Calculations in PersonViewPanel
+ PR MegaMek#4093: Added Negotiation and Scrounge Skill Settings for Administrator Personnel
+ PR MegaMek#4054: Added Life Paths Campaign Options Tab, Added Education Module
            Very Important to read the documentation on this feature (See Docs folder)
# Conflicts:
#	megamek/docs/history.txt
@codecov
Copy link

codecov bot commented Aug 3, 2024

Codecov Report

❌ Patch coverage is 0% with 209 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.67%. Comparing base (6e9789c) to head (e5e14d7).
⚠️ Report is 29 commits behind head on main.

Files with missing lines Patch % Lines
...k/src/megamek/client/ui/util/FluffImageHelper.java 0.00% 83 Missing ⚠️
...ialogs/unitSelectorDialogs/EntityReadoutPanel.java 0.00% 64 Missing ⚠️
...gamek/src/megamek/client/ui/FluffImageTooltip.java 0.00% 62 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5490      +/-   ##
============================================
- Coverage     29.68%   29.67%   -0.02%     
- Complexity    16602    16634      +32     
============================================
  Files          3139     3140       +1     
  Lines        302518   302908     +390     
  Branches      53068    53165      +97     
============================================
+ Hits          89804    89884      +80     
- Misses       203286   203554     +268     
- Partials       9428     9470      +42     

☔ 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 added the For New Dev Cycle This PR should be merged at the beginning of a dev cycle label Jan 31, 2025
@rjhancock
Copy link
Collaborator

9 months with no changes. Closing for now. Please re-open when updated.

@rjhancock rjhancock closed this Feb 1, 2025
@HammerGS HammerGS reopened this Feb 1, 2025
@HammerGS
Copy link
Member

HammerGS commented Feb 1, 2025

Please leave open.

SJuliez and others added 3 commits February 26, 2025 17:20
# Conflicts:
#	megamek/data/mechfiles/vehicles/3145/Davion/Destrier Siege Vehicle.blk
#	megamek/src/megamek/client/ui/swing/MekViewPanel.java
#	megamek/src/megamek/client/ui/swing/util/FluffImageHelper.java
@AFoletti
Copy link

FWIW, I am super-happy to see this development happening. Can't wait to have it merged.
Thanks for your work!

# Conflicts:
#	megamek/docs/AI and MegaMek Suite (Not Princess Stuff).txt
#	megamek/docs/history.txt
#	megamek/src/megamek/client/ui/FluffImageTooltip.java
#	megamek/src/megamek/client/ui/swing/MekViewPanel.java
#	megamek/src/megamek/client/ui/util/FluffImageHelper.java
@HammerGS HammerGS marked this pull request as ready for review January 10, 2026 20:18
@HammerGS HammerGS requested a review from a team as a code owner January 10, 2026 20:18
Copilot AI review requested due to automatic review settings January 10, 2026 20:18
Copy link
Contributor

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 adds support for processing multiple fluff images for units, allowing users to navigate through multiple available images instead of only showing a single image. The implementation is marked as "Work in Progress" and contains test code that needs to be removed before merging.

Changes:

  • Added support for retrieving and displaying multiple fluff images per unit
  • Implemented image navigation controls (previous/next buttons) in the EntityReadoutPanel
  • Created FluffImageTooltip class to display metadata from YAML files associated with fluff images

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 18 comments.

File Description
TargetRollModifier.java Added documentation explaining that modifiers apply to target numbers (positive = bad, negative = good)
FluffImageHelper.java Added methods to retrieve multiple fluff images, including directory traversal for chassis/model subdirectories; contains test code that needs removal
EntityReadoutPanel.java Implemented UI controls for navigating multiple fluff images; contains extensive commented-out code that should be removed
FluffImageTooltip.java New utility class for extracting and formatting tooltip information from YAML metadata files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Fix getExtension variable bug (filename vs f)
- Remove test code: use get(0) instead of random image selection
- Fix double setText on imageInfoLabel (removed redundant call)
- Add null safety to FluffImageRecord.getImage() for null file
- Add null parent check in FluffImageTooltip.getYamlFile()
- Add Files.walk depth limits for performance
- Fix JavaDoc: return descriptions now match actual behavior
- Remove commented-out code blocks
- Remove unused prepareLabelText method
- Fix path construction for PLACEHOLDER_IMAGE_NAME
- Add bounds checks in isSuitableYamlFile()
@HammerGS
Copy link
Member

I've used Claude to update the branch, as I'm back to working on the fluff pack.

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

Labels

For New Dev Cycle This PR should be merged at the beginning of a dev cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants