Repository navigation
Problem and Description as UI SDK comboboxes, agent-ready, in the NYSDS look (#187, slice 1) - #189
Merged
Merged
Conversation
…look (#187) - Problem and Description are ui-combobox multiple with chips; Description's list is virtualized (the docs' pattern). Exclude is ui-checkbox; Apply and Reset are ui-button. Dates, Agency and Status stay native. - filterform.js follows valuechange, checkedchange and action into the draft; nothing applies until Apply, as before. - UI SDK 0.1.0-beta.14 pinned on jsDelivr through the import map (js/vendor-importmap.json, merged by stamp_assets.py). Plain ES module files, so @ui-sdk/web/agent shares one @ui-sdk/core with the components. - css/ui-theme.css: a custom NYSDS theme in BetaNYC blues, --ui-* mapped to it, forced-colors rules. - Pages restamped (stamp_assets.py). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sts rewritten (#187) - tests-browser/test_agent.py: createAgent (@ui-sdk/web/agent) sees Problem, Description, Exclude, Apply and Reset; sets two problems, a description and Exclude, presses Apply; the link and counts match a fresh load of that link. - Measured: the bridge leaves out every control inside a closed <details>, and a step naming one fails. Pinned as a test, for slice 2. - pipeline/tests/test_filter_form.py rewritten on purpose for the new markup: UI SDK events instead of change/keydown, query instead of value on Reset, and new checks for the parts, the one pinned version, and the import map. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hone, virtual list (#187) - tests-browser/test_pickers.py: keyboard (Tab, type, Arrow+Enter, Escape, Backspace, Enter in an empty box applies), click-away, visible focus, forced colors, a 390 px screen, the virtualized Description list, and UI SDK's download size with a budget. - Fixed while checking: the virtual list was never used, because pages fill the lists before bind(); it is now made on first use. - Kept #142's rule: typed text that was never chosen stays in the box (UI SDK would clear it on focus-out), so Apply adds a whole name or says it names nothing; Enter after a whole name adds it. - Check-mark indicators on chosen items; pages restamped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…page form test (#187) Typing after scrolling far down left the window past the end of the shorter list, so UI SDK drew every match itself, unindexed. New matches now start at the top. Found on real Manhattan CD 1 data (670 descriptions). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
web.css draws them as a masked background, which forced colors repaints. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Chip buttons are "Remove problem filter X" / "Remove description filter X" again, and chips rows are "Chosen problems" / "Chosen descriptions" / "Excluded descriptions" (UI SDK rewrites its own names, so an observer puts these back). Test link adds Derelict Vehicles as both kinds; toolbar role checked too. - Description's virtual list filters by box.query a tick after querychange, and again on open, so it matches text kept after click-away. - "Boxes did not load" is a sticky alert (#parts-failed) the counts never overwrite, shown with the panel closed too. - Browser tests: address page; console errors fail a test (only the fixture's missing street map is allowed); changes.json stub in the fixture; a test that refuses extensions.duckdb.org confirms the page cannot read data without it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (QA round 1) - No claim that an AI assistant can use the boxes (the page does not load the agent bridge, and closed groups hide controls). - "A new design" for Problem and Description; Exclude, Apply and Reset "have the new look and work as before". - No screen reader or High Contrast claim until one is run on real systems. - Shorter: the format joins continuation lines, so the text is split across What changed and Who it affects. Page re-rendered; check passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd 2) Apply filters and Reset filters keep BoardStat's button style (css/ui-theme.css). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #187 (slice 1). It does not close #187 yet, because the iPhone size check in its acceptance hasn't been done. Stacked on the #186 PR; merge that one first. Tracking issue for the design layers: BetaNYC/betanyc-ai-workspace#1733 (option 2).
What changed
ui-comboboxwith multiple picks, shown as chips. Description uses a virtualized list (670 items). Exclude isui-checkbox. Apply and Reset areui-button, styled like BoardStat's other buttons. Dates, Agency and Status stay native.filterform.jsfollowsvaluechange,checkedchangeandaction. The draft-then-Apply flow is unchanged, and v2: Filter panel layout, an Apply button, and wider charts #142's typed-text rule is kept.0.1.0-beta.14is pinned on jsDelivr through the import map (js/vendor-importmap.json, merged bystamp_assets.py).css/ui-theme.css: a custom NYSDS theme,betanyc, with--ui-*mapped to it, plus forced-colors rules.createAgent): picks two problems and a description, ticks Exclude, presses Apply, then checks the link and the counts.test_filter_form.pyis rewritten on purpose for the new markup.whats-changed.htmlis re-rendered.Findings
createAgentdoesn't see controls inside a closed<details>. Slice 2 plans UI SDK's Accordion.Test plan, as run
cd v2/tests-browser && uv run pytest(21 passed, offline),cd v2/pipeline && uv run pytest(264 passed),node --test v2/tests-js/(105 passed).Still open
conftest.py:48is broad,test_agent.py:103allows every console error, andbasemap.jsonstill 404s in the fixture (allow-listed).stamp_assets.pybefore uploading.🤖 Generated with Claude Code