Skip to content

Add DateAtom sparkline-card component - 5xdev#24851

Open
chippison wants to merge 1 commit into
5.x-devfrom
dev-20376-date-atom-5x
Open

Add DateAtom sparkline-card component - 5xdev#24851
chippison wants to merge 1 commit into
5.x-devfrom
dev-20376-date-atom-5x

Conversation

@chippison

Copy link
Copy Markdown
Contributor

Description

Introduces DateAtom, a small presentational Vue atom that renders a single compared-date label (the backend's localised pretty period string) with muted, single-line styling for the sparklines redesign. It is the foundation for the date-comparison card body, kept as its own component so that it can be reused in other cards that can be worked with in parallel

Adds the component, its stylesheet (registered in getStylesheetFiles) and a unit spec.

This is just a straight backport to 5.x-dev of #24786

Checklist

  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules

Review

Introduces DateAtom, a small presentational Vue atom that renders a
single compared-date label (the backend's localised pretty period
string) with muted, single-line styling for the sparklines redesign.
It is the foundation for the date-comparison card body, kept as its own
component so that it can be reused in other cards that can be worked with in parallel

Adds the component, its stylesheet (registered in getStylesheetFiles)
and a unit spec.
@chippison chippison added this to the 5.13.0 milestone Jul 17, 2026
@chippison chippison changed the title Add DateAtom sparkline-card component Add DateAtom sparkline-card component - 5xdev Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant