How kumarprashant1408/thickness-dashboard works
This repository appears to be a static, offline-capable operations dashboard backed by CSV and JSON data. The likely user workflow is to open the app, view operational datasets, and—when run separately—derive monthly belt consumption from Daily Report entries and SBC totals. The service worker documents network-first fetching with cached fallbacks; the sampled Python tool documents the consumption stages. The README is empty and the app HTML was not sampled, so dashboard interactions and links between the UI and datasets are not verified.
Main entry points: sw.js Offline fetch worker · consumption.py Consumption processor · index.html App shell · daily.csv Daily report
Components 22
Dashboard App
- App shell
index.html - Offline fetch worker
sw.js - App manifest
manifest.json
Operational Data
- General data
data.csv - Asset records
abn.csv - Planning data
abp.csv - Planning master
abp_master.csv - Planning overrides
abp_overrides.csv - Daily report
daily.csv - Patching records
patching.csv - SBC totals
sbc.csv - SBC month base
sbc_month_base.csv - Monthly consumption
sbc_monthly.csv - UMC records
umc.csv - UMCF records
umcf.csv - Actual costs
cost_actual.csv - Belt analysis
belt_analysis.csv - Stock records
stock.csv - Stock notes
stock_notes.json
Consumption Processing
- Consumption processor
tools/consumption.py - Consumption event log
consumption_log.csv
Other components
- Dashboard user
Connections 24
- Dashboard user → App shell: opens
- Offline fetch worker → App shell: network-first fetch
sw.js - Offline fetch worker → General data: fetches and caches
sw.js - Offline fetch worker → Asset records: fetches and caches
sw.js - Offline fetch worker → Planning data: fetches and caches
sw.js - Offline fetch worker → Planning master: fetches and caches
sw.js - Offline fetch worker → Planning overrides: fetches and caches
sw.js - Offline fetch worker → Daily report: fetches and caches
sw.js - Offline fetch worker → Patching records: fetches and caches
sw.js - Offline fetch worker → SBC totals: fetches and caches
sw.js - Offline fetch worker → Monthly consumption: fetches and caches
sw.js - Offline fetch worker → UMC records: fetches and caches
sw.js - Offline fetch worker → UMCF records: fetches and caches
sw.js - Offline fetch worker → Actual costs: fetches and caches
sw.js - Offline fetch worker → Belt analysis: fetches and caches
sw.js - Offline fetch worker → Stock records: fetches and caches
sw.js - Offline fetch worker → Stock notes: fetches and caches
sw.js - Offline fetch worker → App manifest: cache-first asset
sw.js - Consumption processor → Daily report: reads events
tools/consumption.py - Consumption processor → Consumption event log: updates log
tools/consumption.py - Consumption processor → SBC totals: reads totals
tools/consumption.py - Consumption processor → Consumption event log: reads events
tools/consumption.py - Consumption processor → SBC month base: reads fallback months
tools/consumption.py - Consumption processor → Monthly consumption: writes monthly totals
tools/consumption.py