You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal H, Step 2 PR 2b: requested-printing badge + Confirm affordance in the display rail (#102)
Wires EditorSearchResponse.degradedQueries end to end for the first time on the
frontend (previously captured by the API but discarded before reaching Redux):
APIEditorSearch now returns {results, degradedQueries} instead of discarding the
latter, searchResultsSlice accumulates degradedQueryHashKeys across paginated
search requests, and a new selectIsSearchQueryDegraded selector answers "did this
printing-filtered query get retried unfiltered" for a given slot's query.
The display rail's always-visible header consumes that selector: the requested-
printing badge switches from bg-secondary to a bg-warning degraded style (plus a
warning icon and explanatory title) when the backend reports the filter as
degraded, per the design doc's §2/§5. Bootswatch's Superhero theme is known to
hardcode some component colors past the CSS-variable layer (see PR #91), so the
new Playwright test verifies actual computed background-color, not just the class
name, to confirm the degraded state really renders distinctly.
The header also mounts the real DeckbuilderConfirmAffordance - the same component
CardSlot.tsx already mounts, adapted only via its onOpenGridSelector prop: the
rail has no modal to open, so N expands (or keeps expanded) the Choose Image
accordion section instead of opening GridSelectorModal.
Claude-Session: https://claude.ai/code/session_01MHapYojTkT5wenrQwGbGYk
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments