Skip to content

feat(components): add a mobile menu, and make the compact bar the phone's header - #283

Merged
sydevs-bot merged 29 commits into
mainfrom
claude/feat-275-mobile-menu
Nov 20, 2026
Merged

sydevs-bot merged 29 commits into
mainfrom
claude/feat-275-mobile-menu

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Phones get a menu: ☰ opens a centred full-screen panel with every nav destination, Classes Near Me, socials, languages.
  • Below lg: the compact bar is the whole header, 56px instead of 139px, on one 24px gutter in every state.
  • Joined: the header design pass the owner asked for on this PR — Mobile A bar, Mobile B menu, Desktop D1 row.
  • Joined: the English mirror is synced, which is what the contract check asks of any branch that touches it.
  • Joined: a wisdom-style block no longer paints blocks.general.wisdom_sidetext down its own edge on eleven live pages.

Change outline

Components — Header

The banner becomes desktop-only and the sticky row becomes the phone's header. At lg: the stuck row restates the page band, so its logo holds the banner logo's edge instead of jumping from x 24 to x 160 on stick.

 Header                                           components/organisms/Header/Header.tsx
   <header bandClassName>                       # stays at every width: the page's only `banner`
-    band: always drawn
+    band: max-lg:hidden                          # desktop-only; empty below lg, so it draws nothing
     Logo text · HeaderIllustrationSvg
-    action link: words only, max-w-20            # wrapped over three lines
+    action link: pin + words on one line
   <nav sticky top-0 z-50>
-    un-stuck: border-t + bandClassName
+    un-stuck: lg:border-t + bandClassName        # the top rule only divides it from the banner
     stuck:    surface-light full-bleed bg-white
-    rendered only with nav items
+    rendered without nav items too, lg:hidden    # below lg it is the whole header
-    <div flex justify-between max-w-5xl px-6>
+    <div flex min-h-14 lg:grid-cols-[1fr_auto_1fr]>  # stuck: max-w-7xl mx-auto px-6, the band's own edge
-      Logo icon, aria-label     hidden until stuck, every width
+      Logo inline (lotus + wordmark)   hidden until stuck at lg only; named by its wordmark
       link row                  hidden lg:flex
-      map pin, aria-label       hidden until stuck, every width
+      map pin                   hidden until stuck at lg only; worded from xl
+      MobileMenu                lg:hidden, -mr-2.5

HeaderNavDropdown's trigger gains a trailing chevron, since it opens a panel rather than a page.

Components — MobileMenu

One component owns the trigger and the panel, because Floating UI's context couples them. The panel opens on a copy of the bar, drawing the same min-h-14 and -mr-2.5, so × replaces ☰ in place.

MobileMenu                                       components/organisms/MobileMenu/MobileMenu.tsx
  <Button ☰ aria-label={t('common.a11y.menu')}>
  open →
    FloatingPortal                               # no ancestor added above the sticky nav (#204)
      FloatingOverlay lockScroll z-60            # above the nav's z-50 and the splash wrapper's z-30
        FloatingFocusManager                     # modal: the panel covers the page
          <div role="dialog" fixed inset-0 flex-col>
            min-h-14 row: Logo inline · × -mr-2.5    # the bar's geometry, so × lands on ☰
            my-auto block                        # centred between bar and foot; collapses on a short screen
              NavRow per item                    # a link with aria-current, or a Disclosure
                                                 # (aria-expanded, aria-controls) over dropdown.links
              Classes Near Me                    # outline Button
            MenuFoot                             # the SocialIcon row, then a Disclosure of languages
                                                 # with more than one locale; lang= and aria-current
  useFloatingRootContext                         # interactions only: nothing is positioned

Behaviour — the three things that decide where the panel's DOM may go

 the panel is portaled and position: fixed, so:
+  /map's `flex h-dvh flex-col overflow-hidden` column cannot clip it
+  a splash route's `pointer-events-none absolute inset-0` box cannot swallow its clicks
+  no wrapper sits between the page and <nav>, which is what released the sticky nav in #204

Flow — closing

 close happens on these paths
   Escape                                         useDismiss
-  trigger pressed again, outside press           # the panel covers both of those targets now
+  a destination taken                            onClick on each row: Vike swaps the page under a
+                                                 # header that stays mounted
+  the close control                              # the only way out a pointer has
+  the viewport reaching 64rem                    matchMedia: the trigger is lg:hidden there

Types

useSiteNav now owns the language options and the social links, so the footer and the phone menu on both layouts read one list. Logo gains the lockup a bar needs.

 SiteNav                                          layouts/useSiteNav.ts
   navItems, actionLinkHref, actionLinkText
+  languages      # moved from LayoutChrome: current page in each locale
+  socialLinks    # moved from LayoutChrome, still a hard-coded TODO
 Logo variant                                     components/atoms/graphics/Logo/Logo.tsx
   'icon' | 'text' | 'square' | 'circle'
+  'inline'       # lotus beside the one-line wordmark; a linked one carries touch-target

Files

 components/organisms/
+├── MobileMenu/                # the trigger, the panel, and its NavRow and MenuFoot
 └── Header/
     └── HeaderNavDropdown.tsx  # loses the <span> that carried refs.setReference, and its className prop

Preview

Narrow the window below 1024px for the phone header and the menu.

  • / — the home page, a splash route whose header sits inside pointer-events-none
  • /chakras-channels — an ordinary LayoutChrome route; scroll it at 1024px and up to see the stuck row keep the banner logo's edge
  • /map — LayoutMap, which renders no footer and puts the bar inside overflow-hidden h-dvh
  • Organisms → Mobile Menu — the panel on its own, with three languages so the language list shows
  • Organisms → Header — the bar in both states
  • Atoms → Graphics → Logo — the new inline lockup

Contract impact

common.a11y.menu is no longer hand-copied: sydevs/SahajCloud#1216 merged and deployed, so server/payload-types.ts took it from the dispatcher's contract sync and lib/translations.en.json now carries the pnpm sync:translations output.

The contract check compares the whole of a copied file a PR touches, not the lines it changed, so editing the mirror at all made three of main's own drifts this branch's to sweep:

In the mirror Now
common.a11y.opens_in_new_tab, retired upstream, read by nothing gone
lecture.a11y.untitled_heading, reworded upstream to Untitled Lecture the upstream wording
footer_navigation, primary_navigation, skip_to_main, indented by four spaces six, as the writer emits
blocks.general.wisdom_sidetext, hand-copied by #269 ahead of its producer gone — see below
  • blocks.general.wisdom_sidetext still holds no English upstream. feat(translations): declare a key's English in the schema, reconciled on boot SahajCloud#1218 declares it and is open. The mirror's hand copy was the only thing resolving it, so tests/guards/translation-keys.test.ts passed while the live read answered with the key path: the deployed preview paints blocks.general.wisdom_sidetext down the edge of every wisdom-style block, on all eleven chakra and channel pages.
  • So OrnateTextBox takes the label from its caller only. Absent, the ornament does not draw, which is what an aria-hidden decoration owes a page over a key path. The prop's docs name #1218, and the default comes back when the key answers.
  • server/payload-types.ts keeps one hand-restored entry. blocks.general.wisdom_sidetext was hand-typed by WeMeditateWeb#269, and pnpm types:cms drops it again on every run until feat(translations): declare a key's English in the schema, reconciled on boot SahajCloud#1218 merges.

Test results

  • Lean gate: ✓ .claude/skills/pr-prep/check.sh — lint, tsc --noEmit, 1537 tests in 152 files, including main's axe gate (feat(components): skip link, nav names, page titles and an axe gate #284), on the branch merged with current main
  • Targeted specs: Header, MobileMenu (SSR and jsdom), Logo, OrnateTextBox, blockConverters, tests/a11y and tests/guards
  • pnpm sync:translations re-run after the commit leaves the mirror unchanged, which is what the contract check measures
  • Build: not run. Nothing here touches the build or the Worker config.

Measured with Playwright against a local dev server reading production SahajCloud:

Check Result
Sideways scroll at 320, 390, 1024, 1280 and 1440px none
Phone bar height, un-stuck and stuck 57px, both
Logo x, banner and stuck row, at 1024 / 1280 / 1440 24 / 24 / 104, both rows
☰ in the bar vs × in the open panel, at 390px same drawn box, x 346–366, y 18
elementFromPoint at the × centre on /, a splash route the close control
First row of the open menu at 320×568, About Meditation expanded reachable by scroll

getBoundingClientRect on <nav> over /chakras-channels, this branch's Cloudflare preview against main's deployed Worker, at 1024, 1280 and 1440 — identical at all three:

un-stuck stuck
main 46px 46px
this branch 58px 57px

The lg: row is +12px un-stuck, +11px stuck: the wordmark in min-h-14 where main drew a 16px lotus. #275 records the design pass that asks for it.

Manual verification

  1. At 320, 360 and 390px on /, an article page and /map: the bar is one 56px row with the logo, pin and ☰ on the 24px gutter; it is transparent at the top of / and white once scrolled.
  2. Open the menu on each: × sits exactly where ☰ was, every row responds to a real tap, About Meditation expands, a row closes the panel as it navigates, and Escape returns focus to ☰.
  3. On a real iPhone or iPad, scroll a LayoutChrome route down a screen or two, then open the menu: the panel covers the viewport with no strip of page above it, and every row and the close control work. Chromium takes the other branch of Floating UI's scroll lock, so nothing here can stand in for this.
  4. On an iPad in portrait, open the menu and rotate to landscape: it closes.
  5. At 1024px and up: scroll past the banner and confirm the stuck row's logo stays on the banner logo's edge, the links stay centred, and "Classes Near Me" is worded from 1280px. The About Meditation mega menu still opens on hover, click and Enter/Space, and dismisses on Escape.

Notes for reviewer

  • Scope grew. The owner asked for a design pass on this PR's header in every mode; the options went on a design canvas, and the build is the chosen Mobile A bar, Mobile B menu and Desktop D1 row. The title says so.
  • No merge order left. feat(translations): add common.a11y.menu for WeMeditate Web SahajCloud#1216 shipped common.a11y.menu, so ☰'s accessible name reads Menu from the live global as well as from the mirror.
  • The home splash's white ink is content, not code. The home page's English splash textColor was dark in production SahajCloud, which drew the header grey; it is now light, like the legacy site. White on the bright sky behind the header is still under 4.5:1 — a scrim behind the header over photo splashes would be a follow-up.
  • "Classes Near Me" is worded in the stuck desktop row from xl: only. A fifth featured page fills that row at 1024px, and a grid that cannot fit pushes the document sideways (fix(components): the sticky nav overflows the viewport on mobile #202).
  • The About Meditation disclosure lists the knowledge pages as titled, so its first row repeats "About Meditation". An "Overview" label would need a new SahajCloud string.
  • The panel does not repeat the mega menu's two featured articles. Those are editorial picks, re-randomised per mount, not navigation.
  • The banner landmark stays on a phone. <header> renders at every width and only its band is max-lg:hidden: <nav> cannot carry banner beside its own role, and fix(components): the sticky nav never pins on a content page #204 rules out a wrapper above it.
  • The lg: row's featured pages are not the footer's infoPages. Neither nav list carries those today, so on /map they stay unreachable; worth its own ticket if it should change.
  • Settled: components/atoms/Dropdown does not grow — the reviewer picked A, keep them separate. Each popover needs a different positioning strategy, and adopting the atom would move aria-label, aria-expanded and Button's 44×44 guarantee off a real <button>.
  • Settled: components/organisms/Header/bar.ts is gone — the reviewer called it unnecessary indirection. min-h-14 and -mr-2.5 are written at their four call sites, and a test on each row keeps × on ☰.
  • Review passes. /code-review high (the PR review toolkit is not installed) and /simplify ran over the whole branch; /security-review ran because server/payload-types.ts matches the trigger, and found nothing. Dismissed: the hand-copied menu key (the Contract impact above); the wordmark derived for every Logo variant and its locale-blind lower-casing (unmeasurable cost, and the casing predates this branch); the hairline under the transparent phone bar (the chosen design); a padding shift at the moment of sticking (measured: none). /simplify items left for later: the panel's fixed inset-0 inside FloatingOverlay's own fixed box (unverifiable here on iOS), splitting bandClassName into geometry and a surface prop, one language row shared with LanguageDropdown, and lazy-loading the panel (≈1.4 KB gz).
Detail

Why the panel measures nothing. lockScroll puts position: fixed; top: -scrollY on <body> on iOS (enableScrollLock, @floating-ui/[email protected]). That takes the scroll container out from under the sticky nav, so the bar leaves the viewport by scrollY, and an anchored top followed it off the screen. The panel takes the whole viewport instead, and useFloatingRootContext supplies only the interactions context — useFloating would still compute a position on open and re-render the panel to store it.

Why the panel is trapped when the other two popovers are not. Dropdown passes modal={false} so an autocomplete can keep typing, and HeaderNavDropdown mounts no focus manager. Neither covers the page. This one does, so keyboard movement must stay inside it, and the trap is also what marks everything behind it inert.

Why the languages are an inline list, not LanguageDropdown. Its list portals at z-50, under this panel's z-60 overlay.

Why the wordmark, not an aria-label, names the bar's logo. main's axe gate (#284) asks for review of every aria-label beside visible words (label-content-name-mismatch), and the wordmark already says the site's name.

How × stays on ☰. The bar row and the panel's copy of it both draw min-h-14, and both trailing controls -mr-2.5. Header.test.tsx pins the bar's pair, MobileMenu.interaction.test.tsx the panel's, so moving one row alone is a failing test rather than a silent drift.

jsdom's limits, and what stands in. jsdom implements no Tab key and no matchMedia. "Focus stays inside" is asserted through the other half of the same mechanism — everything outside the portal is inert and aria-hidden — and the close-at-lg: test stands in a matchMedia with a change it drives.

Closes #275


Generated by Claude Code

https://claude.ai/code/session_01Mg9rjXwbtu5nZhTXgtw3B2


Generated by Claude Code

Below `lg:` this site had no menu at all: the nav's link row is
`hidden lg:flex`, and nothing replaced it. A phone reached only the logo and
the map pin — and on `/map`, which renders no footer, those two were the only
way out of the page (#275, #234).

`MobileMenu` is the trigger and the panel together, because Floating UI's
context couples them: splitting the two would lift that state into `Header`
for nothing. It is `lg:hidden`, so `lg:` and above keep today's bar exactly.

The panel is portaled and `position: fixed`, which is what frees it from the
`overflow-hidden h-dvh` column `/map` renders the bar inside, and from the
`pointer-events-none` box a splash route wraps the header in. Unlike
`Dropdown` and `HeaderNavDropdown` it is focus-trapped: a full-screen panel
leaves nothing behind it to reach.

The un-stuck nav no longer hides itself below `lg:`. Its committed reason was
that it held nothing visible there, which the trigger ends.

`common.a11y.menu` is hand-copied from sydevs/SahajCloud#1211's branch, into
`server/payload-types.ts` and `lib/translations.en.json`, so this branch
typechecks before that one merges.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVPxLDn9tU7ZE36Q1p
A portaled, fixed panel is what makes the `overflow-hidden h-dvh` column on
`/map` and the splash route's `pointer-events-none` box irrelevant, so that
property is worth a test of its own.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVPxLDn9tU7ZE36Q1p
Four cleanup lenses over the branch. What changed:

The panel's four constant style properties become Tailwind classes, leaving
Floating UI to supply only `top`. Tailwind can see and purge them, and the
comment defending them shrinks with them.

`HeaderNavDropdown`'s `className` prop goes with the wrapper it styled: its
doc named that wrapper, and nothing passes it.

Comments that restated the code, the library, or each other are cut — the
`/map` constraint now has one home, and the trigger's accessible name one.

Tests that re-asserted the `Button` atom's own matrix, or fired one event in
two cases, are folded together. `tests/_helpers/markup.ts` gains `tagFor`,
the sibling of `anchorFor` these two specs were hand-rolling.

`Header.test.tsx` loses a negative narrowed until it matched nothing: the two
controls are already pinned positively on the lines above it.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVPxLDn9tU7ZE36Q1p
…r it

Three failures the review pass found, each with a test that fails without
its fix.

**A destination left the panel open.** Vike swaps the page under a header
that stays mounted, so taking a row rendered the new page behind a panel
that still covered it — with `markOthers` holding that page hidden from
assistive tech.

**A rotated tablet trapped its viewer.** Crossing `lg:` while open hides the
trigger, which is the only pointer-reachable way to close, and collapses its
rect so the panel covers the bar as well. The panel now draws a close
control, which `common.a11y.close` already names.

**The page scrolled behind the panel.** The nav is `position: sticky`, so
that flipped its sticky state under an open panel and the panel's own top
edge jumped mid-gesture. `FloatingOverlay lockScroll` holds it.

`tagFor` matched backwards from the attribute, so an attribute any element
may carry could return a slice spanning two of them. It now matches forwards
over the tag's own openings.

The component's summary claimed the panel reaches every destination the
`lg:` row does. It does not: the mega menu's featured articles are editorial
picks rather than nav, and the summary now says so.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVPxLDn9tU7ZE36Q1p

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

1 question for the reviewer, one per thread.

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


Generated by Claude Code

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@sydevs-bot

sydevs-bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running
CI fix 3

recent dispatches
  • 22:30Z resolve-conflicts · attempt 1 · session · done
  • 22:30Z resolve-conflicts · attempt 1 · session
  • 22:17Z address-review · attempt 1 · session · done
  • 22:17Z address-review · attempt 1 · session
  • 13:26Z fix-ci · attempt 3 · session · timed out

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

@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 19, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 19, 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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
wemeditate-web dbdedbe Commit Preview URL

Branch Preview URL
Nov 20 2026, 10:36 PM

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🧐 Adversarial review

The diff is the ticket and no larger: one new organism, the un-gating of the un-stuck bar, and part 5's span removal — which was dead code, since main's Header.tsx:198 never passed HeaderNavDropdown's className. tagFor is generic with two callers, so it earns its place. One defect, on iOS: Floating UI's scroll lock puts position: fixed on <body>, which takes the scroll container out from under the sticky nav — #204's mechanism, reached by the one platform this panel exists for. And the criterion the ticket demanded be measured was measured in a Ladle section, where #202's clipping edge cannot exist.

Findings

  • blocker — MobileMenu.tsx:70 — lockScroll breaks the sticky nav on iOS.
  • should-fix — MobileMenu.stories.tsx:54 — the 44×44 measurement cannot reproduce #202 here.
  • should-fix — Header.test.tsx:83 — the bar's touch-target-overlay guard was deleted, not scoped.
  • consider — MobileMenu.tsx:86 — the close control duplicates the visible trigger.
  • consider — Header.tsx:189 — where the trigger sits in the un-stuck row; the ticket left this to you.

What was checked

Read whole on the branch: MobileMenu.tsx, its three test and story files, Header.tsx, HeaderNavDropdown.tsx, Header.test.tsx, tests/_helpers/markup.ts, and Button.tsx for the branches the trigger and the rows take. Ladder: every new piece is an existing dependency or the repo's own Button/Link; fullWidth and touch-target-overlay were read off Button.tsx rather than assumed. Contract side: common.a11y.menu is PR sydevs/SahajCloud#1216 under issue #1211, and the hand-copied WmWebTranslationsCommonA11YStrings member matches. The scroll lock was read from @floating-ui/[email protected], not from memory. No preview was opened.

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


Generated by Claude Code

Comment thread components/organisms/Header/Header.tsx Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 19, 2026
Floating UI's `lockScroll` puts `position: fixed; top: -scrollY` on `<body>`
on iOS (`enableScrollLock`, @floating-ui/react 0.27.20). That takes the
scroll container out from under the `sticky` nav, so the bar leaves the
viewport by `scrollY` and `autoUpdate` drags the panel's anchored `top`
negative behind it — the close control and the first rows off the top of the
screen, on the one platform this panel exists for. #204's mechanism, and
jsdom takes the non-iOS branch of that lock, so nothing covered it.

The panel takes the whole viewport instead of anchoring under the bar, so
nothing measures the nav: `useFloating` is reduced to the interactions
context, and `autoUpdate` and the inline `top` are gone. The trigger is
covered while the panel is open, which is what the close control was already
there for.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYmSEnAmJiZip3w8Zv
The trigger legitimately brings one `touch-target-overlay` into the compact
bar, and `not.toContain` came out of the case for it. The bar is still the
clipping edge #202 found, so a count admits the trigger and keeps the guard.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYmSEnAmJiZip3w8Zv
The 44x44 criterion was measured in this section, where the viewport edge
that clipped #202 to 44x31 cannot exist and the two boxes either side stand
in for the real `Logo` and map-pin boxes. The measurement now runs on the
preview; the description says what the section is and is not for.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYmSEnAmJiZip3w8Zv
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Five findings addressed on f075645. Lean gate green — 1191 tests.

The one check nothing here can run: the panel on a real iOS device.

🤖 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 19, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review November 19, 2026 00:31
@sydevs-bot
sydevs-bot requested a review from Ardnived November 19, 2026 00:31
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Ready to review with sydevs/SahajCloud#1211. It merges after sydevs/SahajCloud#1211 does: auto-merge is armed once that closes, after its contract re-sync lands here.

🤖 sydevs dispatcher

@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 19, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 19, 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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
wemeditate-design dbdedbe Commit Preview URL

Branch Preview URL
Nov 20 2026, 10:36 PM

Comment thread components/organisms/Header/Header.tsx Resolved
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 19, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 19, 2026
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 20, 2026
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 20, 2026
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

The session for fix-ci did not finish after 3 attempts. I have stopped retrying. A mention (@sydevs-bot) or a push from you starts me again.

🤖 sydevs dispatcher

@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 20, 2026
@Ardnived

Copy link
Copy Markdown
Contributor

@sydevs-bot the earlier sessions stalled on a usage limit — please pick this up again.

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 20, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 20, 2026
sydevs-bot and others added 3 commits November 20, 2026 22:19
… path

`blocks.general.wisdom_sidetext` is declared in SahajCloud's schema but
holds no English, so `t()` answered with the key path and all eleven
wisdom-style pages painted `blocks.general.wisdom_sidetext` down the
block's own edge. Confirmed on the deployed preview at /central-channel.

The committed English mirror hid it: WeMeditateWeb#269 hand-copied the
key there ahead of its producer, sydevs/SahajCloud#1218, so the
translation-key guard resolved it and the tests read real copy.

The label is now the caller's. Absent, the ornament simply does not
draw, which is what a decorative `aria-hidden` span owes a page over
rendering a key path. The prop's docs name the upstream PR, so the
default comes back when the key answers.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXwbtu5nZhTXgtw3B2
`pnpm sync:translations` output, replacing this branch's hand-copied
`common.a11y.menu` now that sydevs/SahajCloud#1216 has merged and
deployed.

It also sweeps three drifts the mirror carried on `main`: the retired
`common.a11y.opens_in_new_tab`, the reworded
`lecture.a11y.untitled_heading`, and three keys indented by four spaces.
`blocks.general.wisdom_sidetext` goes with them — the commit before this
one stops reading it.

The contract check compares the whole of a copied file the PR touches,
so a branch that edits the mirror at all owes every one of these.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXwbtu5nZhTXgtw3B2
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

🩹 CI is fixed in 6e16862. Base merged clean, no conflict.

Lint, Typecheck & Unit failed on the contract check, not on the menu. It compares the whole of a copied file a PR touches, so one hand-added line made main's drift in lib/translations.en.json ours. pnpm sync:translations sweeps it.

One sweep was load-bearing. blocks.general.wisdom_sidetext holds no English upstream — sydevs/SahajCloud#1218 is open — and the mirror's hand copy was all that resolved it. So the key guard passed while the live read answered with the key path: the preview paints blocks.general.wisdom_sidetext down the edge of all eleven chakra and channel pages. OrnateTextBox now takes that label from its caller and draws nothing without one.

Lean gate green: lint, tsc --noEmit, 1537 tests in 152 files. Contract impact in the body is refreshed.

Still yours: Manual verification 1 to 5, item 3 on real iOS especially.

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


Generated by Claude Code

@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 20, 2026
`layouts/LayoutChrome.tsx` was the only conflict. Both sides moved the
same two lists, in opposite directions: this branch lifted `languages`
and `socialLinks` into `useSiteNav`, so the footer and the phone menu
read one list on both layouts, while #282 replaced the layout's
hard-coded social array with `SOCIAL_PROFILES` in `lib/site-identity.ts`
and kept `languages` local.

Both intents hold: `useSiteNav` stays the one place the layouts read,
and it now returns `SOCIAL_PROFILES` rather than a second copy of the
same three profiles. `lib/content-seo.ts` claims that constant as the
`Organization`'s `sameAs`, so a profile added there reaches the markup,
the footer and the menu together.

`SOCIAL_PROFILES` is `readonly`, which `Footer` already took, so
`SiteNav.socialLinks` and `MobileMenu`'s prop widen to match.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjV1jbvBJgicqpdxHKQ
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Merged main in. layouts/LayoutChrome.tsx was the only conflict, and both sides had moved the same two lists in opposite directions.

  • socialLinks — this branch lifted it into useSiteNav; feat(seo): share metadata and JSON-LD at parity with the old site #282 replaced the layout's hard-coded array with SOCIAL_PROFILES in lib/site-identity.ts. The hook keeps being the one place both layouts read, and now returns that constant instead of a second copy. lib/content-seo.ts claims it as the Organization's sameAs, so the markup, the footer and the phone menu cannot drift apart.
  • languages — same derivation on both sides. Kept this branch's, in useSiteNav.
  • SOCIAL_PROFILES is readonly, as Footer already took it, so SiteNav.socialLinks and MobileMenu's prop widened to match.

The body's Types sketch still says socialLinks is "a hard-coded TODO". It is not any more: the TODO lives on SOCIAL_PROFILES.

Lean gate green on the merge: lint, tsc --noEmit, 1681 tests in 160 files.

🤖 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 20, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 20, 2026
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.

feat(components): add a mobile menu to the compact header bar

3 participants