forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/lib/upload-limits.tsClear filter

2026-07-22

feat: 📎 client-side upload limits and shared error handling - extract formatBytes/maxUploadBytes into shared src/lib/upload-limits.ts - add client-side file size validation in exam room, question form, solution form, and ask-question dialog - add known API error messages for file upload, exam, event, and pomodoro errors - extract errorMessageFromPayload helper for client/form/blob endpoints with Pydantic validation detail support - add status-code handling for 409, 413, 422 - show max file size in question/solution upload UIBurak Boduroğlu · fed2a93
feat: 📎 client-side upload limits and shared error handling
- extract formatBytes/maxUploadBytes into shared src/lib/upload-limits.ts
- add client-side file size validation in exam room, question form, solution
  form, and ask-question dialog
- add known API error messages for file upload, exam, event, and pomodoro
  errors
- extract errorMessageFromPayload helper for client/form/blob endpoints
  with Pydantic validation detail support
- add status-code handling for 409, 413, 422
- show max file size in question/solution upload UI