Repository navigation
style(ui): one type scale, one 24px panel edge and one corner rule - #471
Conversation
Titles barely outranked the lines under them, and small text (times, addresses, Filters, Sort, Register) carried 0.36px letter spacing that made it read as another typeface. The scale is now 12 / 14 / 15 / 16 / 20 / 28px with no tracking on body text: view and class titles 20px, row and result titles 16px, result time and address 14px in the foreground colour, Register 15px without its wide tracking. Corners follow one rule: 8px for buttons, fields, boxes, notices, rows and tags; 16px for panels, sheets and menus; pills fully round; the checkbox keeps 4px. The 2, 4, 6 and 12px steps are deleted and their ~20 call sites renamed, rather than aliased, so each class still says what it draws. radius.test.ts keeps a deleted step from coming back, since it would generate nothing and draw a square corner silently. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The header band sat at 16px while list rows and the class page sat at 24px, and the toolbar, notice and Online Classes row each landed somewhere else, so a country page started its lines at four distances from the side. The edge is now one theme value, --spacing-gutter (24px), used as px-gutter, -mx-gutter and inset-x-gutter for the header, search field, filter tags, nearby notice, rows and their dividers, the class page and its sticky Register bar, and the share, filter, registration and calendar bodies. tailwind-merge learns the token, so it replaces a slot's px-* rather than shipping beside it. The list toolbar pads to the gutter less its buttons' own 12px, and the control that ends a header pulls its icon onto the edge, in the column of the rows' chevrons (6px with a mouse, 12px on a touch screen, where the button is 44px wide). Every row icon sits in one 24px slot, so desktop flags shrink from 36px and every country row is one height. On a country page Online Classes drops its lone icon, so it starts with the region names. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Eastbourne's row read "Learn to Meditate" under its name: the SahajCloud subtitle advertised a course to someone only choosing the right part of the country. A child place's row no longer shows its subtitle. Co-Authored-By: Claude Opus 5.5 <[email protected]>
At 20px beside a header's four icons, North of England and Northern Ireland were cut on a 390px phone, and five long names at 360px. A title now takes a second line instead. Row counts drop tabular figures, whose footed 1 read as another typeface. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
radius.test.ts walks src/, so the selection's closed list names it. The menu skin run gains its padding and surface, since the Modal now shares its 16px corner and border. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Every header control carries the edge pull as a last: rule, so whichever one ends the row lands on the panel edge; FilterButton's isLast is gone. - ListItem drops its subtitle prop, which no caller passes, and the weight classes its text-lg title already sets. - Drop the unused --radius-3xl and the --text-md alias of --text-base. - The denied-feedback notice sits on the gutter like the nearby one. - The geocoder's corner reads --radius-lg. - gutter.test pins tailwind-merge's knowledge of the gutter token. - src/components/AGENTS.md keeps its table layout: only its content edits. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The collapsed list toggle draws its glyph at 20px like the rest of the header, so the edge pull lands it on the panel edge too. - radius.test.ts flags any rounded step the theme no longer draws, not only the four that were deleted, including a sideless or ! form. - The contact popover takes the pickers' 8px corner; 16px stays with panels, sheets and the Menu atom's menus. - Two comments still named the 13px size and the p-4 bodies. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ange Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
The accessibility gate failed on `atoms--inputs--checkbox`: the enabled "Checkbox off" button answered to 44x43px. Measured at 390px with a coarse pointer: the cell is 44px tall (12px padding either side of a 20px box) and the `touch-target` area is 44px, so it fits to the pixel. The gate probes a symmetric cross from `Math.round(centre)`, and this branch's line heights put the row at a sub-pixel offset — the control's own centre landed on 421.86, the painted area on [399, 443). One probe then falls outside and the span reads 43. 14px of padding gives the area 2px either side, so a fractional row cannot cost the last probe. The area measured was already 44px; nothing about the floor is relaxed. Gate now clean: 52 stories, 655 controls. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjV79nhHqdKBCvFxBVm
|
Fixed the accessibility gate's failure on The enabled "Checkbox off" button answered to 44×43px. Its cell is 44px tall — 12px of padding either side of a 20px box — and the The story grid's coarse-pointer padding is now 14px, which leaves the area 2px either side. The measured area was already 44px, so the floor is unchanged.
🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
sahajatlas-design | 8311c82 | Nov 24 2026, 07:05 PM |
One-line facts sat line on line under a result's title. Every compact fact now takes at least 22px, with 6px between facts, the same whether or not a fact has a second line. The spacing that margins stacked on top of the row's gap (the facts' mt-0.5 mb-1, the chips' mt-1, and the class page's chips -mb-2 cancelling the facts' my-2) is now each container's gap, plus one margin where a step is deliberately larger. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…dges # Conflicts: # CHANGELOG.md
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
Holistic. The shape is right: the scale, the edge and the corners are @theme tokens, so most of the 55 files follow by naming one, and radius.test.ts closes the hole the deletions open — a rounded step that generates nothing and draws square with every lane green. Nothing is smuggled in. Two things undercut it. The body cites "the ticket" four times, this PR links none, and no issue here matches it, so three design calls — results at 14px, titles wrapping, rows losing their subtitle — rest on a document the reviewer cannot open. And the gutter stops one band short of its own rule. No host-observable surface moves, and the CHANGELOG says so in those words.
Findings
should-fix— the gutter never reachesListToolbar: itscalc()computes thepx-3it replaced (ListToolbar.tsx:26).should-fix— a city's own header still shows the subtitle this PR calls misleading on a row (RegionView.tsx:177).consider— the a11y gate's probe centre, not the story grid, is what reported 43px (StoryGrid.tsx:28).consider— Streamline:px-6already draws 24px, so the token costs a shim, a doc rule, a spec case and acalc()(tv.ts:10).
What was checked. All 55 files, and each touched module whole on the branch. Walked, not grepped: no text-md or deleted rounded-* step survives in src/; radius.test.ts accepts rounded-s-lg, rounded-none and rounded-lg! and flags a bare rounded; region.subtitle is still read at RegionView:89, so no fetcher went dead; HEADER_EDGE lands on the last control of every header, CalendarView's absolute Close included. The streamliner covered 6 pieces, kept 4, and 2 of its 3 sketches are posted — folding HEADER_EDGE into HEADER_CONTROL would make it mean "at the panel edge", which the calendar header's labelled FilterButton is not.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
The probe walked out from the control's own rect centre over a window half a tap area wide, while what it measured was the `touch-target` `::after` around it. The two part company by a fraction of a pixel, which costs the outermost probe on one side, so an area that is exactly 44px reports 43. The window is now a whole area either side and each side stops at its own first miss, which also keeps the probe count flat: 52 stories in 42s, as before. `clipped` narrows with it. A point past the end of a run changes no measurement, so only the point that ended a side is asked whether it was off the viewport — a wider window would otherwise exempt most controls near an edge from the floor. So the story grid needs no slack of its own, and its coarse-pointer padding goes back to 12px, which fits a 20px control's area to the pixel. Watched both ways at that padding: `atoms--inputs--checkbox` reports 44x43px with the old window and the gate is clean with the new one. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZKurZrr4ZeChNLFt3
The gutter spec reads one file, so it comes through `readRepoSource` rather than `source-tree`, whose module scope walks `src/` on every run of every spec that imports it. That makes it another adopter of `repo-source.ts`, the widest edit in the tree, so the per-edit selection ceiling goes 22 to 23. Timed on 4 cores, median of three, against a 12s budget: 4.4s for that widest edit, 6.0s for `src/config/i18n.ts`, still the slower of the two. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZKurZrr4ZeChNLFt3
The tap-floor bullet said the probe walks out from "the centre" without saying whose, which is the whole defect: the control's rect centre is not the `::after` area's, so the window reaches a whole area either side. The `clipped` note narrows with it — only the point that ends a run counts. The per-edit ceiling and its two timings are now 23. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZKurZrr4ZeChNLFt3
|
Answered the review's four threads, pushed to the relay branch.
🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
… and gutter #470 moved the compact card's close control and the map-less cog onto the Button atom's `floating`/`ghost` recipes, where this branch had moved the same strip onto `px-gutter`. Each resolution keeps both: the recipe and the pull from `main`, the 16px corner and the 24px edge from here. `SettingsMenu`'s `toolbar` prop no longer exists — `variant="ghost"` is its replacement, so the strip's cog takes that. The CHANGELOG keeps all three entries, newest first. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjWDRbnwAujPimsoesR
|
Merged
Lean gate green on the merge: lint, typecheck, 2388 specs. 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
There was a problem hiding this comment.
Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. 🤖 Written by the sydevs autonomous loop — see what this is
#471's type, gutter and corner system against the inline embed. - The ghost cog strip #471 moved onto the gutter is gone here: the cog sits in the inline heading row instead. - CompactEmbedView stays deleted; #471 only restyled its corner. - The menu skin run takes #471's value — the theme no longer declares --radius-xl, so `rounded-xl` would draw a square corner silently. - DrawerTitle keeps both: #471's wrapping 20px title and this branch's data-sy-place, which gives a region's title way to the page heading. - The inline heading row and map column read px-gutter, so the heading lands on the same edge as the view header below it. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVBunJvZkYsfP742FP
#471 took `text-md` and every corner step but `rounded-lg`/`rounded-2xl` out of `@theme`, so the merge keeps its type scale and corner rule and re-applies them to this branch's new code: `text-base` on the seven headings that read the deleted token, `rounded-lg` on the checklist row MultiSelect extracted out of SearchFilters, and `px-gutter`/`-mx-gutter` on the carousel's full-bleed cancel. EventFacts keeps `flex-1` from here and the type scale from main. Both sides ratcheted the per-edit selection 22 -> 23 for an adopter of their own, so together they need 24: measured at 4.3s against i18n.ts's 6.6s on 4 cores, well inside the 12s budget. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjYuB5eFdko61T3R9Un
#471 landed one type scale, one 24px panel edge and one corner rule on main; these are the places the branch's own code meets it. - The inline heading row and the map column read px-gutter, so the heading lands on the same edge as the view header below it. - DrawerTitle keeps both #471's wrapping 20px title and this branch's data-sy-place, which gives a region's title way to the page heading. - The ghost cog strip #471 moved onto the gutter is gone here; the cog sits in the inline heading row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
#471 landed one type scale, one 24px panel edge and one corner rule on main; these are the places the branch's own code meets it. - The inline heading row and the map column read px-gutter, so the heading lands on the same edge as the view header below it. - DrawerTitle keeps both #471's wrapping 20px title and this branch's data-sy-place, which gives a region's title way to the page heading. - The ghost cog strip #471 moved onto the gutter is gone here; the cog sits in the inline heading row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…o 384px A list gives the map 60% of the inline embed and a class takes 60% itself; its register and share views keep the class split so no column jumps. Neither column goes under 352px, so both start even at the 720px crossing. The expanded map's panel grows from 352px to 384px to offset the larger type from #471. DRAWER_W_PX moves with it, and the EventActions story previews the new 336px content box. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
Change outline
Types — the theme tokens every screen reads
The scale, the edge and the corners are
@themetokens, so most screens follow without an edit of their own.Components — where each screen takes the tokens
The header, rows, toolbar, notices and class page each spelled their own inset (16, 24 and ~30px). They now read the gutter, and the header's last icon hangs onto it.
Behaviour — text and corners at the call sites
The gate — the probe, and the spec that measures the derived band
Preview
pr-471alias, which follows every push./— country rows, each flag in one 24px slot/gb— the header's edge, and Online Classes without its icon/gb/south-east— place rows, name and count only/gb/scotland/edinburgh/1630— the class page's 20px title and its Register buttonsahajatlas-designbuild for this branch succeeded, but its Workers Builds check publishes a dashboard link rather than an alias.Test results
test:runon this head.--full— build, CSS scoping check,pnpm size— passed before the review round, and CI runs both here.styles/radius.test.ts(any undrawnroundedstep),styles/gutter.test.tsx(header, rows and class header on the gutter; the toolbar's subtrahend against the ghost button's own padding; tailwind-merge replacespx-4). Each watched failing against its defect.pnpm test:a11y: clean over 52 stories, 645 to 655 controls, 42s on 4 cores. Watched failing at the restored story-grid padding with the old probe window —atoms--inputs--checkboxat 44×43px.src/test-support/repo-source.ts, now 23 specs) and 6.0s forsrc/config/i18n.ts.Modal.focus-opener.test.tsxfails intermittently onmaintoo (2 of 4 runs at a5f3b29); unrelated.Manual verification
/,/gb,/gb/south-east,/search, a class page — title, search box, notice, rows and buttons start and end on one edge./gb/north-of-england: the title wraps to two lines rather than ending in "…".Notes for reviewer
--spacing-guttertoken stays after review:px-6draws the same 24px, but the number then lives at 24 call sites in 17 modules, of which the spec pins four.RegionListItem.subtitleis now unread on this side; the field and its "appears below the region name" help text in SahajCloud are a follow-up.Detail
main, not cherry-picked fromux/foundation:mainhad since gained 44px touch controls (The atlas widget can be used with a keyboard and a screen reader #432), so the header's edge pull is 6px with a mouse and 12px on touch.last:depends on DOM order (every header was walked, CalendarView's absolute Close included, and measured in a browser: the last control of each screen takes the pull).radius: 'sm'as the Button and Chip variant name for the 8px corner: renaming the API touches every caller for no visual change.src/components/AGENTS.mdandDESIGN_SYSTEM.mdchange only their content lines; their tables keep their layout.🤖 Generated with Claude Code