Skip to content

A live-meditation page counts down to the next session, and any page can show the class directory #271

Open
0 of 2 issues completed

Description

@Ardnived

The goal

A visitor who opens a live-meditation page sees when the next session starts, in their own time, with a countdown and a way to join. An editor sets this up by pointing the page at an online class that already exists in the class directory. The same editor can drop the class directory itself onto any page — as a list or a map, opening wherever they choose, in the page's own language — so a visitor who has no session waiting still leaves with a class to join.

Why it matters

The old site has a live-sessions feature: each session shows its weekly schedule, counts down to the next start, and switches to a "join now" panel when it begins. The new site has only two written pages about live meditation, with no schedule and no countdown, so a visitor cannot tell when to come back. The old feature is also its own separate system, and it has decayed: of its 14 entries, only two addresses still open a working page today.

The class directory already holds the classes, takes the registrations and sends the reminders, but on the new site it lives on one map page and nowhere else. An editor cannot put it on the page where a visitor is actually standing.

What success looks like

The countdown

  • An editor puts a session on a page by choosing an online class that already exists in the class directory. They type no day, no time, no time zone and no joining link, and no developer is involved.
  • The classes an editor can choose from are only those that are online and still running, so there is nothing broken to pick.
  • A visitor sees the next start in their own local time, and a countdown to it.
  • A session more than a day away counts down in days, not in a three-digit hour count.
  • When a session is about to start or is under way, the page shows a clear "join now" action leading to the joining link.
  • The page shows the right state within a minute of a session starting, even if the page was prepared minutes earlier.
  • After a session ends, the page counts down to the next one by itself.
  • When a session has no future dates left, the page says so in words, instead of counting down to a date in the past or showing a blank space.
  • When the chosen class has no usable joining link, the page shows no join button at all, rather than a button that goes nowhere.
  • When the chosen class is unpublished, removed, or stops being an online class, the page still loads and shows no dead session, and someone is told about it.
  • A coordinator correcting that class — a new time, a new joining link — changes what the page shows within ten minutes, with no editor involved.
  • With JavaScript switched off, the page still shows the session's day and time with its place named — "Tuesdays, 7:00 pm London time" — and a working joining link. The live countdown may be absent. Nobody retypes that place name: it comes from the class.
  • Nothing on the page changes once a second unless a session starts within the hour, and nothing changes faster than once a minute for a visitor whose device asks for less motion.
  • A screen reader reads one sentence giving the next session's day, time and how far away it is, and does not re-read the numbers every second.
  • Every word the site writes around the countdown reads in the language of the page.

The class directory on a page

  • An editor adds the class directory to any page by placing one block and choosing where it opens: a region, a single class, or nothing in particular — and "nothing in particular" shows the whole directory from its usual starting point, not an empty box.
  • The editor can show it as a plain list with no map, and can have it open showing only online classes. They type no address, no language and no web code. A visitor can still widen that from the directory's own filters.
  • No editor sets the directory's language: it follows the page it sits on. A visitor may switch the directory itself to another language from inside it, and that choice travels in a link they copy, while the page around it stays in its own language.
  • The directory sits inside the page — heading above it, content below — and is usable on a phone as well as a desktop.
  • When the class or region the block points at is unpublished or removed, the page still loads and shows the directory rather than an error or an empty space.
  • A live page in a language with no class of its own shows, on the page itself, the online classes held in that language.
  • Opening a class inside the directory adds it to the end of the page's address, so a link a visitor copies reopens what they were looking at. The page's own address never changes, and a search engine still sees one page per address.
  • Pressing Back steps back through what the visitor opened inside the directory, and the last Back leaves the page. It never gets stuck.
  • An old link carrying a directory address still opens a page that no longer has the directory on it — nothing broken, nothing missing, no error.
  • The directory adds nothing of its own to the page's title, its address for search engines, or its list of other-language versions.

Registering for a session

  • A visitor can register for the session from the live page itself, and sees what they are agreeing to before they send it.
  • A visitor who registers is reminded by email before the next session, with nobody on our side sending anything.
  • The page offers registration only for a class that actually accepts it, and never a form that leads nowhere.

Before the switch

  • A live-meditation page exists at its new address in English and in Russian, and Switch wemeditate.com over to the new site #160 has the list of old addresses — wemeditate.com/live and wemeditate.com/ru/live/meditation — to point at them.
  • The English Tuesday-and-Thursday 7 pm London session exists as an online class in the directory, and the English live page points at it. The Russian Monday 17:00 Moscow session already exists in the directory, and the Russian live page points at it.

Not included

  • A separate collection or admin area for sessions. Sessions come from the class directory, and the page stays an ordinary page.
  • Picking a session for the visitor from their location — including guessing it from their internet connection. Each language's page shows its own session, or the online classes held in its language.
  • Embedding the video call or stream in the page. The page links out.
  • A mailing list or reminder emails of our own. A visitor who wants a reminder registers for the class, and the class directory already writes to them before it starts.
  • Changing a class's name or joining link for the page's own audience. The page shows its own heading, in its own language, and takes only the schedule and the joining link from the class.
  • Telling anyone when a coordinator retires or re-times a class. The page degrades to "no upcoming session" by itself.
  • Reviving the old entries whose addresses already lead nowhere — including wemeditate.com/surrey, which 404s on the old site today.
  • Creating a live page in a language that has none today. A live page that exists but has no class picked shows that language's online classes instead of nothing.
  • A session that runs past midnight in its own city. Neither session that still runs does.
  • A listing page, built by us, of all live sessions.
  • An "add to calendar" file of our own. The directory offers one where it shows a class.
  • Every directory setting in the editor. The block offers where it opens, whether the map shows, and online classes only. More settings is more to get wrong on a page nobody is watching.
  • Choosing the directory's language in the editor. It follows the page it sits on, as everything else does.
  • Changing the class directory itself. Its filters, its list-only view and its registration form already exist; this goal only places them on a page.
  • Removing the directory's own language switch, or anything else inside it. What the directory shows is the directory's business; this goal places it.
  • A version of the directory that works without JavaScript. The countdown degrades to plain words without it; the directory does not, and making it would be work on the directory itself.
  • Viewing or managing registrations on our own site. A registration belongs to the class, and is handled where the class lives.
  • Two directories on one page. A page shows one.

Decisions

  • What replaces the old site's live sessions? → Rebuild them, without a new collection: "They should be implemented as Pages in the new CMS, but we may need a countdown block or to enhance an existing block." (Ardnived, 2026-11-18)
  • Does the reminder sign-up come across? → Yes, on the English page, with a consent line — and as the class's own registration rather than a mailing list, as the mailing-list decision below records. Other languages get the online classes in their language instead. The page at the reminder address stays, because the mobile app reads it as a marker. (Ardnived, 2026-11-18, revised 2026-11-19)
  • Where does a session's schedule come from? → The editor picks a class from the existing class directory; nothing is retyped. Where a language has no class of its own to pick, the page shows the online classes held in that language instead. (Ardnived, 2026-11-19)
  • What does a visitor see when JavaScript does not run? → The session's own time with its place named, upgraded to the visitor's own clock and a countdown once JavaScript runs. (Ardnived, 2026-11-19)
  • How fast does the countdown change? → Whole minutes until the final hour, then seconds. (Ardnived, 2026-11-19)
  • Does the list of online classes ship with this goal, or after it? → In this goal, and wider than a list: a general-purpose class-directory block an editor can place on any page, with a starting place, a map switch and an online-classes-only switch. The language comes from the page, never from the editor. (Ardnived, 2026-11-19)
  • Which mailing list do the reminder sign-ups join? → None. A visitor registers for the class itself, and the directory already reminds everyone registered. The mailing-list sign-up is dropped from this goal. (Ardnived, 2026-11-19)
  • What does a page show when the class it points at disappears? → The directory block handles it. Where the block cannot, the page falls back to that language's online classes. (Ardnived, 2026-11-19)
  • May the directory change the page's own address as a visitor browses it? → Yes, on every page that carries it. What a visitor opens is added to the end of the page's address, so a copied link reopens it; the page's own address, and what a search engine reads, never change. The map pages keep their own way. Accepted: Back steps through what the visitor opened before it leaves the page, and a page carries one directory at most. (Ardnived, 2026-11-19)

Open questions

None. Every decision on this goal is settled.

Notes

Part of the launch: #160 switches the site over, and this is one of the old site's features that must exist before it does. There is no redirect machinery on the new site yet, so #160 owns all of it and this goal only supplies the pages those addresses point at. #160 also owns keeping the empty reminder page off the website while the mobile app keeps reading it.

⚠ One decision in #160 now disagrees with one here. #160 says the launch ships "one signup list, for live-meditation reminders only" (2026-11-18); this goal decided a day later that there is no mailing list, and that a visitor registers for the class itself (2026-11-19). The newer decision is this goal's, and #160's line needs revising to match.

One warning for the redirect list: the old site's address history includes its /streams/… addresses, which already lead nowhere on the old site itself. Pointing the new site at them would carry a dead link forward. The addresses worth carrying are the /live ones.

The old site's own repository holds the two requests this goal answers: sydevs/WeMeditate#157 asks for the live-meditation time to convert itself to the visitor's zone, and sydevs/WeMeditate#139 asks for online classes to be properly represented. Both close when this ships.

How well a visitor using a keyboard or a screen reader can work the directory is the directory's own open work, sydevs/SahajAtlasWeb#432. This goal places the directory; it cannot fix its interior.

Technical notes

SC SahajCloud, WMW WeMeditateWeb, AW SahajAtlasWeb

TL;DR

  • Settled: the atlas filters, lists without a map, registers and reminds. No new collection and no date library; two blocks, one translations column, and no AW work.
  • Settled: the embed writes no head tag, and routing=query is its default, so the address decision costs nothing. It writes a second parameter nobody expected.
  • Risky: one widget per page; map=false needs an explicit height; every read 403s off a listed domain, so no PR preview exercises the block; the Countdown atom's four gaps stand.
The address and the head — what the embed does to a content page
Fact Value Evidence
No head tag, ever Canonical, hreflang, <title>, OG and JSON-LD are each gated on standalone, false for the web component. Only a loader <script> and @font-face reach the host head AW mode.ts:5, 44
⚠ Never wire getAtlasSeo into a content page It is for a host owning its route, and emits the atlas's own canonical at /map for every route, unmovable by a mount. ContentHead builds ours from urlPathname alone, so ?atlas= is never indexed apart WMW atlas-head.tsx:1; head.tsx:183
⚠ A second parameter: ?locale= The visitor's language cog writes it, and it outranks the block's own locale. The cog renders in a map-less embed, and nothing hides it AW locale-param.ts
⚠ A home region writes ?atlas= on load With one set on the client record the first open rewrites the URL unprompted, so "opens at nothing" is not nothing AW FullInterface.tsx:175
⚠ Back is shared with Vike pushState per in-embed navigation, replaceState for mount and filters; other parameters survive byte for byte. Client Routing owns popstate, so Back re-renders the page and re-mounts the element — a cache cost, not a break, and a host shape AW already handles (Wix). Unverified AW atlas-history.ts:157
The embed contract — what the block may configure
Fact Value Evidence
Starting place, and routing atlas=<route> is a slug chain plus a class id, a default the page URL overrides. routing=query is the default: omit it. /map pins path and owns the record's canonical.embed, so a content page cannot embedding.md:213
⚠ One widget per page A second <sahaj-atlas> shows nothing embedding.md:383
⚠ map=false needs a height height, not min-height, or it collapses; under 360×420 it becomes a card opening the full interface embedding.md:435
Filters are a default a visitor can clear format=online and langs= match by exact code: pt-BR must map to pt AW filters.ts:371
The language fallback works Measured on sahajatlas.com/search?format=online&langs=ru: both Russian classes, weekday and local time. ⚠ It is the location-search surface, so a "Search for events near…" field sits above it —
What the countdown reads
Fact Value Evidence
One read serves the no-JS line Measured on 1506: onlineUrl, schedule.firstDate_tz (Europe/Moscow), weekdays, endTime, no read gate on the link SC scheduleFields.ts:112
⚠ The editor's picker opens empty events and regions sit in the sahaj-atlas project, not wemeditate-web. One grant fixes picker and key SC projects.ts:31, 89
⚠ A narrowed select empties the schedule upcomingDates — 10 UTC instants, 6 months out, exclusions applied, [] once past, DST by rrule-temporal — is virtual + afterRead with no virtualFieldInputs, so select the whole group SC scheduleFields.ts:504
⚠ A finished class still resolves by id List reads drop them, a read by id does not: upcomingDates: [] is all that stops a dead countdown SC excludeFinishedEvents.ts:20
⚠ Only registrationMode: 'sahaj-atlas' Measured: 20 of 22 online classes qualify; the rest get neither the register form nor the 24h reminder AW EventRegister.tsx:52
⚠ The picker filters on eventType, not format The column is eventType: 'online' | 'offline'; format=online is the widget's own parameter. inactive has no schedule to count down SC Events.ts:428; lifecycle/finished.ts:24
⚠ map-search is a reserved twin SplashBlock carries countdown and map-search, both rendering as a plain hero, and Splash has the slot. No production page uses either SC SplashBlock.ts:4; WMW Splash.tsx:53

The producer computes, the browser formats. The Worker formats the first instant with Intl.DateTimeFormat and a zone label; the browser re-formats with no timeZone, ticks, and says "in 2 days" with Intl.RelativeTimeFormat. No date library: five weighed 19–22 kB gzip on a path every page pays, and Temporal is not Baseline. Send all 10 instants — the edge caches reads 600s, which is where "within ten minutes" comes from. The page keeps its own heading: a class's title is one non-localized value in whatever language its manager typed, and 1506's is Russian (SC Events.ts:242).

Countdown is server-safe and rendered by no page. Four gaps (Countdown.tsx:29): no days unit, so six days out renders 167:59:59; nothing for assistive tech; no reduced-motion gate; a hydration mismatch from a live Date.now() seed.

The plan — one child per repo, producer merges first
Repo Delivers
sydevs/SahajCloud#1228 The two block shapes below, events + regions into the wemeditate-web project, the translation keys, pnpm generate:types. No migration for the blocks — a Lexical block is JSON — but blocks.live_session is a new translations column. Merges first
sydevs/WeMeditateWeb#309 The splash countdown branch and its directory fallback, the Countdown atom's four gaps, atlasEmbedSrc parameterised, the class-directory renderer, and the read feeding them
sydevs/SahajAtlasWeb No child. The filters, the list-only mode and the registration form already exist

The interface, pinned so both children spell it alike. SplashBlock.event, a relationship to events under layout === 'countdown', filtered to eventType: 'online' AND notFinishedWhere(now) AND not inactive. The block slug class-directory, with opensAt (polymorphic regions/events, optional), showMap (true), onlineOnly (false). The keys blocks.general.days and blocks.live_session.*.

The Blocked by: line orders the merge only — the set is built in one session. pnpm types:cms reads SahajCloud's main, so the consumer copies the producer branch's src/payload-types.ts by hand while the set is in flight; the contract sync re-runs it on merge.

Attended, in production: create the English London class — a real public class, listed worldwide and taking registrations — pick the classes on both pages, and list every host carrying the block.

⚠ sydevs/WeMeditateWeb#273 moves the head onto unhead behind data.seo: a block landing after it must not reach for useConfig.

Adjacent, and what is not established
  • Production content: live-meditations (en, fr, uk, hy, bg, ru), live-online-meditations and live-meditations-reminder (en) — published, empty. 454 classes, 22 online.
  • ⚠ Re-measured 2026-11-19 over the 22 online classes: the English Tuesday-and-Thursday 7 pm London session does not exist as a class. The only Europe/London one is 1630, Edinburgh, Thursdays, English. The Russian pair is 1506 (Mon) and 1782 (Tue). Two are registrationMode: 'external' — 1805 and 1395.
  • ⚠ wemeditate.com/map is still the old Rails site, at routing=path; the register form was measured there.
  • Still unread: the wemeditate-web row's allowedDomains, home region and canonical.embed. GET /api/clients/me answers only for the key calling it, and this run's is Claude Workflow (client 40). So the host list stays attended.
  • sydevs/WeMeditateWeb#289 is adjacent, not a piece: the axe gate's fixture coverage. Unattached.

Sub-issues

Sub-issues

0 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added this to the We Meditate launch milestone on Nov 18, 2026
  2. added theissue type on Nov 18, 2026
  3. Ardnived commented on Nov 19, 2026

    @Ardnived
    ContributorAuthor

    @sydevs-bot review — this goal was filed from the terminal on 2026-11-18 and no review has started on it. It is part of the We Meditate launch (#160).

  4. added
    bot:working
    on Nov 19, 2026
  5. sydevs-bot commented on Nov 19, 2026

    @sydevs-bot
    Contributor

    🤖 no session running
    approved by Ardnived

    recent dispatches
    • 22:58Z implement · attempt 1 · session · done
    • 22:58Z implement · attempt 1 · session
    • 22:24Z implement-roadmap · attempt 1 · session · done
    • 22:24Z implement-roadmap · attempt 1 · session
    • 21:56Z revise-roadmap · attempt 1 · session · done

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

  6. moved this from Awaiting to Working in SYDevelopers Technical Roadmapon Nov 19, 2026
  7. sydevs-bot commented on Nov 19, 2026

    @sydevs-bot
    Contributor

    Reviewed and rewritten. The hard part is already built. SahajCloud already computes DST-correct next-start times on read, and the splash block already carries a countdown layout with no date to show. So this needs no new collection, no new block, no date library and no migration.

    Three corrections. The old live addresses are /live/…, not /streams/…. Only two of the 14 still open a working page. The countdown component the goal counts on needs four fixes first, including a days unit.

    Four decisions are yours, under Open questions: where a session's schedule comes from, what a visitor without JavaScript sees, how fast the countdown changes, and whether the reminder sign-up comes across. Each carries options and a recommendation. Answer with @sydevs-bot revise 1A, or in your own words.

    Once nothing is open, @sydevs-bot implement files one ticket per repo and starts building them.

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


    Generated by Claude Code

  8. removed
    bot:working
    on Nov 19, 2026
  9. moved this from Working to Awaiting in SYDevelopers Technical Roadmapon Nov 19, 2026
  10. Ardnived commented on Nov 19, 2026

    @Ardnived
    ContributorAuthor

    @sydevs-bot revise 1B 2A 3A, and 4 in my own words — from the terminal (2026-11-19).

    1B, with an addition: the editor picks classes from the existing directory. For a language that has no specific class to pick, the page instead embeds a list version of the Atlas that shows only the online classes in that language.

    2A — the session's own time, with its place named, upgraded to the visitor's clock and a countdown once JavaScript runs.

    3A — whole minutes until the final hour, then seconds.

    4 — already decided on 2026-11-18: the reminder sign-up comes across on the English live page only, as the sign-up form itself with a consent line and one mailing list for live reminders; it is being placed in the content now. The service is offered in English only, so the other languages get no sign-up: they get the online classes in their language (the embedded list above; a link to the map until that exists). The page at the reminder address is a marker the mobile app reads, so it stays; #160 is adding a way to keep such a page off the website.

  11. added
    bot:working
    on Nov 19, 2026
  12. moved this from Awaiting to Working in SYDevelopers Technical Roadmapon Nov 19, 2026
  13. 17 remaining items

  14. sydevs-bot commented on Nov 19, 2026

    @sydevs-bot
    Contributor

    Answer 8 is a decision now, and the goal is rewritten around it. Nothing is open.

    Your fact checks out: the directory adds no canonical, hreflang, title or anything else to a page's head — each one is gated on the standalone build. The address choice costs nothing either: query routing is the widget's own default.

    Three things the answer did not cover, now in the goal. The widget writes a second parameter: a visitor can switch the directory's language from inside it, and that choice sticks in the address. A starting region set on our account writes the address on load, with no visitor action. And "no map" is not "no location chrome" — the online-classes list carries a "Search for events near…" field, measured today.

    No open ticket anywhere is a piece of this goal, so the children are filed fresh.

    ⚠ One decision in #160 disagrees with one here: it still promises a signup list for live reminders, which this goal dropped. #160's line needs revising.

    @sydevs-bot implement files one ticket per repo and starts building them.

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


    Generated by Claude Code

  15. removed
    bot:working
    on Nov 19, 2026
  16. moved this from Working to Awaiting in SYDevelopers Technical Roadmapon Nov 19, 2026
  17. Ardnived commented on Nov 19, 2026

    @Ardnived
    ContributorAuthor

    @sydevs-bot implement

  18. added
    bot:working
    on Nov 19, 2026
  19. moved this from Awaiting to Working in SYDevelopers Technical Roadmapon Nov 19, 2026
  20. sydevs-bot commented on Nov 19, 2026

    @sydevs-bot
    Contributor

    Planned. Two children, one per repo, in merge order:

    The implement above approves both, so the build starts now. They are built together in one session. The blocker orders only the merge.

    The Technical notes carry the split and the interface the two share. Three facts changed there: the editor's picker filters on eventType, a class title is not always English, and the new translations group needs a migration after all.

    Creating the English Tuesday-and-Thursday London class stays attended. It does not exist in the directory today.

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


    Generated by Claude Code

  21. removed
    bot:working
    on Nov 19, 2026
  22. sydevs-bot commented on Nov 19, 2026

    @sydevs-bot
    Contributor

    Approved 2 implementation ticket(s). sydevs/SahajCloud#1228, #309 build together now, and merge in order.

    🤖 sydevs dispatcher

  23. added
    bot:working
    on Nov 19, 2026
  24. sydevs-bot commented on Nov 20, 2026

    @sydevs-bot
    Contributor

    Both children are built and pushed, as drafts, in merge order:

    1. feat(richEditor): give the countdown a class and add a directory block SahajCloud#1232 — the two block shapes, events + regions into the wemeditate-web project, the eight keys, two migrations. Merges first.
    2. feat(components): count down to a live class and place the directory #321 — the live-session panel, the class-directory renderer, the Countdown atom's four gaps, atlasEmbedSrc parameterised.

    Two things need your eye, both in #1232's body:

    • The save-time refusal is not shipped. Measured: armed, it made a page unsaveable by anyone the day its class held its last session, and by a web-translator from the start. The picker still narrows; the site degrades and reports instead.
    • "One grant fixes picker and key" is half right. It fixes the key. A non-admin's picker stays empty: the collection is hidden from a role with no write grant.

    Attended after both merge: create the English London class, point both live pages at a class, re-run pnpm sync:translations, and check the widget on a listed host — no preview can mount it.

    Filed on the way: sydevs/SahajCloud#1231.

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


    Generated by Claude Code

  25. removed
    bot:working
    on Nov 20, 2026
  26. moved this from Working to Pending in SYDevelopers Technical Roadmapon Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Priority

    High

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions