Skip to content

KiQuestion failure message references a "Learn how to derive Ki" button that doesn't exist #227

Description

@meganrm

From a codebase audit (MF1).

Problem

`src/components/quiz-questions/KiQuestion.tsx` line 102 sets `failureMessage='Visit the "Learn how to derive Ki" button above...'` — but no such modal or button exists in the Competitive Binding module. The High Affinity module has a `KdDerivation` modal wired onto its Kd quiz page; the Competitive Binding module has no equivalent for Ki. Students who answer the Ki question incorrectly are directed to content that was never built.

Severity: High

Fix

Build a `KiDerivation` modal for the Competitive Binding module (mirroring `KdDerivation`'s existing pattern) and wire it onto the same content page as the `KiQuestion` quiz, so the failure message's existing wording points at something real.

🤖 Filed via Claude Code from a codebase audit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions