Skip to content

Add note, plain and fallback options to the stat card - #373

Merged
tylercschneider merged 5 commits into
mainfrom
feature/stat-note
Oct 16, 2026
Merged

tylercschneider merged 5 commits into
mainfrom
feature/stat-note

Conversation

@tylercschneider

Copy link
Copy Markdown
Collaborator

One Sentence Summary

A developer building a client work report can now show a stat card as a plain figure with a note under it and a muted fallback when its value is missing.

ACs Covered

  • A developer can give a stat card a short note, shown under its value.
  • A developer can draw a stat card plain, without its card border and background.
  • A developer can give a stat card fallback text, shown in a muted colour when its value is missing.
  • A stat card given none of these options renders the same markup as before.
  • The note, the plain figure and the fallback take their styling from the keystone theme classes.

Decision Log

How does a stat show the report's note, plain style and missing-value fallback without changing the stat card in other apps?

Each is a new opt-in option on keystone_ui's stat card that leaves a card without it unchanged, chosen over changing the stat card's default look.

Code Example

Not relevant.

Out of Scope

Ticket Billed Against

Not specified.

Tokens Used

Not measured.

Effort

Not measured.

Closes #372


Generation Metadata

Scribe: pr-scribe adca11d
Rules: pr-body aec86e2, draft-reading 2e698a6, writing-style c3c2f61
Model: claude-sonnet-5-5, cc 2.1.299

🤖 Generated with Claude Code

tylercschneider and others added 5 commits October 15, 2026 18:27
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lasses

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tylercschneider
tylercschneider merged commit 8d8203e into main Oct 16, 2026
6 checks passed
@tylercschneider
tylercschneider deleted the feature/stat-note branch October 16, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add note, plain and fallback options to the stat card

1 participant