Repository navigation
Conversation
Ardnived
left a comment
There was a problem hiding this comment.
2 question(s) 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
Smaller than what it deletes — 1,545 added against 3,086 removed, with CompactEmbedView, MapFrame, slot-decision and embed-slot gone. Title and diff agree, and the contract lands on both documented surfaces. compact is optional in the generated types and applyLocale deep-merges, keeping the three hand-added strings, so the merge order is a preference, not a break.
The open question is the aggregate, not correctness. host-page.ts spends six pieces guessing where a host's header is, when CSS can read the property this PR already ships. Five smaller pieces of rent sit beside it.
Findings
- should-fix
host-page.ts:35— six pieces of header heuristic thatvar(--sahaj-atlas-header)answers in CSS. - should-fix
Drawer.tsx:209— a hook, an export and a prop, to drop oneh2. - should-fix
FullInterface.tsx:179— thehasMapprovider branch written twice. - should-fix
InlineEmbedView.tsx:198— the floating pill is three call sites, not two. - consider
components/AGENTS.md:262— mechanism retold, and a stale ⚠ at line 228. - consider
InlineEmbedView.tsx:271— the 720px crossing as a bare literal, seven times. - consider
use-map-controller-real.tsx:137— the padding restore runs on every dep change.
Second opinions
Both settled as A, and resolved.
What was checked
Read whole: host-page.ts, heading-place.ts, InlineEmbedView.tsx. Diffs: the two entries, FullInterface.tsx, DrawerStack.tsx, Drawer.tsx, use-expansion.tsx, use-map-controller-real.tsx, overlay.ts, layers.ts, the three docs. The streamliner covered 37 pieces, keeping 24.
Clear: all 26 in-doc anchors in docs/embedding.md resolve, all five /__review/ pages exist, and NARROWEST_MAP_PX keeps the deleted constant's 360, so RING_MAX_ZOOM is unchanged.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
|
Six of the seven findings built, one rebutted. Pushed e94b2ef, one commit per thread; each thread carries its reply.
Rebutted: CSS instead of the header search — no host states Lint, typecheck, 2325 unit tests, 10 browser scenarios, build and 🤖 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. Enable auto-merge when you want it merged: the queue tests it against its base. 🤖 Written by the sydevs autonomous loop — see what this is
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
sahajatlas-design | 1467b92 | Nov 28 2026, 05:32 PM |
Registration and Share capped their card, form and share block at 448px and centred them, which left a narrow strip in the wider inline column. A `form-column` utility keeps that cap on a wide sheet and lifts it inline, through the same `--sy-content-max: none` that frees the bands. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brings in #500–#530. Resolutions: - CompactEmbedView stays deleted; its #529 label change and changelog line are moot. - DrawerStack keeps the inline arm (`canCollapse` reads `sheeted`) on main's dismiss, showResults, sheetTall and dimmed scrim, beside "Close map". - LocatorProvider wraps MapProviders, so the inline map and its filters share one locator, and the expanded map gets its own. - Registration, Share and the form take `form-column` over main's new markup. - The panel stays 384px; the EventActions story previews 336px and 272px. - Translations take main's production snapshot; the two keys #466 wires leave PENDING_KEYS. - The story harness gains `expanded`, so the sticky-Register story shows the sheet. - embed.spec picks the expanded dialog first: the panel inside now reads the same name. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Inline beside a map, EventDetails portals Register and the action row into
an aside under the map (`InlineAside`, `hooks/use-inline-aside.tsx`). Wide,
the map and aside stick together, the square shrinking by the aside's height
so both stay in view; narrow, they sit between the map strip and the class.
The class skeleton drops its Register there to keep the shape.
Also syncs translations from production: `countries.place_title` is now
"Free meditation classes in %{place}", matching `countries.title`, and
SahajCloud#1299 retired `search.chrome.city_or_postcode`.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Stacked, the inline embed has no column beside the map, so it reads as the phone sheet: Register in a footer that sticks to the screen's bottom, in the page's flow, while its view is on screen, and the actions after the class's details. The aside under the map exists only side by side, read off the grid's own computed tracks rather than a second copy of the crossing width. Every inline `sticky` footer behaves this way, so the sign-up form's Register sticks too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The session for resolve-conflicts did not finish after 3 attempts. I have stopped retrying. A mention ( 🤖 sydevs dispatcher |
The Expanded form drew a hand-copied, static panel, so its sheet could not be dragged between snaps and its sticky footer never pinned. It now renders `DrawerStack`, which shows the story's view at its path (a `view` seam) and routes as usual anywhere else. The calendar and search stories pass their paths, which the stack needs to give them their shape. The "Event · sticky Register" story goes: the Event story's Expanded form shows the same sheet. The view controls also read `?arg-form=` and `?arg-map=` from the address, so a link opens in its form. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The session for resolve-conflicts did not finish after 3 attempts. I have stopped retrying. A mention ( 🤖 sydevs dispatcher |
Brings in #520–#551. Resolutions: - ShareView stays deleted (#540); the inline split's class views are the class and its sign-up, and the aside under the map takes the actions, then Register, in #540's order. - The calendar's width reads #538's `isCalendarFullWidth` off the URL; #466's `calendarFillsWidth` goes with Schedule-X. - MapControls and Mapbox take both `settings` and #542's `filterMenus`; MapLayer passes the floating filter buttons, and DrawerStack claims them only for a sheeted stack. - The root view's new title (#531) is a place's, so inline it gives way to the page heading. - Main's Event "Layout" control is dropped: the Expanded form shows the phone sheet. - The panel stays 384px, including FilterMenus' cap; translations re-synced from production. Co-Authored-By: Claude Opus 5.5 <[email protected]>
#466 opens every embed inline, so no sheet dialog holds the views. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… map MapControls becomes its own organism, with a story, and knows nothing of Mapbox: the filter buttons where they show, find-me where they do not, and settings. `floating` sits in the full and expanded maps' corner, which is now `MapCorner`, the one Mapbox control that holds the slot and the credits under it. `inline` is the toolbar above the inline embed's map, with #542's filter buttons in their inline look, so the inline map carries only its credits and the page heading loses its cog wherever there is a map. Find-me's request stays with the map (`useLocate`), which publishes its state and `locate` on `useFindMe`, so its button can sit outside the map. The Filters button and filter chips step aside inline as they do beside a panel, and the inline calendar never carries a second set in its header. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… a class Side by side, the page heading and the map's toolbar share the grid's first row, their bottoms level whichever is taller, and the toolbar still sticks with the map below it. Inline beside a map, the root view's header held nothing (its title gives way to the page heading, its Filters button to the toolbar), so it draws none, nor does its loading chrome. A class and its sign-up filter nothing, so neither the inline toolbar nor the expanded map's corner offers the filter buttons there; find-me stands in. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…evel columns From the ux-improvements class page proposal, kept to its visual outcomes: - A class and its sign-up are headed by the class's own name; the class's way back moves above that heading (`InlineAbove`), and the panel draws no header. - Beside the map, the facts take `EventFacts`' `detailed` treatment (32px fine icons, larger values) under a rule, and the description reads larger. - No gap between the columns, the content's gutter spacing it from the map. - The row gap is the toolbar's gap above the map and the inline bands drop their top padding when first, so whatever a view leads with starts level with the map's top. The heading's row hugs it (`grid-rows-[auto_1fr]`). - "Expand map" is the map's one action, placed by Mapbox (`MapAction`), and it and the credits both sit 12px in from the map's edges. The class heading's "in <place>" and the facts' labels and Cost row wait on sydevs/SahajCloud#1311. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brings in #552 (one owner per filter concern), and adopts its approaches: - `useFilterButtonsShown` is the one rule; it now also holds inline, where the toolbar carries the buttons, and steps aside on a class and its sign-up. The store flag and DrawerStack's copy of the rule are gone, as on main. - `FilterMenus` reads the URL itself, so the inline toolbar and the full map's corner render it directly; `FilterMenuBar` is gone. - `MapboxControllerProvider` provides the frame's width on a map; inline it provides none, so `DrawerStack` keeps measuring the inline column. - The calendar's header takes `fullWidth` from its view, which inline is never full width. - The MapControls story shows the inline toolbar with the live `FilterMenus`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
sydevs/SahajCloud#1311 is live, so the snapshot syncs its five keys and: - the class page's heading reads "<class> in <town>" (`event.display.title_in_place`); - the detailed facts carry their labels (Class time, Location) and a Cost row, "Always free", under the We Meditate figure. Co-Authored-By: Claude Opus 5.5 <[email protected]>
From the ux-improvements class page proposal. Beside the inline map, under Register, the class's share targets themselves (`ShareRow`: Copy link, the region's messaging app, Email, and More, which opens the share sheet or the full popover) replace the action row's Share, and "Report incorrect class details" opens the report form, which names the class by the page's path. Waits on sydevs/SahajCloud#1312 for its three strings: this commit is pushed once that is live and the snapshot syncs them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ext's colour sydevs/SahajCloud#1312 is live, so the snapshot syncs "Share this class", "More" and "Report incorrect class details", which the commit before this one reads. - The share row is a grid of four, each target a 48px disc over its name in the page's own type, Copy link leading in the brand's colour (`row` on the targets), as in the ux-improvements class page. - MeditateFigure takes the surrounding text colour, as a lucide glyph does, so the Cost fact's figure is the brand's like its neighbours; its coral is now `accent`, kept on the online classes row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contract Check failed: the branch's `src/types/payload/payload-types.ts` was missing `share_title`, `report_details` and `more`, which SahajCloud's `main` now produces. Those keys reached this repo in #554, two commits ahead of the branch, so merging `main` is the whole fix — `pnpm types:cms` and the `atlas-url-contract.json` curl then write nothing. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mg9rjVBcBxdxua7eUkZ3zX
…e's review asks - Every inline view's way back sits above the page heading, labelled in full: `BackButton` renders there wherever a view puts it, `NavRow` keeps only the view's own controls, and the calendar's row and its placeholder drop out when they would be empty. - On a class, the inline map's toolbar offers no find-me, as it offers no filter buttons (`MapControls findMe`). - The share row's discs take the Button's own flat surface (`controlSurface`), primary for Copy link and neutral for More, instead of colours of their own. - MeditateFigure has no colour of its own again; the online classes row colours it from the scale, as any icon (`text-contrast-10`). - Ladle's atlas names a report form, so the settings menu and the class page's "Report incorrect class details" both show in the stories. - The EventFacts story shows one class in all three looks side by side, panel, detailed and card, with an Example control, then the card's options. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…laude/feat-inline-embed
- On a class's page, in the panel and the detailed look, `EventFacts` gives
the pattern ("Every Wednesday") and the time ("9:30 – 11:00 AM London time")
a line each; a card keeps them on one.
- The inline Back takes 8px of room above the page heading.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
filleddrawer mode is gone.pnpm sync:translations, which also drops the thirteen screen-reader keys SahajCloud#1246 retired.([#466])reference and link definition, which the file's preamble asks of every entry.([#483])reference and link definition, which it was missing onmain.Change outline
Components — what an embed renders
The entry no longer measures a slot. Every embed, every framed page and every map-less atlas renders
InlineEmbedView; only the standalone page opened directly, with a map, renders the map-firstFullInterface.Stories — both forms of every view, with the map
Also on the way: the expanded map's provider gives the padding back when it turns inline as well as when it unmounts. The inline heading row and the map column read #471's
px-gutter, so the heading lands on the view header's edge.Flow — choosing the form
Behaviour — the host's page
host-page.tsowns every read and write on the host's document, all guarded.Behaviour — the map's camera padding
Contract —
docs/embedding.md, "Sizing the element"Preview
Preview pending — the Workers preview for this PR is published by CI. On it,
/?key=…opened directly is the unchanged map-first page, and framed it is inline.The inline embed itself is reviewed on host pages:
pnpm build && pnpm review:embed, then/__review/contained-map.html— a sticky header, the host's own<h1>, and a 640px height rule the widget grows past; expand and close the map/__review/full-map.htmlat ~390px — the phone strip, and the expanded map's bottom sheet/__review/app-shell.html— a shell that never scrolls (WeMeditate's/map): the atlas scrolls inside its box/__review/sidebar-mapless.html—map=false, one column/__review/too-narrow.html— a 220px column: the heading and "Expand map" alone, the console warning, andtooSmallon<html data-sahaj-atlas-ready>/__review/iframe.html— framed embeds, inline inside the frameInteractive / Full Widgetis the whole widget, interactive, on its fixtures, with a White background control for the host page. Every view's story shows both forms, over a live map. In Ladle (pnpm ladle, or thesahajatlas-designpreview once its alias is published), open Views → Region, then the controls panel at the bottom left: Form switches Inline and Expanded, Map (on by default) turns the map off for amap=falseembed. Both hold across views. Views fill the canvas; narrow the window, or pick a viewport, for the strip and the bottom sheet.Contract impact
The embed contract changes, so each host that sized the element is affected — none breaks, since the widget overrides the height:
/map'sh-fullelement is overridden; its shell clips, so the atlas takes<main>'s height and scrolls inside it. The class-directory block (feat(components): count down to a live class and place the directory WeMeditateWeb#321) sizes the element in pixels, and that height now gives way.atlas-page.css's height is overridden. The plugin's--sahaj-atlas-topis not read; publishing--sahaj-atlas-headerfrom its existing header measurement would replace the widget's own search.compacttab. The Install tab's embed-height choice no longer changes anything. The readiness marker is version 3; its parser tolerates the newtooSmallkey, and feat(install): warn when a verified embed is too small to browse in SahajCloud#1264 reads it to warn a client whose embed is too small. That ticket ships after this PR reaches production.Test results
Re-run on the merge with
mainthrough #490 and the commits after it:.claude/skills/pr-prep/check.sh— lint, typecheck, 2499 unit testspnpm test:browser, 25 scenarios. Two are new: a narrow inline calendar leaves the map its controls, and feat(widget): keep the map on screen while data loads or fails #490's skeleton spec, which now measures the standalone boot panel, its drawer and the inline column. The inline column's class case caught a 26px jump: the loading title drew two bars where the title arrives on one line. It now draws one bar inline (789d534). The cold-start map scenarios sometimes time out under parallel load on this machine.organisms--registration-form,views--registrationandinteractive--full-widgetreport tab order. Each is clean run alone, the same flake as before this merge.pnpm build;pnpm size✓ (standalone 11.7 KiB spare, embed 10.5 KiB, loader 0.3 KiB)isPlaceread off the tree alone;heading-place.test.ts's Unicode case, against the hand-rolled Map. Earlier: the shell scenario, without the clip check; the too-narrow scenario, with the card disabled;App.form.test.tsx's map-less case, without|| !hasMap;host-page.test.tsx's crossing, h1, restore and pixel-only cases;heading-place.test.ts's venue and country casesManual verification
/__review/contained-map.htmlat 1280px: the heading is anh2; the map sticks below the green header while the list scrolls; "Expand map" opens the map below the header, not over it; "Close map" and Escape both return to the page where it was./__review/too-narrow.html, widen the column past 280px in devtools: the classes come back with no reload; narrow it again, and the console warns once.Notes for reviewer
mainthrough feat(widget): keep the map on screen while data loads or fails #490 (feat(map): one control column for find-me, settings and the credits #482–feat(panel): the desktop panel is as tall as its content #495 and feat(widget): keep the map on screen while data loads or fails #490 since the rebase). The last merge (307359f) moves feat(widget): keep the map on screen while data loads or fails #490's client gate into every view, its drawer slots intodrawer-style.ts, and its prose off the removed forms. Following those PRs: feat(map): one control column for find-me, settings and the credits #482's hidden column no longer hides the inline map's credits on a narrow calendar (55a2664), the class title is an h2 like every view's (700dd91), feat(routing): resolve Unicode place slugs from encoded and raw URLs #483'sindexRegionsfinds the heading's place (f664e8a), and feat(widget): keep the map on screen while data loads or fails #490's skeleton spec measures the boot panel on the standalone page and the inline column on the embed (633b841). The owner's answers on the threads: settings beside the heading (8b46a0d), the client gate inside the views formap=falsetoo (752c058), "Expand map" moved to the bottom left (5354b1d), and a loading class title drawn as one bar inline (789d534).mainafter feat(button): a floating variant for controls over the map #470, fix(stories): load the country flags in Ladle #480 and feat(stories): the whole widget, interactive, on fixtures alone #481, which landed thefloatingButton variant and the ghost cog, Ladle's country-flags fix, and Ladle's offline fixtures, map wrapper and whole-widget story; this diff now only applies them to the inline embed. style(ui): one type scale, one 24px panel edge and one corner rule #471's type, gutter and corner system meets the branch's code in one commit of its own, and so do feat(nav): Back says where it goes; a place with one class opens it #476's Back navigation and feat(stories): the whole widget, interactive, on fixtures alone #481's fixture names: the inline column opens with "Back to …" above the view's controls, and "Close map" sits beside the cog now that the peek strips are gone.compacttab; 89a4bc2 is the full sync, andpnpm types:cmswrote no change.Modal.focus-opener.test.tsxrun alone failed 7 of 10 runs here and 5 of 10 on amainsnapshot; it passes in the full lane. Unchanged in this diff but for a comment — the racedocs/testing.mddescribes under "One dialog per jsdom FILE"./simplify(four lenses) and/code-review highran;pr-review-toolkitis not installed./security-reviewran (the diff touchessrc/Widget.tsx,src/App.tsx,src/loader/,src/lib/shape/routing,src/styles/) and found nothing.Detail
Dismissed review findings
<h1>that appears after mount — decided once at mount, as every other layout choice here is; a MutationObserver on the host's document is more than the case warrants.indexRegions(…).bySlugfor the heading's lookup — it builds several indexes for one Map's job.clients/me, and defer the captcha probe — both were already serial for every map embed before this change; worth a ticket of their own. Measured since: a chunk preload saves ~130 ms on the intermediate steps but ~50 ms on the style request.<Activity>— measured ~27 ms of script over four navigations, and Activity collapses faster.<h1>and the expand height outside render, a jsdom spec for the boot running once — the reads happen once per mount or per opening, and the browser lane drives the expand and collapse; the boot sits in the two interface roots only./mappage — a cross-repo follow-up, named above..ladle/react-map-gl.tsx, from feat(stories): the whole widget, interactive, on fixtures alone #481) — mapbox-gl 3.35 refuses a container that failsinstanceof HTMLElement, and Ladle renders width and iframed stories by portalling into an iframe from the parent window, so no story code runs in the iframe's own realm. Dropping the viewport iframe would render the viewport-driven parts for the real window; patching mapbox-gl would patch a shipped dependency for a playground-only problem. The bridge never ships.Follow-ups not in this PR
With a Mapbox token,
pnpm test:a11yfails every view story on the map's own controls: the locate button answers 32×32px and the Mapbox wordmark 45×24px, under the 44px floor.organisms--mapboxalready failed the same way; CI's library build has no token, so its gate never draws a map. Both controls are on every map embed a phone visitor sees.SahajCloud's Install tab: drop the embed-height choice and the
styleit writes into the snippet.The WordPress plugin: publish
--sahaj-atlas-header.The verifier renders at one viewport, so a box too small only on a phone does not reach the Install tab (feat(install): warn when a verified embed is too small to browse in SahajCloud#1264 notes it).
A header that changes height without a width change (one that hides on scroll) keeps its first offset; the host can state it. Marked
shortcut:inhost-page.ts.What was weighed
🤖 Generated with Claude Code