Skip to content

Improve: label each figure on a small System Summary tile - #127

Merged
SandObserver merged 1 commit into
mainfrom
feat/small-summary-slot-labels
Aug 18, 2026
Merged

SandObserver merged 1 commit into
mainfrom
feat/small-summary-slot-labels

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Render the slot label above its value on a small tile, in the chart-lbl style the medium size already uses.
  • Move the label map out of mkChartEl into one slotLabel helper shared by both sizes, so they cannot drift apart.
  • Stack .slot-row as a column and step the value and disk figures down, so three labelled rows still fit the small card.

Testing
All green. Verified in a container against live Glances and Beszel small tiles.

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.
  • CHANGELOG.md updated under Unreleased if the change is user-visible.

A small tile showed a bare number with nothing naming it. Each row now carries
the same label the medium size puts above its chart, from one shared map rather
than two lists that can drift, and the values step down enough to make room.
@SandObserver SandObserver added the ui/ux UI, UX, and accessibility only fix label Aug 18, 2026
@SandObserver
SandObserver merged commit e9f2786 into main Aug 18, 2026
4 checks passed
@SandObserver
SandObserver deleted the feat/small-summary-slot-labels branch August 18, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui/ux UI, UX, and accessibility only fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant