From 860ffa02314ed4619b61bb64138333e97cef176c Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Fri, 15 May 2026 17:44:28 +0300 Subject: [PATCH] feat: add dead-man's switch overlay and console warning - Poll /health every 5s; show full-screen overlay after 2 consecutive failures telling the user the console was closed - Auto-hide overlay when backend comes back online - Added to base.html (all main pages) and setup.html (first-run/settings) - setup.html: suppress false-positive overlay during intentional restart via awaitingRestart flag - setup.html: add amber warning banner that the console must stay open - .gitignore: block *_import.sql and *_export.csv to prevent future accidental commits of real supplier/pricing data Co-Authored-By: Claude Sonnet 4.6 --- .gitignore | 5 ++++ web/templates/base.html | 48 +++++++++++++++++++++++++++++++++ web/templates/setup.html | 58 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+) diff --git a/.gitignore b/.gitignore index abed8ec..305e4d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,10 @@ # QuoteForge config.yaml + +# Data exports and imports with real supplier/pricing data +*_import.sql +*_export.csv +test_export.csv .env .env.* *.pem diff --git a/web/templates/base.html b/web/templates/base.html index e206ef8..cf9c753 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -50,6 +50,25 @@
+ + +