Spaces:
Sleeping

Aissugur Kurganbekov Claude Opus 4.8 (1M context) commited on
Commit
c412fbd
·
1 Parent(s): eb7f266

UI/UX pass: accessibility, motion, design tokens, and an eval results chart

Browse files

Applied a 6-dimension audit (ui-ux-pro-max skill, run via parallel AI agents):
- a11y: visible :focus-visible rings, prefers-reduced-motion guard, lifted text
contrast (--text-dim/--text-faint), nav aria-labels + aria-current,
evidence aria-expanded, role=alert/status live regions, heading hierarchy
- design tokens: type / spacing / z-index / motion scales, --shadow-accent,
Space Grotesk display font, tabular-nums for figures
- interaction: 40/44px touch targets, press states, cursor:not-allowed disabled
- layout: 100dvh, max-width on main, mobile sidebar overflow fix, line-length caps
- components: SVG IconCheck (no emoji), Field error slot, Evaluation empty state
- NEW: dependency-free SVG donut + progress-bar chart on the Evaluation page

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

12 files changed +375 -71
Files changed (12)
.gitignore+3
frontend/index.html+1-1
frontend/src/components/EvalChart.jsxAdded+103
frontend/src/components/EvidencePanel.jsx+6-1
frontend/src/components/Sidebar.jsx+8-2
frontend/src/components/ui/Field.jsx+14-2
frontend/src/components/ui/States.jsx+8-3
frontend/src/components/views/Ask.jsx+3-5
frontend/src/components/views/Evaluation.jsx+38-28
frontend/src/components/views/Overview.jsx+2-2
frontend/src/lib/icons.jsx+6
frontend/src/styles.css+183-27