Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 2.67 KB

CHANGELOG.md

File metadata and controls

25 lines (17 loc) · 2.67 KB

Changelog

Unreleased

  • Fixed: the token discipline check missed hardcoded numbers. padding: 20 in a style or sx object is now flagged as a hardcoded size, like '20px'. It covers padding, margin, gap, positions, width, height, borderRadius and fontSize. lineHeight, opacity, zIndex, flexGrow, fontWeight, 0, theme calls and small sx theme-scale numbers (p: 2) are left alone. Tests with an InfoTile fixture: npm test.

0.3.0

  • /ds-drift now accepts free text after the command, next to --since and --label. Claude applies layout and scope notes (shared components in several folders, folders to skip) to ds-drift.config.json, even when the config already exists, uses focus notes in the interpretation, and reports what it changed.
  • Reports now show which folders adoption is made of: a "Folders counted for adoption" section (markdown and HTML) with each folder's UI files and how many use the design system, and the UI folders that were left out, outside include or inside componentsSrc. The JSON has the same data under coverage.
  • Two new notes from the scan: UI files outside include, and folders where no UI file imports the design system (they may belong in componentsSrc).
  • componentsSrc accepts a list of folders, for a design system split across several.
  • First run: if those notes appear, Claude asks one question about the folders after the scan, then rescans. Later runs never ask.
  • The report, README and Claude's reply now say what is not checked: documentation, rules, Figma, Storybook, lookalike components and duplicates.
  • Fixed a false "control has no accessible name" finding. An aria-label or aria-labelledby passed through slotProps (for example slotProps={{ htmlInput: { 'aria-label': 'Search' } }}), inputProps, InputProps or componentsProps now counts, so students who apply the standard MUI fix are no longer left on a review gate.

0.2.0

  • Added a Download report as markdown button to the HTML report. It saves the full report with every finding, not the capped version written to disk.
  • Fixed false "component not in the design system" failures in monorepos. Subpath imports such as @mui/material/colors are now resolved from the folder of the project's tsconfig, and names imported from a module that cannot be resolved are accepted, not failed. A run where nothing resolves reports API fidelity as not measured.
  • Docs: what the skill works with, why the score and the gate can disagree, and monorepo setup.

0.1.0

  • First release: /ds-drift skill with API fidelity, token discipline, imports and static accessibility checks, markdown, HTML and JSON reports, and comparison with the previous report.