MAESTRO: enforce header input validation

This commit is contained in:
Mariusz Banach
2026-02-18 00:52:22 +01:00
parent 8652f04acc
commit f0c33a93f9
5 changed files with 33 additions and 23 deletions

View File

@@ -43,9 +43,10 @@ Note: `npx vitest run src/__tests__/AnalyseButton.test.tsx` passes; Vitest emits
- [x] Analyse button is disabled when input is empty
- [x] Ctrl+Enter keyboard shortcut triggers the analyse action
- [x] Dark hacker theme is visible with correct colour palette
- [ ] Validation shows user-friendly errors for empty and oversized input
- [x] Validation shows user-friendly errors for empty and oversized input
- [ ] `npx eslint src/` and `npx prettier --check src/` pass with zero errors
- [ ] Run `/speckit.analyze` to verify consistency
Note: Wired `FileDropZone` into the main page to populate the header input state on drop.
Note: Applied the dark hacker palette globally via `frontend/src/app/globals.css`.
Note: Oversized input now disables Analyse and surfaces validation copy immediately.