Voyage Reports
NOON / ARRIVAL / DEPARTURE submissions. Most-used tab. Columns: Submitted, Type, Report UTC, Vessel, Voyage, Location, Port, Lat/Lon, Events.
The Metaweave History Viewer is a single-file HTML app (~71 KB) that browses every report a vessel has ever submitted. It’s read-only, offline, and lives next to the form in the same shared-drive folder.
History viewer — Voyage Reports tab.
history.json file from disk via the File System Access APImode: 'read'. The viewer cannot modify history.json.history.json at a time. To compare vessels, switch the linked file via Re-link.The viewer never makes network requests. It reads the file the user selects via the File System Access API, a Chrome 86+ feature that bypasses CORS and avoids the file:// restrictions that break a normal fetch() from a local HTML page.
The selected file’s handle is persisted in IndexedDB so the viewer auto-loads the same file next time. The user can re-link a different file at any time.
See Viewing past reports for the user flow and Setting up history.json for how the file gets created.
| Browser | Status |
|---|---|
| Chrome 86+ | ✅ Supported |
| Edge 86+ | ✅ Supported |
| Firefox | ❌ No File System Access API — viewer shows “Unsupported browser” gate |
| Safari | ❌ No File System Access API — viewer shows “Unsupported browser” gate |
If a Master uses Firefox, the form still works (form Submit doesn’t strictly require FSA), but the local archive and the viewer don’t.
Voyage Reports
NOON / ARRIVAL / DEPARTURE submissions. Most-used tab. Columns: Submitted, Type, Report UTC, Vessel, Voyage, Location, Port, Lat/Lon, Events.
Statement of Facts
SOF submissions only. Columns: Submitted, Report UTC, Vessel, Voyage, Port, Activities (count).
Bunker Reports
Bunker lifts only. Columns: Submitted, Date, Vessel, Voyage, Port, BDN No, Quantity (MT).
Month-End ROB
Month-end bunker reconciliations only. Columns: Submitted, Month, Vessel, Voyage.
The viewer auto-routes each submission to the correct tab based on its reportType field — NOON / ARRIVAL / DEPARTURE go to Voyage, SOF to Statement of Facts, BUNKER to Bunker, MONTH_END_BUNKER to Month-End.
Clicking any row opens a full-screen modal showing the entire submission in seven labeled zones:
| Zone | Examples |
|---|---|
| Identity | reportName, version, voyageNumber, vesselName, vesselCode |
| Position & Port | lat/long, port, ETD, ice/STS/refuge flags |
| Vessel State | vessel condition, drafts, DWT, displacement |
| Distance & Main Engine | observed distance, slip, ME hours, RPM, KW |
| Generators & Auxiliary | gen 1–4 hours/KWhrs, aux boiler, incinerator |
| Lub Oil & Tanks | stern tube lub, ROBs, bilge, sludge |
| Slops & Fresh Water | slops, freshwater ROB / consumed / received |
Below the zones, child tables render:
gsfueltypeandquantity and bdnbiofuel arrays