shinkan-jinkendo/frontend/src
Lars c738f1234b
Some checks failed
Deploy Development / deploy (push) Successful in 35s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Failing after 1m54s
fix: MediaWiki import - increase limit to 500 and add validation
Error: 422 Unprocessable Entity when limit > 100
Root cause: Backend enforced max=100, frontend allowed any value

Backend fix:
- Increased preview limit from 100 to 500 (consistent with execute)
- import_wiki.py line 64: le=100 → le=500

Frontend fix:
- Added Math.min/max validation to both limit inputs
- Preview limit: max 500 with auto-clamp
- Execute limit: max 500 with auto-clamp
- Updated placeholder: 'Kein Limit (max 500)'

Prevents 422 errors from invalid limit values
2026-04-24 17:15:17 +02:00
..
components feat: Admin page navigation with MediaWiki Import link 2026-04-24 17:03:13 +02:00
config feat: Add TrainerContextsPage to navigation 2026-04-23 14:26:10 +02:00
context fix: Use api.js in AuthContext for session persistence 2026-04-22 15:56:20 +02:00
pages fix: MediaWiki import - increase limit to 500 and add validation 2026-04-24 17:15:17 +02:00
utils feat: SMW-Importer Frontend (Phase 2 complete) 2026-04-24 16:06:49 +02:00
app.css refactor: Standardisiere Formular-Layout (Label oben, volle Breite, linksbündig) 2026-04-22 17:11:40 +02:00
App.jsx feat: SMW-Importer Frontend (Phase 2 complete) 2026-04-24 16:06:49 +02:00
main.jsx feat: Complete MVP setup - Docker, Frontend, Migrations, CI/CD 2026-04-21 14:36:52 +02:00
version.js feat: Trainer-Kontext-System & Exercise Training Characters (v0.5.0) 2026-04-23 14:22:17 +02:00