githubnext/chopinPublic

Let's compose rich plans together

Add rendered design checks to required browser CI

MAMaggie Appleton authored
4ef7628Patch
Parent53488b5
82 files changed+3235-2135 binary
StackedSplit
.github/workflows/ci.yml+6 −0
apps/web/.impeccable/design.json+1 −1
apps/web/DESIGN.md+1 −1
apps/web/src/design-audit/authored-content.css+1 −1
apps/web/src/design-audit/authored-content.tsx+1 −1
apps/web/src/design-audit/controls.tsx+5 −5
apps/web/src/design-audit/interactive.tsx+159 −0
apps/web/src/design-audit/inventory.ts+6 −0
apps/web/src/design-audit/page.tsx+4 −0
apps/web/src/design-audit/specimens.test.tsx+6 −2
apps/web/src/design-audit/surfaces.tsx+4 −7
artifacts/design-browser-ci/.gitignore+6 −0
artifacts/design-browser-ci/contrast-decision.md+42 −0
artifacts/design-browser-ci/findings.md+36 −0
artifacts/design-browser-ci/probe-accessibility.md+38 −0
artifacts/design-browser-ci/probe-menu-focus-actual.png+0 −0

Binary file not shown.

artifacts/design-browser-ci/probe-menu-focus-diff.png+0 −0

Binary file not shown.

artifacts/design-browser-ci/probe-menu-focus-expected.png+0 −0

Binary file not shown.

artifacts/design-browser-ci/progress.md+78 −0
artifacts/design-browser-ci/report.html+786 −0
bun.lock+5 −0
docs/design-contract.md+2 −1
e2e/design/Dockerfile+14 −0
e2e/design/Dockerfile.dockerignore+23 −0
e2e/design/README.md+63 −0
e2e/design/approval-boundary.e2e.ts+41 −0
e2e/design/approved-contrast.ts+37 −0
e2e/design/approved-contrast/badge.json+28 −0
e2e/design/approved-contrast/buttons-destructive.json+160 −0
e2e/design/approved-contrast/buttons-ghost.json+116 −0
e2e/design/approved-contrast/buttons-primary.json+116 −0
e2e/design/approved-contrast/buttons-secondary.json+116 −0
e2e/design/approved-contrast/buttons-sizes.json+72 −0
e2e/design/approved-contrast/callouts.json+28 −0
e2e/design/approved-contrast/chat.json+182 −0
e2e/design/approved-contrast/code.json+224 −0
e2e/design/approved-contrast/fields.json+28 −0
e2e/design/approved-contrast/table.json+94 −0
e2e/design/approved-contrast/typography.json+292 −0
e2e/design/coverage.ts+30 −0
e2e/design/fixture.ts+111 −0
e2e/design/interactions.e2e.ts+94 −0
e2e/design/playwright.config.ts+42 −0
e2e/design/responsive.e2e.ts+60 −0
e2e/design/snapshots/narrow/badge.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/buttons-destructive.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/buttons-ghost.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/buttons-primary.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/buttons-secondary.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/buttons-sizes.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/callouts.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/chat.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/code.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/dialog-disabled.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/dialog-error.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/fields.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/menu-focus.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/select-open.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/table.png+0 −0

Binary file not shown.

e2e/design/snapshots/narrow/typography.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/badge.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/buttons-destructive.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/buttons-ghost.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/buttons-primary.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/buttons-secondary.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/buttons-sizes.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/callouts.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/chat.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/code.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/dialog-disabled.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/dialog-error.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/fields.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/menu-focus.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/select-open.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/table.png+0 −0

Binary file not shown.

e2e/design/snapshots/wide/typography.png+0 −0

Binary file not shown.

e2e/design/specimens.e2e.ts+20 −0
e2e/playwright.config.ts+2 −0
package.json+4 −1
scripts/check-design-production.ts+18 −0
scripts/design-browser.ts+32 −0
scripts/design-contract/exceptions/dynamic-web.json+1 −1