The-Purple-Movement/Beyond-Syllabus

[UX] /teach Open button still fails silently below 6 characters

Offen

#97 geöffnet am 27.07.2026

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (26 Forks)auto 404
good first issueux

Repository-Metriken

Stars
 (10 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

PR #92 fixed the silent-disabled pattern on the brainstorm's Send to class button (always clickable, explains what it needs, live character countdown). The same pattern survives on /teach:

disabled={codeInput.trim().length < 6 || loadingView}

Expected: clicking Open with a short code explains that codes are 6 characters. Actual: the button ignores clicks with no feedback.

Fix mirrors #92: remove the length condition from disabled, validate in openClassroom with a toast, optionally add the countdown hint. See DESIGN.md principle 6: never fail silently.

Found during the 27 Jul 2026 production walkthrough. Severity: confusing but there is a workaround (type all 6 characters).

🤖 Generated with Claude Code

Contributor Guide