Commit Graph

3 Commits

Author SHA1 Message Date
Randy Fischer 684b89b8fc Add Engelsman, Kruising types and rebuild Overwegbevloering diagram
Three new inspection types based on analyzed reference diagrams:
- Engelsman (half/heel): 5-section layout with DWL/BAL scoring
- Kruising (incl. ingesloten): 4-section layout with DWL/BAL scoring
- Overwegbevloering: rebuilt as spatial diagram with 14 photo
  positions (sticker, spoorbord, 6x lage km, 6x hoge km)

Wissel subtype detection from SOORT field in SAP XML. Shared
DWL/BAL logic via usesDwlBal() helper. Section maps per type.
Overview photo export now includes all types.
2026-04-16 08:25:45 +02:00
Randy Fischer f2f9b65916 Add multi-inspection-type routing for Wissel, Overweg, and Spoor
Route inspection forms by objectsoort/EQART from CSV or SAP XML.
Each type gets its own header fields, assessment table layout,
overview photo grid, and XML export format. CSS toggles type-specific
sections via body class. SW cache bumped to v3.
2026-04-16 08:09:02 +02:00
Randy Fischer 776bd6366d Add PWA-ready MVP: split HTML/CSS/JS + DDD layering + service worker
- public/index.html: markup-only entry, classic <script> tags, no inline styles/handlers.
- public/css/: base, overview, form, modals, install, responsive stylesheets.
- public/js/: namespace bootstrap + main wiring (event handlers, init).
- public/manifest.webmanifest + icons/icon.svg + sw.js: installable, offline app shell.
- src/Domain: sectionMap, scoring, orderParser (pure, no I/O).
- src/Application: state, persistence, screens, inspection form, order overview,
  photo service, XML import, export, PWA registration, install screen.
- src/Infrastructure: IndexedDB, geolocation, utils, seed CSV, CSV upload parser.

Runs from file:// (PWA gated off) and from http(s)/localhost (PWA fully active).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 15:25:38 +02:00