Vitals bars: preset Foreground colours the bar, Background colours the label text
Maintainers usually reply within 5 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp
- Domain
- documentation, frontend
Research direction
Start with StatusBarView.axaml and the PresetBar implementation, then trace how preset Foreground and Background values are applied in both the status strip and Vitals panel. Inspect the theme editor's Theme.HealthTrack handling and the relevant preset serialization or migration path before changing the color behavior. Update the implementation and wiki/Configuration.md; the work is done when bars use Foreground for the fill and Background for label text, the default label remains readable, and existing themes or saved presets retain a valid track color.
Written by the indexing model from the issue text.
Description
Request
A vitals preset (health, mana, stamina, spirit, concentration) should colour its bar like this:
- Foreground = the bar's fill (as it does today)
- Background = the bar's label text (
health 100%,mana 100%, …)
What happens today
- Foreground colours the fill. This works.
- Background colours the bar's track (the empty part) and border, as Genie 4 did. On a full bar there is no empty part, so setting a background looks like it does nothing.
- The label text is a fixed white (
StatusBarView.axaml,Foreground="#fff"). No preset reaches it, so a light fill makes the label unreadable.
Repro
- Edit → Configuration… → Presets, select
health. - Set Foreground to yellow and Background to magenta, then Apply.
- Look at the health bar in the status strip at 100%.
Result: the bar turns yellow, the label stays white (close to invisible on yellow), and magenta shows nowhere.
Wanted: yellow bar, magenta label text.
Scope
- The status strip bars and the Vitals panel bars (both use
PresetBar). - A preset with no background keeps a readable default label colour.
To decide
- The track colour needs a new home if Background becomes the text colour. The theme editor's Vitals bars group has a track row per bar (
Theme.HealthTrack…) which writes into the preset's background today, so themes and saved presets that carry a track need a migration or a separate track setting. - Docs to update with the change:
wiki/Configuration.md, "The vitals bars".
- Dominant language
- C#
- Stars
- 2
- Forks
- 5
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenieClient/Genie5
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
GenieClient/Genie5#496 ·
Maintainers usually reply within 5 days
-
enhancement g4-regression
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
GenieClient/Genie5#494 ·
Maintainers usually reply within 5 days
-
area:ui-dock enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GenieClient/Genie5#462 ·
Maintainers usually reply within 5 days
-
area:mapper bug est:<1d P2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
GenieClient/Genie5#449 · 1 comment ·
Maintainers usually reply within 5 days
-
[Bug] Maps ▸ Update from Official Repo / Repair Maps give no notification of success or failurePossibly taken A pull request linked to this issue is open or already merged. Openarea:mapper area:updater bug est:<1d P3
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
GenieClient/Genie5#423 · 1 assignee ·
Maintainers usually reply within 5 days
All issues in GenieClient/Genie5
Similar issues
-
documentation good first issue kind:task level:starter size:s
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Arggon/ArggonStores#66 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Tool] MockAPIOpenhas-image has-license has-readme new-tool ready-to-approve repo-verified
Difficulty 1/5 Under an hour Newbie friendliness 72/100
shanselman/TinyToolTown#956 ·
Maintainers usually reply within 2 days
-
bug frontend
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Bug]: Native build script prints a traceback when Git is missing from PATHPossibly taken @Jaisuryan-web claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
KnifeLemon/Filee#1953 ·
Maintainers usually reply within 1 day