From 8c13a8084353719912aa89af52792cb78a273b35 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 7 Apr 2026 10:45:07 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20single=20resume=20flow=20=E2=80=94=20rem?= =?UTF-8?q?ove=20landing=20screen=20notice,=20auto-restore=20localStorage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the duplicate "Resume where you left off" notice on the landing screen. Now localStorage data is silently restored on form start, and the email-based welcome-back modal on step 1 is the only resume prompt. Co-Authored-By: Claude Opus 4.6 --- apply.html | 33 +++++++++------------------------ 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/apply.html b/apply.html index 1041cd7..3c42601 100644 --- a/apply.html +++ b/apply.html @@ -580,12 +580,7 @@
This application takes approximately 15–20 minutes to complete.
- - - +
@@ -1086,28 +1081,18 @@ document.getElementById('landing-reg-price').innerHTML = `€${tierPricing.perWeek} – €${REGISTRATION_PRICING.lastMin.perWeek}/wk`; - // Check for saved data on load - (function checkSavedProgress() { - const saved = localStorage.getItem(STORAGE_KEY); - if (saved) { - document.getElementById('resume-notice').style.display = 'block'; - } - })(); - - function startForm(resume) { + function startForm() { document.getElementById('landing-screen').style.display = 'none'; document.getElementById('application-form').style.display = 'block'; document.getElementById('progress-container').style.display = 'block'; - if (resume) { - const saved = localStorage.getItem(STORAGE_KEY); - if (saved) { - try { - const data = JSON.parse(saved); - restoreFormData(data); - } catch (e) { - console.error('Failed to restore saved data:', e); - } + // Silently restore any locally saved progress + const saved = localStorage.getItem(STORAGE_KEY); + if (saved) { + try { + restoreFormData(JSON.parse(saved)); + } catch (e) { + console.error('Failed to restore saved data:', e); } }