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
[fix](chat,copilot,guide): fix Q&A mismatches, full mutual exclusion, modernize the Guide
Chat Advisor — five question/answer mismatches (a short generic keyword
shadowing a more specific, different intent), all now regression-tested:
- "why not serverless?" hit the privacy blurb ("server" ⊂ "serverless")
- "instal aplikasi offline" hit privacy, not the PWA-install answer
- "daftar semua anti-pattern" (ID "list all") hit privacy
- "what is Cost efficiency?" returned scenario cost/ops, not the QA
- "what is an anti-pattern?" ran a scenario check, not the glossary term
Fixed by narrowing keywords, checking the specific FAQ table before broad
single-word intents, a qaInfo() pre-check on the cost branch, and an
isConceptual() guard routing "what is X" to the glossary.
Full mutual exclusion (owner report): opening any one of {Chat Advisor,
Copilot tour, Guide/Manual, command palette, shortcuts, Compare} now
closes every other — never two open or highlighted at once. Wiring in
App.tsx (derived chatCloseSignal, handleChatOpenChange, handleTourStart,
suspendCopilot); ChatFab self-reports open state + closes on signal;
Copilot stops + hides its launcher when suspended and reports tour start.
Floating-target fix: the tour's final step highlights the fixed Chat
Advisor FAB. A new `floating` flag on that step makes useCopilot skip the
scroll-into-view and CopilotOverlay skip the mobile bottom sheet (which
otherwise covered the very button it points at). Locked in by a test.
Guide / Manual ("Panduan"):
- Content mismatch fixed — §7 "feature map" claimed to cover everything
but omitted the Chat Advisor and the "Guide me" tour; both added.
- Modernized the dated inline-styled modal into a glass shell with a
gradient book-mark header, a sticky jump-to-section table of contents,
numbered gradient section badges, and card sub-sections (new .aa-manual-*
classes; inline styles removed). The TOC uses scrollIntoView, NOT
href="#id" anchors, so it never mutates location.hash (reserved for
share-state). Close-button label → "Close the guide" (test updated).
184 unit tests (up from 175), 14 e2e, 6 guards, bundle within budget all
green. README + DECISIONS updated.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments