duimstok.prorail.nl/public
Randy Fischer 92ad6a92e3 Persist uploaded order CSVs across app restarts
Uploaded CSVs previously lived only in memory; reloading the app reset the
order list to the embedded SEED_ORDERS_CSV. Now every upload is written to a
new IndexedDB store so inspectors keep their order list after closing/reopening
the PWA.

- db.js: bump DB_VERSION to 4, add object store `ordersCsv` (keyPath 'id'),
  saveOrdersCsv(csvText) and loadOrdersCsv().
- csvLoader.js: loadOrdersFromUpload returns { text, orders } so the handler
  can persist the raw text alongside the parsed result.
- main.js: init() prefers the stored CSV, falls back to SEED_ORDERS_CSV. The
  upload handler persists the CSV before re-rendering.
2026-04-15 15:47:15 +02:00
..
css Add PWA-ready MVP: split HTML/CSS/JS + DDD layering + service worker 2026-04-15 15:25:38 +02:00
icons Add PWA-ready MVP: split HTML/CSS/JS + DDD layering + service worker 2026-04-15 15:25:38 +02:00
js Persist uploaded order CSVs across app restarts 2026-04-15 15:47:15 +02:00
index.html Add PWA-ready MVP: split HTML/CSS/JS + DDD layering + service worker 2026-04-15 15:25:38 +02:00
manifest.webmanifest Add PWA-ready MVP: split HTML/CSS/JS + DDD layering + service worker 2026-04-15 15:25:38 +02:00
sw.js Add PWA-ready MVP: split HTML/CSS/JS + DDD layering + service worker 2026-04-15 15:25:38 +02:00