Skip to content

feat(widget): keep the map on screen while data loads or fails - #490

Merged
Ardnived merged 24 commits into
mainfrom
feat/loading-states
Nov 26, 2026
Merged

Ardnived merged 24 commits into
mainfrom
feat/loading-states

Conversation

@Ardnived

@Ardnived Ardnived commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • On a slow or failing connection the map and a placeholder panel appear at once. The panel arrives once, and a failed read shows Try again inside it.
  • Placeholders are sibling …Skeleton components built from each real component's layout, and they show only where data is missing.
  • A failed Turnstile check pauses only sign-up. The form says why and offers Try again (decision 1A).
  • Joined fix: the search field drew 132px tall on every touch screen, because the geocoder's own --spacing scaled min-h-11.
  • Joined fix: Widget.tsx's BootSurface note said query mode suspends on clients/me and draws LoadingFallback. This PR made both halves false, so the note now says what the wait is.

Change outline

Flow — boot and loading

The client record no longer gates the whole map form: it's read without suspense, and a gate suspends inside each drawer view instead.

 App                                              src/App.tsx
-  Suspense fallback=<LoadingFallback unboxed>     # white page + "Loading…"
+  Suspense fallback=<StandIn fillsWindow>
+    fills the window → <BootFallback>            src/views/loading.tsx
+      drawer geometry from atoms/Drawer/drawer-style.ts, at the sheet's open stop
+      header + body per route (baseStackEntry): field / Back row / title / list / class page
+    otherwise → <LoadingFallback> (spinner)
   AppShell
-    useSuspenseQuery(clientQuery)                # nothing drew until it answered
+    useQuery(clientQuery)                        # session-long staleTime
+    clientLoaded → announceEmbed, home redirect
+    compact / map-less → <ClientGate> at the shell   src/config/client-gate.tsx
     FullInterface → DrawerStack
-      <Drawer>                                    # slides in
+      <Drawer enterInPlace>                       # starts where the boot panel stood
+      <AnimatePresence initial={false}>
         ViewLayer
           Suspense fallback=<DrawerLoading>       src/views/fallbacks.tsx
+            DrawerChrome loading                   # the view's own header, field drawn inert
+            LoadingBody (shared with BootFallback)
+            <ClientGate>                          # suspends here, so a failure lands in the sheet
             ResetErrorBoundary → TopView

Components — one loading panel organism

The loading states are a few generic shapes in one organism, shared by the boot panel and the drawer's loading state.

organisms/Skeleton/Skeleton.tsx   skeletonShape(entry, level) → { header: field | search | titled | titled-field | class,
                                                                body: places | classes | class } | null
                                  Skeleton (a whole panel, in the drawer's bands), SkeletonHeader, SkeletonBody,
                                  SkeletonField, and the primitives SkeletonGroup, SkeletonLine, SkeletonBlock; LOADING
views/BootFallback.tsx            drawer geometry (atoms/Drawer/drawer-style.ts) + <Skeleton>, at the sheet's open stop
views/fallbacks.tsx               DrawerLoading = the view's real header + SkeletonBody; null shape → header over a spinner
tests/browser/skeleton.spec.ts    per view × phone/desktop × boot/drawer: same bands, same places and heights, list starts
                                  where the placeholder rows did (the drawer's bands carry `data-band`)

Behaviour — Turnstile

 useTurnstileGuard                                src/hooks/use-turnstile-guard.ts
-  probe fails → throw atlasError('captcha-blocked')   # whole Atlas replaced
+  probe fails → console advice only
 useTurnstile                                     src/hooks/use-turnstile.ts
+  retry() → remount the challenge frame
 RegistrationForm
+  status 'blocked' → Alert registration.form.captcha_blocked + Try again; Register stays disabled
 lib/report.ts, Fallbacks ERROR_POLICY
-  'captcha-blocked' kind and policy row

Contract — docs/embedding.md

 Parameters › key
-  An invalid key shows the configuration-error screen
+  In the full map form the error shows inside the panel, with the map drawn behind it
 CSP › frame-src cloud.sydevelopers.com
-  Blocked ⇒ the widget shows an error screen and does not run
+  Blocked ⇒ browsing works; registration and reports can't be sent, and the forms say so
 Troubleshooting
-  "The widget shows 'its security check was blocked'"
+  "Registration says it couldn't load the security check"

Preview

  • App: preview pending. Deep links to check: /, /gb/south-east/london, /gb/south-east/london/1817, /gb/south-east/london/1817/register, with DevTools network throttling.
  • Ladle: preview pending. Organisms › Skeleton (every loading shape, and its primitives).

Contract impact

Test results

  • Lean gate (check.sh: lint, typecheck, test:run): ✓
  • pnpm build ✓. pnpm size: standalone 331.2 KiB (3.6 spare), embed 332.3 KiB (2.5 spare), loader 2.9 KiB (0.2 spare). Measured byte-identical before and after the review pass, so that pass cost the eager graph nothing.
  • New specs, each watched failing against its defect: use-fit-snap.loading, RegistrationForm.blocked, loading.test (routes, the places guess, statuses), ListItemSkeleton (it caught the Link atom's gap-1), EventListItem card box. Also ported: Drawer.enter.

Manual verification

  1. On a throttled phone viewport, open /gb/south-east/london: the map and panel appear at once, the sheet moves at most once, and Back works throughout.
  2. Block cloud.sydevelopers.com/api/*: the error and Try again sit in the panel, and the map stays.
  3. Block …/api/atlas/challenge, open a class's Register, and wait about 40s: the form explains, Register is off, and Try again remounts the check.
  4. Dark theme was not checked.

Notes for reviewer

Detail
  • Review: /simplify (four lenses) and /code-review high both ran; the pr-review-toolkit plugin isn't installed. Applied:
    • the heading with no name;
    • BootFallback routes (search, register, share, calendar);
    • non-pulsing contents wrappers;
    • a client re-read per navigation;
    • the subtree observer;
    • the --spacing root cause, moved into the geocoder theme;
    • the dead unboxed prop;
    • unused barrel exports;
    • stale comments and docs;
    • shared header geometry and loading bodies.
  • Dismissed or deferred:
    • Extracting CountriesHeader/SearchHeader from the views: deferred, since the chrome now branches through leadsWithGeocoder again.
    • Splitting EventDetails into an eager head and a lazy tail: deferred.
    • Try again on the report form: a follow-up.
    • The 2-segment-city default for the places guess: needs production data.
  • Adversarial review: all seven Streamline threads adopted, one commit each, plus the stale
    BootSurface note the review body flagged with no thread. listRow's inert variant and the
    recipes' homes were both listed as dismissed above; the review pass overturned both, so those
    lines are gone.
  • Security review: triggered by App.tsx, src/styles/, src/lib/report and config/api, and
    again by the review pass's Widget.tsx and organisms/EventDetails/. No findings — that pass
    added no sink, origin or trust boundary.
  • The captcha-blocked Sentry signal is gone. It reported host misconfiguration, which the console still names.

🤖 Generated with Claude Code

Ardnived added a commit that referenced this pull request Nov 25, 2026
@sydevs-dispatcher

sydevs-dispatcher Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

🤖 no session running
conflict held since 00:42Z, waiting for the base to settle
CI fix 2

recent dispatches
  • 00:17Z fix-ci · attempt 1 · session · done
  • 00:17Z fix-ci · attempt 1 · session
  • 22:37Z address-review · attempt 1 · session · done
  • 22:37Z address-review · attempt 1 · session
  • 22:21Z review-pr · attempt 1 · session · done

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-dispatcher sydevs-dispatcher Bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 25, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 25, 2026
@sydevs-bot

Copy link
Copy Markdown
Contributor

Fixed the accessibility gate's one finding, organisms--event-details.

The new Loading story puts three panels across. At the gate's 390px phone viewport each column drew about 115px wide. The real page's carousel then packed its pagination bullets closer than their 44px pitch, so they took each other's tap pixels. Slide 2's bullet answered to 24×45px. The comparison now stacks until md, where a column is a panel's width. The component is unchanged.

Measured here: pnpm ladle:build && pnpm test:a11y — 54 stories, 715 controls, clean. Lean gate green.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 25, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 25, 2026
@sydevs-dispatcher sydevs-dispatcher Bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 25, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 25, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

The shape is right and the diff is no bigger than the problem. Taking the client record out of suspense and putting the gate inside the drawer is the smallest change that gets a map on screen early, and ClientGate's one job is deciding where the wait lands.

Every finding is one shape. The diff builds two shared-geometry leaves, chrome-style.ts and drawer-style.ts, then does not use that shape elsewhere: four components import their chrome from a placeholder, and the boot panel re-derives the sheet's stops. Nothing blocks.

The contract side holds. The docs and CHANGELOG.md move with the behaviour, the CSP table is unchanged, and the report form already says it can't send, as the new frame-src row claims.

Findings

  • should-fix views/shared.tsx:119 — re-export of constants just moved.
  • should-fix ListItemSkeleton.tsx:6 — row chrome belongs with listRow.
  • should-fix EventFactsSkeleton.tsx:7 — EventFacts' recipe lives in its placeholder.
  • should-fix EventDetailsSkeleton.tsx:82 — EventHeaderSkeleton folds into EventHeader.
  • should-fix views/loading.tsx:193 — 0.97 and the cap duplicate DrawerStack.
  • should-fix Widget.tsx:206 — no thread, outside the diff. BootSurface still says query mode suspends on clients/me and draws LoadingFallback. False.
  • consider Skeleton/loading.ts:6, drawer-style.ts:113 — a file for one attribute; comments on booleans now gone.

What was checked

Read whole on the branch: App.tsx, Widget.tsx, loading.tsx, fallbacks.tsx, use-fit-snap.ts, both turnstile hooks, both forms, DrawerStack.tsx. Streamliner: 63 pieces covered, 48 kept, 7 findings, all held. Cleared: motion-safe:animate-pulse guards the pulse; LOADING lands as a direct child of [data-sheet-fit], all useFitSnap scans; PathPrefix still suspends.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread src/views/shared.tsx Resolved
Comment thread src/views/loading.tsx Resolved
Ardnived and others added 5 commits November 25, 2026 15:37
The full map form no longer waits on the client record before drawing: the map
appears at once, and the panel stands where it opens, holding placeholders
shaped like what is coming. A failed read shows its message and Try again
inside the panel, over the live map. A failed security check pauses only
signing up.

- AppShell reads the client with useQuery; ClientGate suspends inside the
  drawer's boundary in the map form, at the shell otherwise. The home
  redirect and the embed report wait on the record.
- BootFallback (views/) draws the drawer from its own geometry
  (atoms/Drawer/drawer-style.ts, split from vaul so the eager shell can
  read it) at the sheet's opening stop, per route. The drawer opens in
  place (enterInPlace), so it no longer slides in a second time.
- Each component draws its own skeleton beside itself, from shared layout
  constants: ListItemSkeleton, EventListItemSkeleton, EventFactsSkeleton,
  MapSearchSkeleton, EventDetailsSkeleton/EventHeaderSkeleton, over a new
  Skeleton atom. Placeholders only stand in for missing data: the real Back,
  Calendar, Search and Filters work, a country is named at once, and a city
  says "All classes are free" over its class cards.
- Placeholders carry data-sy-loading, which useFitSnap ignores, so the phone
  sheet moves once, when the content arrives.
- "Finding classes…" is spoken, not drawn (src/config/a11y).
- The Turnstile guard only logs its advice; the registration form shows why
  Register is off and offers Try again (useTurnstile.retry). The unused
  captcha-blocked error kind and policy row are gone, and
  common.errors.captcha_blocked is marked retiring.
- The geocoder's touch min-height is pinned in px: its own --spacing made
  min-h-11 a 132px field on every touch screen.
- MapCurtain loses its spinner.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- One shared loading module (views/loading.tsx): the boot panel and the
  drawer's loading chrome draw the same body per view (LoadingBody), the
  same static titles and the same title skeleton. The boot panel now reads
  baseStackEntry, draws search as its field and toolbar, and titled views
  (register, share, calendar, filters) under their own words with no list.
- A pending title draws outside any heading (NavHeader pendingTitle).
- The loading marker lives in a light leaf (atoms/Skeleton/loading.ts);
  useFitSnap watches only the body's direct children.
- The geocoder theme hands the geocoder Tailwind's spacing step, so
  min-h-11 and pe-3 measure as written again.
- ClientGate reads atlasAuth.apiKey; the client record is session-long, so
  a gate per view costs no request per navigation.
- Header geometry shared through views/chrome-style.ts; the sheet's in-place
  transform and short-window cap shared with the boot panel.
- Event placeholder bands pulse on real boxes; dead unboxed prop, unused
  barrel exports and stale comments removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…the Skeleton atom

#488 made ListRow the shell both list rows render into, chevron included. The
placeholder rows now render into its inert twin, ListRowSkeleton, from the
same recipe (an `inert` variant drops the hover and press feedback), so a class
card's placeholder gains the chevron the card now has, and the two cannot drift.
The class card's column, title and facts spacing are shared constants with
EventListItemSkeleton.

The Skeleton atom gets its own Ladle story: lines beside the text they stand
for, blocks, and a pulsing group.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 25, 2026
@sydevs-dispatcher sydevs-dispatcher Bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 25, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 25, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 25, 2026
The accessibility gate failed on `organisms--event-details`: the pagination
bullets of the real page's carousel answered to 24×45px, under the 44px floor.
At the gate's 390px phone viewport, three columns left each panel ~115px wide,
so the bullets' tap areas packed closer than their 44px pitch and took each
other's pixels. The panels now stack until `md`, where a column is a panel's
width, and the three-up comparison survives for a reviewer on a desktop.

Measured: `pnpm ladle:build && pnpm test:a11y` — 54 stories, 715 controls,
clean. Lean gate green.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVZ1njukf8bNyfpLKU
@Ardnived
Ardnived force-pushed the feat/loading-states branch from 32c1935 to 1f42553 Compare November 25, 2026 22:38
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sahajatlas-design 4b82410 Nov 26 2026, 12:14 AM

sydevs-bot and others added 4 commits November 25, 2026 22:43
`views/shared.tsx` re-exported HEADER_CONTROL and HEADER_EDGE, which it
imports from `views/chrome-style.ts`. `nav.tsx` was the only reader, and it
already imported NAV_HEADER and NAV_ROW from chrome-style five lines above,
so the re-export bought one constant two homes.

The module's suspend rule describes shared.tsx's own controls, so it moves
to the head of that module rather than riding on the re-export, and the five
controls point at it there.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjUsw3gaDEC4LUpJxhY
LIST_ITEM_* and EVENT_CARD* sat in the two placeholder files, so `ListItem`
and `EventListItem` imported their own chrome from a component named
Skeleton. `List.tsx` already owns the skin every row shares, both pairs
already import `ListRow`/`ListRowSkeleton` from it, and it is already eager,
so the eight constants move there and the backwards edge goes.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjUsw3gaDEC4LUpJxhY
`facts` and ICON_SIZE are EventFacts' own skin, and sat in
EventFactsSkeleton, so the molecule imported its whole recipe from a file
named Skeleton. It cannot move back the other way: EventFacts pulls luxon
through `use-event-display` and the placeholder is eager. So both now read
`EventFacts/facts-style.ts`, beside `drawer-style.ts` and `chrome-style.ts`.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjUsw3gaDEC4LUpJxhY
The row shell every list row renders into had no story of its own, nor its
placeholder twin. The List story now shows both, side by side, and the list
skeleton sections wrap their placeholders in the Skeleton atom, as the app does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sydevs-bot

Copy link
Copy Markdown
Contributor

Lint, Typecheck & Build failed on pnpm test:a11y, not on lint, typecheck or the build.

The gate reported one serious scrollable-region-focusable on views--panel-skeleton. I reproduced it: the class-card shape overflows the drawer body's 410px by 46px, so that body becomes a scroll container holding nothing focusable. The real loading panel does the same on a phone sheet. Every placeholder is aria-hidden, so a keyboard reaches no stop inside to scroll with.

The three surfaces wrapping PanelSkeletonBody now clip their body — DrawerLoading, BootFallback and the story. overflow-y-clip, not hidden, which is still a scroll container (#326).

Checked locally: a11y gate clean at 58 stories and 708 controls, lean gate green, pnpm build green, pnpm size at 5.1 / 4.0 / 0.2 KiB spare. Two assertions added, each watched failing first.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 26, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 26, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 26, 2026
Ardnived and others added 3 commits November 25, 2026 17:31
…st the views it mimics

The loading panel moves to organisms/Skeleton as `Skeleton`, with the
primitives (SkeletonGroup, SkeletonLine, SkeletonBlock) as its sub-components;
the Skeleton atom is gone. It gains the two shapes the measurements showed
missing: search results' Filters and Sort band, and a class's own header.

The height guard gives way to a browser-lane spec
(tests/browser/skeleton.spec.ts). For each view — the first screen, a country,
search results, a class — on a phone and a desktop, it holds SahajCloud (and,
for the boot panel, the interface's code), measures the loading panel's bands
and first rows, releases, measures the view, and asserts the same bands at the
same places and heights, and a list starting where the placeholder rows did.
The drawer's bands carry `data-band` for it to read. It fails on a shifted
header, a missing band or a resized row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ports 4aed5d7 onto the organism: a loading body holds nothing focusable, so
a scrollable one is a region no keyboard can scroll (axe
scrollable-region-focusable). The boot panel and the drawer's loading body
clip instead (overflow-y-clip, not hidden, #326).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… organism

Its target files (views/PanelSkeleton, views/BootFallback's old shape) were replaced
in this branch; the fix itself is the commit before this merge.
@Ardnived
Ardnived added this pull request to the merge queue Nov 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 26, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 26, 2026
# Conflicts:
#	CHANGELOG.md
#	src/components/atoms/Drawer/Drawer.tsx
#	src/views/DrawerStack/DrawerStack.tsx
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 26, 2026
@Ardnived
Ardnived enabled auto-merge November 26, 2026 00:50
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 26, 2026
@Ardnived
Ardnived added this pull request to the merge queue Nov 26, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 26, 2026
Merged via the queue into main with commit 4ecdf5e Nov 26, 2026
14 checks passed
@Ardnived
Ardnived deleted the feat/loading-states branch November 26, 2026 00:58
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Awaiting to Done in SYDevelopers Technical Roadmap Nov 26, 2026
Ardnived added a commit that referenced this pull request Nov 26, 2026
Ten conflicts, all from #490 (the map and a placeholder panel at once, a
Turnstile failure that pauses only sign-up), while this branch removed the
compact card, the contained map and the `filled` drawer mode.

The client record is no longer a suspense read at the shell. With a map,
`ClientGate` sits inside each drawer view, so the inline column and the
expanded map show a slow or failed API in the panel, beside a live map.
Map-less, it stays at the top of the shell, as main has it; `!hasMap`
replaces main's `hasMap && !compact`.

- `App.tsx`: `StandIn` takes main's place for both stand-ins, filling the
  window only for the map-first form (`!inline`). `clientLoaded` reaches
  both interfaces.
- `FullInterface.tsx`: `InterfaceProps` carries `clientLoaded`, so
  `useInterfaceBoot`'s home redirect waits for the record in every form.
- `Drawer.tsx`: #490 moved the `tv()` slots to `drawer-style.ts`, so this
  branch's `inline` mode and its comments move there, and `filled` stays
  gone. The real drawer stays `anchored`, now with `initialTransform`.
- `DrawerStack.tsx`: the shared `topView` gains `ClientGate`, and the
  cross-fade takes `initial={false}`. The map-less filled drawer and its cog
  strip stay deleted.
- `fallbacks.tsx`, `nav.tsx`: main's cached-region read, country name and
  `SkeletonField`, plus this branch's `isPlace`. A place's pending-title
  placeholder carries `data-sy-place`, so inline it gives way to the page
  heading as the title it stands for will.
- `Fallbacks.tsx`: `LoadingFallback` loses `unboxed`, as main has it.
- `use-turnstile-guard.ts`: main's non-blocking guard; the call-site rule
  keeps this branch's `useInterfaceBoot` reason.
- `globals.css`: main's control-column `z-index` above the curtain stays;
  the `[data-sy-expanded]` nudge stays deleted.
- `DESIGN_SYSTEM.md`: main's re-padded table with this branch's Drawer row.

#490's host-facing prose named the full map form and the compact card:
`docs/embedding.md`'s `key` row, its CHANGELOG entry and `mapbox.md` now
say "with a map" and "a map-less embed", as #470's entry was cut.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived added a commit that referenced this pull request Nov 26, 2026
…umn on the embed

#490's spec measured both loading stages on full-map.html, which this branch opens inline. The boot panel stands in for the map-first interface alone, so its 8 cases found no panel. It is now measured on the standalone page opened directly, which the review server serves at / alone, with the map-first drawer beside it. The embed measures the inline column's own loading state, on all four routes.

Watched failing first: the country case, with the loading chrome's isPlace read off the region tree alone. 'a class' fails locally on main as well as here, header height off by 26px, and passes in CI.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived added a commit that referenced this pull request Nov 26, 2026
…mbed

#490 kept the gate at the top of the shell for map=false, where a centred spinner stood until clients/me answered. A map-less embed is the same inline layout as a map embed here, so it now draws its heading and the placeholder column at once too, and a failed read shows in the column. One placement for every form, and App.tsx loses its branch. #490's CHANGELOG entry and the key row in docs/embedding.md say so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
sydevs-bot pushed a commit that referenced this pull request Nov 26, 2026
main reworked the geocoder field (#485, #495), the drawer snaps (#492, #495)
and the panel header (#490) while this branch was open. Every hunk keeps both
sides' behaviour.

- `MapSearch` keeps this branch's controlled `value`/`onChange` — the Where
  step holds the draft's text, `SearchField` holds `?q` — and takes main's
  settle delay, measured results band and overlaying not-found message. Main's
  new spec held the text inside the field, so it now owns it the way both
  callers do; watched failing against the settle removed.
- `NavHeader` takes main's `pendingTitle`, without its `t`: the X it named is
  this branch's `CloseButton`, which brings its own.
- The mobile snap reads `opensTall(kind)` over main's `fitsContent`, so
  calendar, add and correct stay tall and event and Share still fit their own
  content. The two predicates are disjoint.
- `EventHeader` takes a `title` rather than an event since #490, so the submit
  listing and its story pass one.
- `CHANGELOG.md`, `DESIGN_SYSTEM.md` and the two import hunks are unions.
  DESIGN_SYSTEM.md is rebuilt on main's restructure, carrying this branch's
  `ProposalForm` row, `SubmitView`, `CloseButton` and the `Link` footnote note.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjY4MwaWAk4ZhpqxBB5
Ardnived added a commit that referenced this pull request Nov 26, 2026
#490's placeholder draws an unknown class title as two bars, the shape titles take in the 352px panel. The inline column is wider, so the title arrived on one line and the header shrank 26px as the class landed, in CI as well as here. DrawerChrome now asks the Drawer atom's mode (`useDrawerMode`, since EventHeader sits outside every slot CSS could reach) and passes `titleLines`: one inline, two in a sheet or panel.

The skeleton spec's two class cases were the failure; all 12 pass now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived added a commit that referenced this pull request Nov 26, 2026
Four more PRs: #496 (a class drags down to its key facts), #498 (the class
address ends with its postcode and copies on tap), and the contract
re-syncs #497 and #499.

- `CHANGELOG.md`: #496's and #498's entries above #490's, which keeps this
  branch's wording.
- `translations.en.json`: taken from production again with
  `pnpm sync:translations --write`. Since the last sync SahajCloud#1278
  dropped `common.errors.captcha_blocked`, and #498's `common.chrome.copied`
  replaced `share.copied`. `RETIRING_KEYS` loses its last entry, the key
  production no longer serves. `pnpm types:cms` wrote no change.

#496's ladder changes write only where the sheet can collapse, so the
inline column is untouched by them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants