From 9482de6ffad9db8bc79d727fa34752b200c99449 Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Mon, 25 May 2026 00:49:16 -0700 Subject: [PATCH] Surface the 20 MB CSV upload cap in the upload UI (#11) Two changes: - frontend/index.html: add an info-circle hint right below the file input - "Max 20 MB - runs in your browser". The cap is now visible before the user picks a file. - frontend/js/app.js: rewrite the oversize error message to the friendly text proposed in the issue ("File is too large for the browser runtime - please subsample first (max 20 MB)."). The client-side reject already exists at line 446-448 and runs before the pyCallBinary call. Files within the limit upload exactly as before. No Pyodide-side changes - CLAUDE.md is explicit that the 20 MB cap is dictated by Pyodide's WASM heap and should be surfaced rather than "fixed". --- frontend/index.html | 3 +++ frontend/js/app.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/index.html b/frontend/index.html index 4313922..81f2911 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -367,6 +367,9 @@