8000 Updated Scenario and Deployment Labels in StratCon by IllianiBird · Pull Request #6447 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updated Scenario and Deployment Labels in StratCon #6447

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
Mar 28, 2025

Conversation

IllianiBird
Copy link
Collaborator
  • Updated text rendering logic to use bold uppercase text and adjusted rectangle dimensions dynamically based on text.
  • Simplified redundant Map access by replacing containsKey with getOrDefault.
  • Replaced hardcoded color and font settings with consistent use of constants.
image

Dev Notes

The goal here is to try and make individual scenarios a little easier for the user to identify without needing to jump back and forth as much between the AoO tab and the Briefing Room. I also wanted to make the labels a little easier on the eyes, as regular red font on gray was (for me, at least) a tad hard to read.

- Updated text rendering logic to use bold uppercase text and adjusted rectangle dimensions dynamically based on text.
- Simplified redundant `Map` access by replacing `containsKey` with `getOrDefault`.
- Replaced hardcoded color and font settings with consistent use of constants.
@IllianiBird IllianiBird added GUI StratCon Bugs relating strictly to StratCon UX User experience labels Mar 27, 2025
@IllianiBird IllianiBird self-assigned this Mar 27, 2025
Copy link
codecov bot commented Mar 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.29%. Comparing base (d1b6123) to head (01e0c12).
Report is 33 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6447   +/-   ##
=========================================
  Coverage     11.29%   11.29%           
- Complexity     6287     6290    +3     
=========================================
  Files          1072     1072           
  Lines        136591   136522   -69     
  Branches      21118    21106   -12     
=========================================
- Hits          15427    15426    -1     
+ Misses       119620   119556   -64     
+ Partials       1544     1540    -4     

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

@IllianiBird
Copy link
Collaborator Author
  • Fixed post merge missing imports

@IllianiBird IllianiBird merged commit 3c1e90e into MegaMek:master Mar 28, 2025
6 checks passed
@IllianiBird IllianiBird deleted the stratConScenarioLabels branch March 31, 2025 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI StratCon Bugs relating strictly to StratCon UX User experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0