Help page documents 'Loose match' but the underlying color-matching flow has no UI to 'preview' a thread swap before committing — ΔE > 3 just shows the chip, doesn't let the user try alternatives #216
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#216
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
src/components/workspace/BottomThreadBar.tsx:51definesLOOSE_MATCH_DELTA_E = 3(the ΔE threshold above which a match is "loose"). The thread bar shows a "Loose match" chip when a stop'smatch.deltaE > LOOSE_MATCH_DELTA_E. The chip is informational.The Help page documents the feature:
(Per the Help page's stitch types section and the loose-match help card I saw earlier.)
But the click on the chip — does it open the alternatives popover? Let me verify.
grep -n 'onClick.*LooseMatch\|alternatives' src/components/workspace/BottomThreadBar.tsx— let me check the popover wiring.Where
src/components/workspace/BottomThreadBar.tsx:51src/components/workspace/BottomThreadBar.tsx:369(per the comment)src/pages/Help.tsx(loose-match card)src/components/workspace/BottomThreadBar.tsx(need to verify)Suggested fix shape
This issue depends on whether the popover is already wired. If it's not, the suggested fix is:
<button onClick={...}>).The full feature already exists per #128 (per the comment chain on the file). If only the UI is missing, this is a small fix.
Severity
Medium. The "loose match" chip is informative but not actionable. Power users with strict color requirements want to swap to a closer match.
Discovered by
Gap analysis (2026-10-02) of workspace thread affordances.
Related
The click-to-open popover already exists —
BottomThreadBar.tsx:434wires the loose-match chip'sonClickto setopenPopoverStopId, which renders<AlternativesPopover>(#452). Issue #128 covered the full feature; the test inissue-128.test.tsx:483('opens the alternatives popover when the loose-match chip is clicked') confirms it.The actual gap was documentation: the Help FAQ said 'loose match' fired at ΔE > 5 (the code uses ΔE > 3,
LOOSE_MATCH_DELTA_EatBottomThreadBar.tsx:61) and referred to an 'alternatives list' without telling the user to click the chip.Fixed in commit
f5580ca(pushed to origin/main) by updating the FAQ entry insrc/pages/Help.tsx:153:1064 tests pass; tsc + eslint clean.