Files
bbedward 19b4593bfe dash: replace the tab bar with an m3 navigation bar and inline edit controls
wallpaper: allow SVG wallpapers, with a workaround for a matugen panic I
encountered on passing it an SVG - fixes #1350
2026-09-19 20:56:05 -04:00

14 lines
1006 B
Markdown

# Progress Example
A standalone overview card: how much of today, this week, this month or this year has passed. The manifest uses the single file form, `"type": "dashCard"` plus `"component"`.
What it shows:
- `DashCardComponent` as the root. It has no tab, so it is not clickable and keyboard navigation skips it.
- A layout for every size in its range (1x1 up to 4x2). `wide` and `tall` come from the card's pixel size against `DashMetrics.gridRowUnit`.
- `live` gating. `SystemClock` is disabled while the dash is hidden.
- `tone` and the card colors (`accentColor`, `contentColor`, `mutedColor`, `chipColor`), so the card follows the Surface, Primary, Secondary and Tertiary tones like the built-in cards.
- `dash.options`: a choice for the period, a toggle for the time left and a choice for the tone. They show up in the card's options sheet in edit mode and under Settings → Dashboard.
Add it from the dash: open the overview, hover the selected page icon, click the pencil, then Add widget.