Skip to content

fix(a11y): bump shellChip tap target to 44px - #235

Merged
BigSimmo merged 2 commits into
mainfrom
claude/shellchip-tap-target
Jul 3, 2026
Merged

fix(a11y): bump shellChip tap target to 44px#235
BigSimmo merged 2 commits into
mainfrom
claude/shellchip-tap-target

Conversation

@BigSimmo

Copy link
Copy Markdown
Owner

shellChip renders the "All documents" filter <button> in master-search-header.tsx. At min-h-10 (40px) it sat below the WCAG 2.5.5 44px tap-target minimum that the rest of the recipe layer already meets.

This bumps shellChip to min-h-11 (44px) in the recipe, so every call site benefits — output-identical apart from the 4px min-height.

Also closes gap 4 in the recipe state-contract reference (docs/redesign/09-ui-primitives-recipes.md), and records why the remaining recipe gaps are intentionally left (gap 2 aesthetic; gap 3 recipes are never rendered disabled; gap 5 deliberate).

Verified: npm run typecheck clean.

🤖 Generated with Claude Code

shellChip renders the 'All documents' filter <button> in master-search-header; at min-h-10 (40px) it was below the WCAG 2.5.5 tap-target minimum. Bump to min-h-11 (44px) in the recipe so every call site benefits. Output-identical apart from the 4px min-height. Updates docs/redesign/09-ui-primitives-recipes.md (gap 4 closed).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@chatgpt-codex-connectorchatgpt-codex-connectorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit:af3f0f9a51

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment threaddocs/redesign/09-ui-primitives-recipes.md Outdated
@BigSimmo
BigSimmo merged commit 4e2fa4d into mainJul 3, 2026
4 checks passed
@BigSimmo
BigSimmo deleted the claude/shellchip-tap-target branch July 5, 2026 11:43
BigSimmo added a commit that referenced this pull request Aug 4, 2026
These came out of the DS V2 wave with no ledger row and would otherwise have
evaporated with the session: the stale PR-J governance review record, the
COMPONENTS.md section 0 drift plus the undocumented optionality-marker
contract change, the undocumented answer-copy-payload module, the missing
ADOPTION.md section 7 proof shots, and the two orphan builder branches and
leftover dev servers. The sixth residual, visual baselines staying zero and
advisory, is already ledger #118 and was deliberately not duplicated.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
cursorBot pushed a commit that referenced this pull request Aug 4, 2026
…o states that need one (#1612)
* docs(issues): record #230 live answer generation timeout
Production triage 2026-08-04 measured the live failure: OpenAI generation
overruns OPENAI_ANSWER_TIMEOUT_MS and the answer degrades to source-only,
while retrieval passes its gate with 12 candidates across 5 documents. The
2026-08-04 handover's four ranked hypotheses (query embedding, Supabase RPC,
source governance, corpus) are all ruled out by that evidence.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* feat(ds): let EmptyState carry a heading, and adopt the two states that need one
EmptyState rendered its title as a <p>, so any empty state that owns a region
of the page could not adopt it without losing its heading. /dsm/search lost
exactly that when it adopted the primitive (#224), and the main document-search
empty state stayed hand-rolled because ui-smoke pins a heading role on it
(#217).
Add an opt-in headingLevel prop. It is deliberately un-defaulted: most adopted
call sites sit inside a card that already owns its region's heading, and
promoting every title would inject an outline level the page never declared.
- /dsm/search passes headingLevel={2}, restoring the heading it had before.
- The document-search empty state adopts EmptyState with headingLevel={3},
which also converts it from a bespoke centred card to the shared state
surface and gives it the polite live region every other adopted empty state
has.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* docs(issues): correct #230 — the fast route budget binds, not the env timeout
The first row named OPENAI_ANSWER_TIMEOUT_MS as the constraint. It is not,
and production does not set it. The query routes fast, so answerRouteBudgetMs.fast
(25s) is the ceiling and generationRequestTimeoutMs holds back the 2s recovery
reserve on top; the measured 24.7s is that budget being spent.
Also records the half with clinical consequence: answerRouteResultCanBeCached
excludes a route-deadline-exceeded answer but not one degraded by the OpenAI
request timing out, so a generation_fallback answer can be cached and re-served
after the provider recovers.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* docs(ledger): record the PR #1612 review
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* docs(issues): capture the five Wave 5 close-out residuals (#231-#235)
These came out of the DS V2 wave with no ledger row and would otherwise have
evaporated with the session: the stale PR-J governance review record, the
COMPONENTS.md section 0 drift plus the undocumented optionality-marker
contract change, the undocumented answer-copy-payload module, the missing
ADOPTION.md section 7 proof shots, and the two orphan builder branches and
leftover dev servers. The sixth residual, visual baselines staying zero and
advisory, is already ledger #118 and was deliberately not duplicated.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* docs(issues): archive #217 and #224 completed by EmptyState headingLevel
PR #1612 added the opt-in headingLevel prop and adopted the DSM and
document-search empty states that needed it. Close both ledger rows so
/issues stops treating finished work as outstanding.
* docs(issues): correct #231 summary to name the binding fast-route budget
The detail already established that OPENAI_ANSWER_TIMEOUT_MS is not the
binding ceiling — answerRouteBudgetMs.fast = 25000 is. Align the summary
so triage does not raise a non-binding setting, and backtick the
src/lib/rag/** path so markdownlint MD037 stays quiet.
* ci: retrigger Production UI after known Services viewport-shrink flake
Production UI (1) failed once on ui-phone-scroll-page-owned:577
(Services results re-settle after viewport shrink) — same signature as
the 2026-07-31 flake noted in the branch-review ledger. Unrelated to
EmptyState headingLevel; shards 2/3 and critical passed. Cannot
rerun-failed via this token (403), so retrigger the pull_request run.
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
BigSimmo pushed a commit that referenced this pull request Aug 14, 2026
Second serial transaction. 25 active mutations (13 done, 6 add, 6 update)
plus 5 cancellation decisions. Ledger 106 open / 222 archived to
99 open / 235 archived; inbox 0 pending / 129 applied.
Three of the closures queued in #1940 were cancelled by review, and the
cancellations are right: #235, #237 and #238 each asked for visual or
browser proof, and they were closed on executable evidence instead —
proof shots, a real 320px browser pass, and product-overlay journeys are
not satisfied by a docs table, a jsdom assertion, or generic Sheet unit
coverage. Those three rows stay open. The other six closures applied.
Verified zero live same-target collisions before applying.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017paT42ZVMf8jaLtkjFxdy5
BigSimmo pushed a commit that referenced this pull request Aug 14, 2026
…s instrument now exists
Four corrections, queued as immutable inbox requests.
#235, #237 and #238 each had a `done` queued in PR #1940 and cancelled on
review. The cancellations were right: all three ask for visual or browser
proof and were closed on executable evidence. Each row now records the
attempt, the reason it was refused, and a Stop rule naming the evidence
class that must not be used again — so the next reader does not repeat it:
- #235: section 7.1 opens with "records executable evidence RATHER THAN
committing image baselines", so the section that looks like the evidence
says in its first line that it is not
- #237: jsdom does not lay out text, so a 320px assertion proves the string
is present, not that it fits
- #238: the risk is ancestor-scoped CSS/contain/transform on five specific
host surfaces, which no Sheet component test can see
All three also drop their IN FLIGHT do-not-start prefix; PRs #1841 and
#1842 have merged, so the warning was blocking rather than protecting.
#231's "Next: instrument and reproduce" is stale — commit a3bc4da added
scripts/probe-generation-quality.ts and adjudicated PR #1861 as superseded
for phase 1. The row now says so, so nobody reviews #1861 as the live fix
or rebuilds the probe. Next is running it where credentials exist.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017paT42ZVMf8jaLtkjFxdy5
BigSimmo added a commit that referenced this pull request Aug 18, 2026
BigSimmo added a commit that referenced this pull request Aug 18, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@BigSimmo