Skip to content

fix(registry): dashboard and Vanilla follow-ups from the theme review - #267

Merged
leoafarias merged 4 commits into
mainfrom
feat/vanilla-follow-ups
Oct 1, 2026
Merged

leoafarias merged 4 commits into
mainfrom
feat/vanilla-follow-ups

Conversation

@leoafarias

Copy link
Copy Markdown
Collaborator

Description

Follow-ups from the review of #264 and #265, from plans/2026-10-01-vanilla-stack-follow-ups.md (Parts 2–4).

  • Dashboard (both presets):
    • Value-axis end labels sat about 12px inside their gridlines, because the chart pulls an edge label inward when the plot has no room past its bounds. Value axes now run half a step past each end and leave the bounds unlabelled, as the weekday axis already did.
    • The overview's "Recent orders" table needed 560px and clipped its Amount column at a 1280px desktop; narrower fixed columns bring the minimum to 400.
    • Vanilla's breadcrumb ends a long section name with an ellipsis.
  • Vanilla tests and spec:
    • The state test measures contrast (at least 1.05:1 against the rest fill and the border) instead of failing only on an exact match. Near-collisions the reference makes too are listed with a reason each.
    • The dark current tab's fill is pre-blended over the muted list, so its decoration shadow no longer darkens it (recorded as a deviation).
    • A Scaffold host test pins that Material text follows the host's ThemeData; the scope docs now say to give it the scope's brightness.
    • The spent spec phases, pending skips, and VANILLA_SPEC_ALL are removed.
  • CLI: the import sorter keeps CRLF files CRLF, and an unknown {{...}} token suggests upgrading remix_cli.

Decisions taken with the plan's defaults: the focus ring stays at shadcn's ring/50 (recorded deviation), and root-navigator overlays opening over the whole playground window are left as is (noted in the preview shell).

Related Issues

None.


Checklist

  • My PR includes unit or integration tests for all changed/updated/fixed behaviors.
    • Locally: registry_source 1363 passed (before the axis test was re-added), Vanilla tests 392 passed, apps/playground 24, apps/dashboard 115, apps/demo 61, remix_cli 215, tool tests 68. Dogfood mirrors the registry.
    • Not run locally because other sessions held the machine's Dart queue: the new dashboard axis-label test, ci:checks, docs:check, format, and analysis. CI runs them.
  • I have updated or added relevant documentation (doc comments with ///).
  • I am prepared to follow up on review comments in a timely manner.

Breaking Change

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

… orders table

The value axes ended on their own bounds, so the chart pulled the top and
bottom labels about 12px inward, off the gridlines they name. Like the
weekday axis, they now run half a step past each end and leave the bounds
unlabelled; the overview's two charts use the same helper. A test checks
that the revenue labels are evenly spaced.

The overview's "Recent orders" table needed 560px and clipped its Amount
column in the half-width card at a 1280px desktop; narrower fixed columns
bring the minimum to 400. Vanilla's breadcrumb now ends a long section name
with an ellipsis instead of cutting it off. The playground's preview notes
that root-navigator overlays open over the whole window.
…okens

The import sorter joined lines with \n, so a CRLF template whose icon import
was swapped came out with mixed endings; it now reuses the file's own line
ending. An unsupported {{...}} token now says the registry may need a newer
remix_cli.
The state test now measures each state's fill against the rest fill and the
border hairline (at least 1.05:1) instead of failing only on an exact match,
and lists the near-collisions the reference makes too, each with a reason.
The tab case sits on the muted list it is drawn on.

The dark current tab's fill is input at 30% pre-blended over the muted list,
so the decoration shadow beneath it no longer darkens it; the spec records
the deviation. A Scaffold host case shows Material text follows the host's
ThemeData, and the scope docs now say to give that ThemeData the scope's
brightness. The spent spec phases, the pending skips, and VANILLA_SPEC_ALL
are removed; every target still runs.
With room past each end, the Vanilla value labels already sat on their
gridlines, but Fortal's taller axis label was still pulled about 4px inward
at the top by `fitInside`. Dashboard charts on a padded value axis now turn
`fitInside` off for that axis through a shared chart style; the preset
chart recipes keep it, for charts whose axes end on their bounds.
@leoafarias
leoafarias marked this pull request as ready for review October 1, 2026 21:14
@leoafarias
leoafarias merged commit dfba501 into main Oct 1, 2026
16 checks passed
@leoafarias
leoafarias deleted the feat/vanilla-follow-ups branch October 1, 2026 21:14
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.

1 participant