Files
Gaurav Dubey 12ec1f8754 fix(reading): flag oversized files before uploading reading materials (#3152)
The Add Materials dialog sent any file the user picked. A file over the
reader's 200 MiB single-file limit then crossed the Next proxy's 210 MiB
body cap, was truncated, and the submit button kept spinning with no
explanation.

Read the limit from /api/reading/supported-formats (already the server's
source of truth for the picker), mark an oversized file as soon as it is
chosen, and keep submit disabled until it is removed. If the limit cannot
be loaded, behaviour is unchanged and the server's own check still applies.

Closes #3151
2026-12-01 21:51:46 +08:00
..
2026-10-30 02:28:18 +01:00