Skip to content

feat(filters): Where, When and Language buttons over the map on a computer - #542

Merged
Ardnived merged 41 commits into
mainfrom
feat/filter-chips
Nov 28, 2026
Merged

Ardnived merged 41 commits into
mainfrom
feat/filter-chips

Conversation

@Ardnived

@Ardnived Ardnived commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Wherever the side panel sits beside the map (the existing 768px crossing) the filters are three buttons over the map, wrapping where it is narrow, Where, When and Language, instead of a drawer behind the Filters button. Each menu asks the phone's questions with live counts, and every tap applies at once.
  • The full-width calendar (month and week) carries the same row in its header from 768px. Narrower widgets, a map-less list and phones keep the Filters button and the filter tags.
  • Joined: Escape in any popover now closes only the popover, in every drawer. It is the same defect the filter menus hit, fixed once in usePopover.
  • Joined: the map's credits move under its buttons, and find-me hides while the buttons show, since Where's Near me asks the same.
  • Review ask: a list the filters emptied says "No classes match your filters." with the one removal that brings classes back and "Clear filters" as stacked links, the same on every list; the filter menus no longer carry it. A searched place's list ends on "N more classes in this area. Clear filters" when the filters hide in-person classes around it.

Change outline

Components — where the filter row goes

One rule: the buttons show wherever the side panel sits beside a map, and wrap where the map is narrow. No second width measurement and no shared row decision.

 DrawerStack                                      src/views/DrawerStack/DrawerStack.tsx
   isWide = useIsWide(box)
+  wide = isCalendarFullWidth(top, isWide, view)    src/lib/shape/calendar.ts (Month, ≥768)
+  useMapControls.filterMenus = isWide && hasMap && !wide && top !== 'filters'
 FullInterface                                    src/views/FullInterface.tsx
+  <RealMapControllerProvider> now wraps the map too   # the buttons' Where resets the camera
+  <Mapbox filterMenus={<FilterMenuBar variant="floating" />} />
 MapControls                                      src/components/organisms/Mapbox/MapControls.tsx
+  filterMenus prop, shown beside the column while useMapControls.filterMenus; find-me hides then
 CalendarHeader                                   src/views/CalendarView/CalendarView.tsx
+  isCalendarFullWidth → <FilterMenuBar /> (inline) instead of <FilterButton />; no filter tags
 FilterButton, ActiveFilterChips
+  useFilterMenusOnMap() (isWide && hasMap) → return null       src/hooks/use-filter-menus.ts
 ListToolbar                                      src/components/molecules/ListToolbar/ListToolbar.tsx
-  justify-between children
+  children at the start, `end` (Sort) always at the end

Components — the button row

A controlled organism, like SearchFilters; the view wires it to the URL and supplies the Where menu's place half. The closed buttons read only what the scope holds; the live counts are taken inside a menu, which mounts only while open.

+FilterMenuBar (view)                             src/views/Filters/FilterMenuBar.tsx
+  useFilterEditor('buttons')                     src/hooks/use-filter-editor.ts (FilterView uses 'drawer')
+  where = { place, placeAnswered, always: not on /calendar, menu: facets → <WhereFilter/> }
+FilterMenus (organism)                           src/components/organisms/FilterMenus/FilterMenus.tsx
+  useFilterScope(value)                          # has languages? mixes online and in person?
+  [×] named "Clear filters" (HoverLabel)        # first in the row, only once something is answered
+  FilterMenu "Where"   filled for a searched place, Near me or a format; names a place page unfilled
+    Dropdown(trigger = Button, buttonLook(variant, filled)) → MenuBody menu="where"
+      useFilterFacets(value)                     # only while open
+      where.menu(facets) · FormatFilter
+  FilterMenu "When"    "Tue · Evening"; past two answers "3 timings" (filters.when.count)
+    MenuBody menu="when" → DayFilter · TimeFilter · MoreFilters (frequency, dates)
+  FilterMenu "Language" (where classes have one); past two "3 languages" (filters.language.count)
+    MenuBody menu="language" → LanguageFilter layout="menu"
+      CheckboxGroup (molecule), no heading: past 10 options, a search box and the checked first
+  every menu: Dropdown fitHeight → capped to the room below, down to the frame's 16px inset

Components — the list's filter lines

Said once, by the list, on every list of classes: the filters only ask what can narrow the classes here, so an empty set is reached by moving somewhere else after choosing.

+NoFilterMatches (organism)                       src/components/organisms/EventsList/FilterNotes.tsx
+  "No classes match your filters."
+  RecoveryButton variant="link"                  # "Remove Monday (3 classes)", when one removal helps
+  Button variant="link" "Clear filters"
+  rendered by DynamicEventsList, RegionView, OnlineView, CountriesView
+HiddenByFilters                                  # after a searched place's list
+  hiddenInPerson(scope, filters)                 src/lib/shape/facets.ts (in-person only, same nearby rule)
+  "N more classes in this area." + "Clear filters"
 FallbackPanel / ERROR_POLICY                     src/components/molecules/Fallbacks/Fallbacks.tsx
-  'no-results' row, clearFilters action, onClearFilters
 Button                                           src/components/atoms/Button/Button.tsx
+  variant="link"                                 # text on the line; touch-target keeps 44px

Flow — an answer, and Clear

On a place page the first answer opens that place's results; Clear then steps back to the page.

+useFilterEditor('buttons').write(next)           src/hooks/use-filter-editor.ts
+  on /search or /calendar (listsFilteredClasses) → replace the query in place
+  elsewhere                                       → push /search with the answers, region kept
+useFilterEditor('buttons').clear()
+  clearsBackToPlace(location, region)            src/lib/shape/navigation.ts
+    results, pushed from that region's page, no place searched since → navigate(-1)
+    otherwise                                                         → reset the answers, keep Where
 pageRegion(pathname)                             src/lib/shape/navigation.ts
+  steps over a trailing `filters`                # one read for a page and the filters over it
-filterOriginRegion                               src/lib/shape/path.ts (retired)

Behaviour — Escape in a popover

A Floating UI popover is not in Radix's layer stack, so the drawer heard Escape first and closed the page with the menu. The open popover now claims the key before any layer.

 usePopover()                                     src/hooks/use-popover.ts
+  while open: window keydown, capture phase
+    not in widgetOverlayContainer()'s composedPath → leave it     # the host's own key
+    Escape (not composing) → stopPropagation, close

That phase is the host page's too, so the claim is bounded to the widget's own subtree:
composedPath, since a window listener sees event.target retargeted to <sahaj-atlas> by the
embed's shadow root. An Escape in the host's own modal reaches them untouched, and Floating UI's
document-level dismiss still closes the popover.

Components — the map's control column

The credits move under the buttons, so the filter row clears only the buttons; find-me steps aside while the row offers Near me.

 ControlColumn                                    src/components/organisms/Mapbox/MapControls.tsx
-  row: [credits] [find-me / settings]
+  column, right-aligned: [find-me / settings] then [credits], opening leftward
 MapControls
+  while useMapControls.filterMenus: the filter buttons beside the column, no find-me
 FilterMenus (map)                                   # width capped against the map (size container), wraps

Files — the filter form split into blocks

The phone's form and the buttons' menus compose the same per-question blocks.

 src/components/organisms/SearchFilters/
-├── SearchFilters.tsx      # the whole form, every question inline
+├── filter-blocks.tsx      # FormatFilter, DayFilter, TimeFilter, LanguageFilter, MoreFilters
+├── RecoveryButton.tsx     # moved from views/FilterView: the drawer's footer and the list's line
+└── SearchFilters.tsx      # composes the blocks under the Where group
+src/components/organisms/FilterMenus/   # the button row (above)

Behaviour — smaller changes

 SearchField focus request                        src/views/shared.tsx
-  effect on mount: consume, then focus or watch for the input
+  mount-only store subscription: focus on mount or on request; clear the request once focused
 WhereFilter                                      src/views/Filters/WhereFilter.tsx
+  scope line under a searched place: "%{near} within %{distance}, plus %{online} online"
+  onSearchInstead: required; the drawer requests focus and closes, the buttons only focus
 Dropdown                                         src/components/atoms/Dropdown/Dropdown.tsx
+  trigger may be a function that spreads the trigger props onto its own Button

Files — vocabulary

A chip is the Chip atom, a small tag; a filter menu is a button that opens a menu; "pill" names only a shape (DESIGN_SYSTEM.md).

-src/components/molecules/ActiveFilterPills/        # the applied filters, as Chip atoms
+src/components/molecules/ActiveFilterChips/
+src/components/molecules/CheckboxGroup/            # checkboxes + counts; past 10: search, checked first
+src/components/organisms/FilterMenus/              # variant inline (default: bordered, sm) | floating (in the map's control corner)

Preview

  • App: London, then When on a computer — the three buttons over the map, from 768px
  • App: the calendar — the inline row in its header (month or week)
  • Component library: preview pending (the playground's branch alias has not reported). Stories: Organisms › Filter Menus, Views › Search ("Filters hide classes", "Nothing matches").

Contract impact

  • Host-observable: visible behaviour, recorded in CHANGELOG.md, plus one key: while a
    popover is open the widget listens on the host's window for Escape and stops it there. That is
    a ninth entry in docs/embedding.md's exceptions list, with its bound — only a key pressed
    inside the widget's own subtree. No parameter, CSP, Permissions-Policy, sizing or URL change.
  • SahajCloud: the producers, feat(translations): the atlas filters' When label and Where scope line SahajCloud#1302, #1307 and #1310 (filters.chrome.more_area), are merged; #1308 rewords filters.chrome.clear to "Clear filters".

Test results

  • Lean gate (.claude/skills/pr-prep/check.sh): lint, typecheck and test:run passed.
  • New specs: FilterMenus.test.tsx, FilterMenuBar.test.tsx, filter-row.test.ts, use-popover.escape.test.tsx (including the host's own Escape), FilterNotes.test.tsx, CheckboxGroup.test.tsx (the option's count), hiddenInPerson and isCalendarFullWidth cases, and pageRegion (its trailing-filters step) and clearsBackToPlace cases in navigation.test.ts.
  • Security review: run on this push, since it touches src/lib/shape/path.ts. No findings — the Escape guard only narrows, and the widened pageRegion reaches no new sink (region is set through URLSearchParams, resolved against the region tree, and rendered as a text child).
  • Browser lane: left to CI. The merge below carries fix(test): run the browser lane with motion reduced so the map's WebGL is not starved #550, the motion-reduced fix for the WebGL starvation that reddened it on this branch.
  • An adversarial review ran locally in a fresh sub-agent; its findings are answered in a comment on this PR.
  • Build: left to CI.

Manual verification

Checked in the Ladle full-widget story at 1440×900. Worth repeating on the preview:

  1. /gb: three buttons, nothing open. Press When: days, then Morning, Afternoon, Evening and Night, each with its hours and count.
  2. /gb, When, Tue: the results open with days=2&region=gb, Where still names the United Kingdom unfilled, and Clear leads the row. Press Clear: back on the United Kingdom page.
  3. /gb/south-east/london: When, Tue and Evening, then Escape. The menu closes and the results keep days=2&time=evening.
  4. The calendar's Month, from 768px: the row is in its header. Its Week: the row returns over the map.
  5. A 767px-wide window: no buttons, and the Filters button is back; at 860px the buttons wrap.
  6. Language on the full widget: checkboxes, a search box (the demo has more than 10 languages), and the menu ends level with the side panel's bottom.
  7. A refused location: Where › Near me shows the message. Ladle: Organisms › Filter Menus › Location refused, and Views › Filter › Location refused.

Notes for reviewer

  • The snapshot keys (filters.when.label, filters.where.scope, and the plural filters.language.count and filters.when.count) were added to translations.en.json by hand, copying production's values from SahajCloud#1302 and #1307. The full sync stays blocked on main until feat(widget): open every embed inline; expand the map over the page #466 merges.
  • The Escape fix sits in usePopover, not the drawer, so it also covers the calendar's filter overlay and every other popover. Worth a look from anyone who knows the Radix layer stack.
  • clearsBackToPlace widened by one step, as a consequence of the one region read: a from
    of /gb/filters now matches region gb, so Clear on the results goes back to the drawer they
    were opened from rather than resetting the answers in place. navigate(-1) undoes that step
    either way, which is what the rule is for — but it is a behaviour change, not a rename, so say
    if you want it kept strict to a place page.
  • Self-review findings dismissed:
    • The menu traps focus, so "Search instead" cannot reach the search box. Not so: the menu is non-modal and closes when focus leaves it.
    • The row sits above the dim backdrop. That backdrop exists only on the phone sheet, where the row never shows.
    • The scope line reads "within 186 mi". Main's nearby radius is 300 km, which the line reports as it is.
Detail
  • No second crossing. The buttons follow the side panel's own 768px crossing; between 768 and about 1024px they wrap to two or three lines in the map's corner rather than falling back to the Filters button (reviewer's call).
  • Row placement. The row sits in Mapbox's control corner beside the buttons (MapControls' menu slot), so Mapbox places it. Its widest is calc(100cqw - var(--sy-drawer-w,352px) - 96px), against the map as the size container, so it wraps rather than running under the panel.
  • Buttons. Over the map they are the floating Button variant, in the calendar's header bordered and small; filled primary once answered either way. Dropdown gained a function trigger so a real Button opens it without nesting one control in another.
  • Scope check on closed buttons. The closed buttons decide Language and the calendar's Where from the facet scope rather than the counts: does any class here have a language, and does the scope mix online and in-person classes. That is the same question shownGroups asks of the counts, without counting.

🤖 Generated with Claude Code

Ardnived and others added 6 commits November 27, 2026 11:16
…puter

From 1024px of widget width the filters are three buttons at the top right of
the map, and in the calendar's own header, instead of a drawer behind the
Filters button. Each opens a small menu (the Dropdown atom, triggered by a
floating Button) with the same questions and live counts as the phone's
filters, and a tap applies at once. A button with an answer is filled and
names it ("Tue · Evening"), its screen-reader name keeping the question; Clear
leads the row once anything is chosen. On a place page Where names the place
unfilled, and fills only for a searched place, Near me or a format.

- SearchFilters is composed of per-question blocks (FormatFilter, DayFilter,
  TimeFilter, LanguageFilter, MoreFilters), which the phone form and the
  buttons' menus share.
- usePanelFilters: over a place page the first answer opens that place's
  results; Clear then goes back to the page (clearsBackToPlace) unless a place
  was searched since or the link was fresh.
- Escape in a menu closes only the menu: every usePopover panel carries
  data-popover-open, and DrawerStack's Escape ladder leaves the key to it.
- The row lets the map beside it take every press but its buttons', and is
  placed from DRAWER_W_PX, which moves to config/responsive.ts.
- The Filters button and the list's filter tags step aside while the buttons
  show; narrower widgets, a map-less list and phones keep them.
- Where shows what a searched place's scope holds ("18 within 186 mi, plus 23
  online"), on the phone too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Hand-added, as SahajCloud#1302 serves them: the full sync stays blocked on
main until #466 lands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keeps DrawerStack's two provider sites one element each.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Where the filter row goes is one pure decision (filterRowPlace), resolved
  once in DrawerStack and shared through FilterRowContext; the calendar's list
  view, a narrow panel beside the map, now gets the map row instead of a
  squeezed header row. Sort keeps the toolbar's end when Filters steps aside.
- Escape: an open usePopover claims the key in the window's capture phase, so
  no Radix layer (the drawer, the calendar's filter overlay) hears it. This
  replaces the data-popover-open mark and DrawerStack's check.
- SearchField's focus request is cleared only once the input has focus, from a
  mount-only store subscription; the dependency on the flag it consumed
  disconnected its observer before a late input rendered.
- The closed buttons read only the facet scope (useFilterScope); live counts
  are taken inside each menu, which mounts only while open.
- The row is placed by classes against --sy-drawer-w, pinned by the existing
  drawer-width scan, so DRAWER_W_PX stays where it was.
- Smaller: useIsWide(element, minPx), WhereFilter takes facet counts and a
  required onSearchInstead, a typed Dropdown function trigger, one
  listsFilteredClasses predicate, dead barrel exports and aliases dropped.

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

sydevs-dispatcher Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

🤖 no session running
conflict held since 00:10Z, waiting for the base to settle

recent dispatches
  • 23:26Z address-review · attempt 1 · session · done
  • 23:26Z address-review · attempt 1 · session
  • 23:12Z review-pr · attempt 1 · session · done
  • 23:12Z review-pr · attempt 1 · session
  • 20:39Z review-pr · attempt 3 · session · timed out

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

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 27, 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)
🔵 In progress
View logs
sahajatlas-design 2c32738 Nov 28 2026, 01:04 AM

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

Copy link
Copy Markdown
Contributor

Not required, so not blocking: Browser lane failed. A preview link in the body may not open until it passes.

🤖 sydevs dispatcher

@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 27, 2026
Ardnived and others added 4 commits November 27, 2026 12:06
…r always takes the row

- FilterChips (src/components/organisms/FilterChips) is the controlled button
  row; FilterChipBar in the view only wires it to the URL and supplies the
  Where menu's place half. RecoveryButton moves into the SearchFilters
  organism, which both surfaces use.
- The full-width calendar (month and week) carries the row in its header from
  the drawer's own 768px crossing, not from the map row's 1024px one.
- Stories: Organisms › Filter chips gains "Czech classes" and "Location
  refused", and Views › Filter the same two; the story harness resolves the
  row as DrawerStack does, so Views › Calendar previews its header row.

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

- The compact credits sit under the control column, centred under its 40px
  buttons, and open leftward from there, so the filter buttons' row needs to
  clear only the buttons (64px, not 100px).
- While the filter buttons show over the map, the column's find-me button is
  hidden (useMapControls.findMeHidden, set by DrawerStack from filterRowPlace):
  Where's Near me asks the same question through the same GeolocateControl,
  which stays mounted.

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

- The Language menu is the checkbox list alone, with no heading, and a search
  box once more than 10 languages are offered (accent-blind; its name is a
  screen-reader string, filters.a11y.search_languages, in every locale).
- Each menu stays on the side it opened and is capped to the room below the
  button, down to the frame's 16px inset, so a long one scrolls inside itself
  and ends where the full-height side panel does (usePopover fitHeight).
- Clear is an X with a "Clear" hover label.
- The map's row renders into the map's own element (published by MapControls
  as useMapControls.container), under the control column's corner, so the
  column's hover labels draw over the buttons.
- The Czech story case and its feed are gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sydevs-dispatcher sydevs-dispatcher 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 27, 2026
Ardnived and others added 2 commits November 27, 2026 12:43
…answers

- CheckboxGroup (molecule): checkboxes with a count at each row's end and the
  row's hover tint. Past 10 options it adds a search box and opens with the
  checked options first (order taken at mount, so nothing moves under the
  pointer). Both language lists, the phone's dropdown and the button's menu,
  use it.
- The When and Language buttons name a count ("3 timings", "3 languages")
  once more than two answers are picked (filters.when.count,
  filters.language.count, from sydevs/SahajCloud#1307).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Hand-added from sydevs/SahajCloud#1307, as production serves them: the full
sync stays blocked on main until #466 lands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived added a commit that referenced this pull request Nov 27, 2026
- Sync the translation snapshot: Copy number and the share Email label
  now read `event.actions.copy_number` and `share.email`
  (sydevs/SahajCloud#1304), and the three keys sydevs/SahajCloud#1306
  dropped leave RETIRING_KEYS. Keys published ahead of #538 and #542 join
  PENDING_KEYS.
- tests/browser/skeleton.spec.ts measures the sign-up form, filters and
  calendar. It caught three header mismatches, now fixed: the sign-up
  form's reassurance line, the filters' close-button row, and the
  calendar's own controls in place of a Back-and-title header.

Co-authored-by: Claude Opus 5.5 <[email protected]>
… tags

- Vocabulary: a chip is the Chip atom, a small tag; the applied filters are
  filter chips (ActiveFilterPills → ActiveFilterChips); the buttons that open
  filter menus are FilterMenus / FilterMenuBar (were FilterChips /
  FilterChipBar); "pill" names only a shape. DESIGN_SYSTEM.md says so.
- On the map the filter menus render into a slot beside the control column,
  inside the one Mapbox control (MapControls.menuSlot), so Mapbox places them;
  their width is capped against the map (a size container) so they wrap
  rather than run under the side panel.
- In the full-width calendar's toolbar they are smaller bordered buttons,
  inline after the month controls, with Clear at the end they grow from.
- Clear's label is filters.chrome.clear (to read "Clear filters",
  sydevs/SahajCloud#1308).
- CheckboxGroup keeps checked options at the top as they are picked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sydevs-dispatcher sydevs-dispatcher 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 27, 2026
Ardnived and others added 2 commits November 27, 2026 13:43
…tory

- In the calendar's toolbar the filter menus sit at the line's end, and Clear
  leads the row as it does over the map, so it is not read as the calendar's
  own close button in the corner.
- Organisms › Filter menus takes Placement (map | toolbar) as a control and
  shows every state: nothing chosen, one answer each, everything chosen
  (counts), nothing matches with and without a single way out, and a refused
  location; its description says how the no-match footer works in every menu.

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

filters.chrome.clear as sydevs/SahajCloud#1308 serves it, hand-added while the
full sync stays blocked on #466; the fallback default and prose follow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`pageRegion` and `filterOriginRegion` both answered "which region is this path
about" off `resolveStack`, one reading the last entry and the other the entry
under a trailing `filters`. Both callers of the second only ever pass a
`/…/filters` path — `FilterView` renders on that route, and `navigation.ts`
reads it inside the `kind === 'filters'` arm — so one function stepping over a
trailing `filters` answers both.

`clearsBackToPlace` widens by the same step: a `from` of `/gb/filters` now
matches region `gb`, so Clear goes back to the drawer the results were opened
from rather than resetting the answers. `navigate(-1)` undoes that step either
way, which is what the rule says it is for.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYUQZ8jhMiFkhxaeFV
Two options nothing asked for. `searchableAbove` had one caller, which never
passed it, so it is the module constant its own `@default 10` already treated
it as. `meta?: ReactNode` was an escape hatch with one use, a count span, and a
second word for what `Choice` beside it spells `count?: number` — so the option
carries the number and the group draws it, as `Choices` does.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYUQZ8jhMiFkhxaeFV
`DESIGN_SYSTEM.md` reserves "filter chip" for the `ActiveFilterChips` tag —
the thing this crossing HIDES — and what it shows is the filter menus.
`FilterChips` already became `FilterMenus`; the constant and
`filterRowPlace`'s field were the residue.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYUQZ8jhMiFkhxaeFV
A host-observable behaviour this branch introduced and never recorded: an open
popover listens on the host's `window` for Escape and stops it there. The guide
is the only documentation an embedding site reads, so the bound belongs in its
exceptions list — only a key pressed inside the widget's own subtree, never one
in the host's own modal.

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

Copy link
Copy Markdown
Contributor

Four adopted, two rebutted, six threads resolved. Pushed 4981edd.

Adopted — Escape 7a92d72, plus docs/embedding.md. pageRegion 4b58ce2; clearsBackToPlace widens one step (Notes for reviewer). CheckboxGroup ea80e3b. the name 4d83028.

Rebutted — usePanelFilters: six injected behaviours, not two. filterRow: a store writes from an effect, so the Filters button would flash on first paint.

origin/main merged clean, carrying #550 (the red Browser lane's fix).

🤖 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 27, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 27, 2026
@Ardnived
Ardnived enabled auto-merge November 27, 2026 23:53
@Ardnived
Ardnived disabled auto-merge November 27, 2026 23:54

@sydevs-dispatcher sydevs-dispatcher 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.

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

@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 27, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 28, 2026
Ardnived and others added 7 commits November 27, 2026 17:23
useFilterEditor (src/hooks) owns reading the filters with a page's
implied place and writing them back. The phone drawer and the filter
buttons both use it, so usePanelFilters and FilterView's own copies go.
The two surfaces differ only in where an answer lands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The filter buttons now show over the map wherever the side panel does
(the existing 768px crossing) and wrap where the map beside it is
narrow, instead of a second 1024px measurement and a shared row
decision.

- FullInterface hands the buttons to the map as a prop; MapControls
  shows them, and hides find-me, while useMapControls.filterMenus holds.
  The slot published through the store and DrawerStack's portal go.
- The full-width calendar decides its own header row
  (isCalendarFullWidth); the Filters button and filter tags step aside
  on useFilterMenusOnMap.
- filterRowPlace, FilterRowContext, useFilterRow and FILTER_MENUS_MIN_PX
  go, and useIsWide loses the extra width parameter.
- The map controller wraps the map too, so the buttons' Where can reset
  the camera.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The drawer (FilterView), the buttons (FilterMenuBar) and the Where
menu they share (WhereFilter) live together.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ListToolbar takes the Filters button as children and Sort as `end`,
which keeps the end whether or not the Filters button shows, so the two
callers' ms-auto wrappers go.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	src/components/molecules/ActiveFilterChips/ActiveFilterChips.tsx
#	src/lib/shape/calendar.test.ts
#	src/lib/shape/calendar.ts
#	src/lib/shape/navigation.test.ts
#	src/views/CalendarView/CalendarView.tsx
#	src/views/DrawerStack/DrawerStack.tsx
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 28, 2026
Ardnived and others added 2 commits November 27, 2026 18:03
… buttons

The Filters button steps aside where the filter buttons show, which left
the root header 6px shorter than the loading chrome that draws it (the
browser lane's skeleton check). Its control slot keeps a control's height
either way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Ardnived
Ardnived added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 1514ba0 Nov 28, 2026
13 checks passed
@Ardnived
Ardnived deleted the feat/filter-chips branch November 28, 2026 01:20
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Awaiting to Done in SYDevelopers Technical Roadmap Nov 28, 2026
Ardnived added a commit that referenced this pull request Nov 28, 2026
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]>
Ardnived added a commit that referenced this pull request Nov 28, 2026
… 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]>
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