From 0b37045254a4a126ee7104fef91d242c9a8aba21 Mon Sep 17 00:00:00 2001
From: BryanMurphy <123925276+BPMData@users.noreply.github.com>
Date: Sat, 28 Nov 2026 01:09:47 -0500
Subject: [PATCH 1/3] Split main.js, step 0: setters for doc, ink data,
language and save state
Co-Authored-By: Claude Opus 5.5
---
CHANGELOG.md | 2 ++
app/index.html | 4 ++--
app/main.js | 39 +++++++++++++++++++++++++++------------
app/report/index.html | 2 +-
app/sw.js | 12 ++++++------
app/version.json | 2 +-
index.html | 2 +-
overlay/ink_overlay.html | 2 +-
8 files changed, 41 insertions(+), 24 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 53fe4c4..f1dbb46 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
## Unreleased
+- **Tidier PDF app code** (v61, PDF app). app/main.js is split into smaller files. Nothing changes for teachers.
+
- **Plan for tidying the PDF app's code** (v60, docs only). `docs/plans/APP_MAIN_SPLIT.md` describes, step by step, how to split `app/main.js` into smaller files without changing anything the app does. Nothing changes for teachers yet.
- **One email per report, for all four apps** (v59, report script and the report page's last screen). No more thank-you emails: the report page already says thank you once the report has gone through, so the email was a waste of Gmail's ~100 a day. People who leave an email now get just the one "here's what we changed" email when their issue is closed as completed, and that now works for AllAboard, AllHail and OverHeard reports too, not just OverBoard's. The report limits go up to 60 an hour and 70 a day (all four apps together).
diff --git a/app/index.html b/app/index.html
index 17657ad..396561d 100644
--- a/app/index.html
+++ b/app/index.html
@@ -5,7 +5,7 @@
OverBoard PDF
-
+
@@ -47,7 +47,7 @@
Open again
Your PDF and your ink stay in this browser on this computer. Nothing is uploaded.
Have a Word file? In Word, choose File → Save as PDF, then drop the PDF here.
Have an HTML worksheet? Drop it here to get a _board.html copy you can write on.
- About OverBoard · Board not working? · v60