Repository navigation
feat(list): the meditating figure, a subtitle and a country heading on the first screen - #493
Conversation
…n the first screen On the first screen, Online classes read as one more country: a computer-screen icon and the same divider as the countries. The row now carries the We Meditate app's meditating figure in coral and a "Join from anywhere" subtitle, and a small grey "Or browse by country" heading separates it from the countries, so visitors see two ways to find a class. - MeditateFigure (atoms/Icons): the app's figure as a JSX SVG, currentColor, aria-hidden, no ids. The one documented exception to "glyphs come from lucide", which has no such figure. - Coral from the contrast ramp's own steps, text-contrast-10 with dark:text-contrast: 3.66:1 on the light panel and 6.19:1 on the dark one, measured. No new colour token. - ListItem gains an optional description line; rows without one render as before. - The heading shows only with the online row above it and countries below it. - countries.browse_heading and online.subtitle come from SahajCloud#1273, copied byte-for-byte from production; a full sync is blocked by unrelated drift from other open PRs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived
left a comment
There was a problem hiding this comment.
1 question for the reviewer, one per thread.
🤖 Written by the sydevs autonomous loop — see what this is
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
Proportionate in shape: one glyph, one optional prop, one heading, no new token. noMatches already requires onlineCount === 0, so the new comment's claim that the online block never sits above the fallback holds. Both keys are declared upstream with these exact English defaults, and nothing a host observes changes, so the untouched docs/embedding.md and CHANGELOG.md are right.
What it adds does not all pay rent. A barrel gains two exports nothing imports, one skin is pasted at four call sites, and the same sentence about the mark now stands in three places — src/AGENTS.md, DESIGN_SYSTEM.md and the story description, the most internal line in that gallery.
No ticket is linked, and the body cites one four times, so the diff was judged against itself.
Findings
- should-fix —
src/components/atoms/index.ts:42: two exports with no caller. - should-fix —
CountriesView.tsx:104: the mark's colour pasted four times. - should-fix —
CountriesView.tsx:98: flatten the fragment and the nested condition. - should-fix —
DESIGN_SYSTEM.md:61: restatessrc/AGENTS.md§ Icons. - should-fix —
src/AGENTS.md:43: the "written as JSX" clause is mechanism.
What was checked
- Read whole on the branch:
CountriesView.tsx,ListItem.tsx,List.tsx,MeditateFigure.tsx,Icons.usage.test.tsx, both barrels, three Markdown files. - Producer side: both keys are live in SahajCloud
main— schema plus nine locale seeds. - Ladder:
wemeditate-design-systemis no dependency, so the path had to be copied.Monitorkeeps its gallery row —EventFactsandSettingsMenustill import it. - Streamliner: 4 pieces covered, 1 kept. Its
createLucideIconsketch was dropped; the body dismisses it with reasons that hold. - Second opinion given on the one question thread.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
`git grep "from '@/components/atoms'" src` matches no file. Both real call sites take `@/components/atoms/Icons`, so the two re-exports had no caller and `Icons/index.ts` is already the folder's surface. That leaves DESIGN_SYSTEM.md's "App code imports from the tier barrel" the stale half: its example is the one import nothing performs. The bullet now names a molecule and records that the atoms barrel has no importer. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjYBfjKAUELib5wBPJG
The skin was pasted at all four call sites — CountriesView, both ListItem story rows and the Icons gallery — so the colour could drift between them. It now sits on the `<path>` inside MeditateFigure, where `currentColor` resolves against that element's own colour and no caller's spread reaches it. Measured in Chromium 158 on the bare mechanism: a `<path>` carrying the colour class inside an `<svg stroke="currentColor">` strokes coral while the surrounding row keeps its own text colour. The new assertion was watched failing with the class back on the `<svg>`. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjYBfjKAUELib5wBPJG
`showBrowseHeading` sits beside `noMatches`, and the online row, the heading and the country list render as three flat siblings. That drops the fragment, one indent level and the second read of `sortedCountries.length`. Same rows and same heading condition. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjYBfjKAUELib5wBPJG
The appended sentence restated `src/AGENTS.md` § Icons, and the Exports cell one column left already names `MeditateFigure`. The rule keeps one home. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjYBfjKAUELib5wBPJG
"written as JSX rather than imported as SVG markup" is mechanism the file beside it shows, and nothing here offers the alternative it contrasts with: no svgr in `package.json`, no SVG plugin in `vite.config.ts`. The intent — Lucide shipping no brand icons, the trademark reason, and no other brand mark belonging here — stays. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjYBfjKAUELib5wBPJG
|
Five Streamline threads, one commit each, on Adopted and resolved
Adopted, thread left open
Lean gate ✓ (2473 passed, 1 skipped). Browser lane ✓ (10 passed). 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
`git grep "from '@/components/atoms'" src` matches no file. The barrel surfaced 17 folders to nobody: every view, story and the eager shell takes an atom by its folder path, and `Icons/index.ts` was already the one surface the figure needed. Importing it also hoisted `RadioGroup` out of the lazy registration chunk, measured at +785 B gzipped. `Widget.standalone.test.ts`'s `BARRELS` drops its row, so the three barrels left are the ones the lazy interface really imports. `DESIGN_SYSTEM.md` and `src/components/AGENTS.md` stop promising a barrel per tier. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjZ2oiDyW4Ch7giMeUL
|
One answer, one commit, on Answered and resolved
No thread is open. The body's open-thread note and its test figures are refreshed. Lean gate ✓ — 2471 passed, 1 skipped. Two fewer than before: that list runs once per entry, so a row is two cases. 🤖 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 | a14efb4 | Nov 25 2026, 11:24 PM |
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
The accessibility gate failed `views--countries`:
heading-order — Heading levels should only increase by one — 1×
(moderate): <h3 …>Or browse by country</h3>
#493 added that `h3` on `main`, where the countries view's first heading
was its own. Inline, `PlaceHeading` is the `h1` above it and this view
renders no `DrawerTitle`, so `h3` skips a level. The classes are
unchanged, so nothing moves.
Verified: `node scripts/check-a11y.mjs` clean over all 55 stories, and
the lean gate green.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjV9bPXPKzui5NV51Sv
Summary
descriptiononListItem.Change outline
Components — the first screen's list
The online row moves out of the country list into its own list. The row, the heading and the country list are three flat siblings, and
showBrowseHeadingholds the heading's condition: an online row above it and at least one country below it.Components —
ListItem's labeldescriptionadds a quieter line under the label. A row without a description renders the same markup as before.ListItem({ label, count, href, icon }) src/components/molecules/ListItem/ListItem.tsx + + description?: string ListRow icon slot (24px) div.flex-grow.text-lg label + description → div.text-sm.text-gray-11 countFiles — a brand mark beside the lucide gallery
src/components/ - atoms/index.ts # the tier barrel: 17 folders re-exported to no importer molecules/index.ts # unchanged: five view callers organisms/index.ts # unchangedPreview
/) — preview pending. Thepr-<n>alias appears once CI's publish step has run.Contract impact
sy-atlas-translations:countries.browse_headingandonline.subtitle, added in feat(translations): add countries.browse_heading and online.subtitle to the atlas translations SahajCloud#1273 (merged and live).docs/embedding.mdandCHANGELOG.mdare untouched.Test results
test:run: 2471 passed, 1 skipped). Two fewer than before the barrel went:Widget.standalone.test.tsruns itsBARRELSlist once per entry, so a row is two cases.MeditateFigure.test.tsx(3) andListItem.test.tsx(4) pass.<svg>.ladle:buildnot re-run since the review pass.git diff origin/main -- src | grep -cE "dangerouslySetInnerHTML|\.svg\?raw"prints0.Manual verification
/, check the Online classes row. It should show a thin coral figure with "Join from anywhere" under the label, then "OR BROWSE BY COUNTRY", then the first country./gb. It should have no "Or browse by country" heading.Notes for reviewer
src/config/translations.en.jsonare byte-identical to production. A fullpnpm sync:translations --writewould also pull drift that belongs to other open PRs: production no longer servescompact.openand others that main still renders, after SahajCloud#1268. That drift is for the inline-embed PR (feat(widget): open every embed inline; expand the map over the page #466) to sync.--ornamenttoken inglobals.css. Three reviewers pointed out that the contrast ramp's own steps already clear 3:1, so this shipstext-contrast-10 dark:text-contrastand no new token. That also leavessrc/styles/untouched, so no security review is triggered. The classes now sit onMeditateFigure's own<path>rather than at each call site.git grep "from '@/components/atoms'" srcmatched no file, so its 17 re-exported folders had no importer.DESIGN_SYSTEM.mdandsrc/components/AGENTS.mdstop promising a barrel per tier, andWidget.standalone.test.ts'sBARRELSdrops its row. No thread is open now.Vaul.Titlerenders an h2 ("Free Meditation Classes") above it. Measured in the DOM.src/componentsimport by folder path throughout, for exampleListin the same file.min-h-14.createLucideIcon: dismissed. It saves about 20 lines, but it needs a carve-out inIcons.usage.test.tsxand adds lucide classes to a brand mark. The JSX is small and pinned by its own spec.tracking-[0.08em]against Chip's0.3px: kept. The ticket specifies it for this heading's register.Detail
Contrast, measured in Chromium against the panel:
The ticket's
--ornamentmix (color-mix(contrast-9 55%, contrast-11)) measured 4.15:1 light. It is a duller, darker coral than the app's.The atoms barrel is not imported here.
CountriesViewtakes the figure by folder path (@/components/atoms/Icons). Importing the barrel hoistedRadioGroupfrom the lazy registration chunk intoFullInterface.js: +785 B gzipped, measured by a reviewer's build.So the barrel's two new exports were dropped first, then the barrel itself.
Icons/index.tswas already the folder's surface.DESIGN_SYSTEM.md's tier-barrel bullet gave@/components/atomsas its example, the one import nothing performs; it now names a molecule and says atoms carry no barrel.The mark's coral resolves per element. Measured in Chromium 158: a
<path>carrying the colour class inside an<svg stroke="currentColor">strokes coral while the surrounding row keeps its own text colour. That is what lets one home replace four pasted copies.What the simplify pass changed:
focusableandstrokeMiterlimitattributes and the vacuous assertions.src/AGENTS.md§ Icons.The heading uses
px-gutter, the panel's shared 24px edge from style(ui): one type scale, one 24px panel edge and one corner rule #471, not the ticket'spx-4.🤖 Generated with Claude Code