Skip to content

Container widget charts and customization #18

Open

Description

@tdeverx

Goal

Expand container widgets with more chart types, display options, and useful metrics while keeping widget customization readable.

Parent: #4

Research / design checklist

  • Decide which graph/chart types are useful enough for container cards.
  • Decide which additional widget metrics belong in the first pass.
  • Review whether container and volume cards should share the same widget model.
  • Define migration behavior for existing widget settings.

Implementation checklist

  • Add selected graph/chart types for container cards.
  • Add selected widget metrics beyond the current set.
  • Keep per-widget controls grouped by widget for readability.
  • Reuse shared swatch/color and design-system controls.
  • Ensure compact and expanded card renderers respect the same persisted settings.
  • Smoke-test the updated UI in Contained.app.

Acceptance criteria

  • Widget additions have clear defaults.
  • Existing widget settings migrate safely.
  • Container and volume card widget behavior remains consistent where shared.
  • UI changes remain readable in compact and expanded card states.

Activity

  1. changed the title [-]Container Widgets[/-] [+]Container widget charts and customization[/+] on Jul 1, 2026
  2. added
    feature
    design
    needs-design
    app
    and removed on Jul 1, 2026
  3. added this to the beta milestone on Jul 1, 2026
  4. added
    up-next
    and removed
    needs-design
    on Jul 1, 2026
  5. tdeverx commented on Jul 1, 2026

    @tdeverx
    OwnerAuthor

    Suggested first-pass widget set

    For beta, I would keep the widget work useful and legible rather than broad. The strongest first pass is renderer parity plus a few metrics users can immediately understand.

    Suggested graph/display options:

    • Sparkline line, area, and bar variants.
    • Interpolation choice for line/area charts where it changes readability.
    • Optional points, line width, bar width, and area gradient.
    • Per-widget tint override with inherit/default behavior.
    • Clear fallback when there is not enough data yet.

    Suggested metrics to prioritize:

    • CPU.
    • Memory.
    • Network in/out.
    • Disk or volume read/write where the data is reliable.
    • Health/restart status as a non-chart widget, if it fits the same customization model.

    Suggested migration/defaults:

    • Existing widget settings should keep rendering the same until a user changes them.
    • New chart settings should have conservative defaults that match the current card look.
    • Container and volume cards should share the same persisted knobs only where the metric semantics line up.
    • Compact and expanded cards should read from the same configuration, with layout-specific presentation only.

    Suggested beta acceptance bar: a user can customize a card without understanding the data model, and the same saved configuration does not surprise them when switching between compact/expanded views or between app launches.

  6. added
    in-progress
    and removed
    up-next
    on Jul 3, 2026
  7. tdeverx commented on Jul 3, 2026

    @tdeverx
    OwnerAuthor

    Progress update from draft PR #48 (56700b8d): this is now actively in progress. The branch moves widget configuration/personalization into the runtime-first app model, routes card rendering through shared card/chart primitives, adds sparkline scaling tests, and keeps compact/expanded card behavior tied to the same persisted presentation state.

    Remaining before closing: the manual UI pass still needs to confirm final chart/display choices, useful additional metrics, and visual readability in the running app.

  8. tdeverx commented on Jul 4, 2026

    @tdeverx
    OwnerAuthor

    Progress update from draft PR #48 at 51d9c734: widget/card state now sits inside the runtime-first app model and card rendering keeps using shared chart/card primitives, including the runtime-scoped morph fix.\n\nStill open: this PR does not add the next chart types or new reliable volume/path throughput metrics, so final widget options and manual readability checks remain here.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    appdesignfeaturein-progress

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions