How satvik-pachipulusu/vigil-dashboard works
Vigil Dashboard is a browser-based incident reporting and situational-awareness app. Users can submit incident details, which the main reporting code stores in browser local storage; the dashboard alert feed reads those reports and displays incident cards and a ticker. The dashboard also initializes a clock, GPS capture and a Leaflet map. The excerpts show a second, separate form implementation with a different storage key. The README provides no further capability details, and the HTML files were not sampled, so page wiring beyond explicit references is not assumed.
Main entry points: script.js Report submission · report.html Report page · alerts.js Alert feed · form.js Alternate report form
Components 11
Incident reporting
- Report page
report.html - Report submission
script.js - Alternate report form
form.js - Report storage
Dashboard intelligence
- Dashboard page
index.html - Alert feed
alerts.js - Map view
map.js - Clock and GPS
script.js
Browser utilities
- UI helpers
utils.js
Other components
- User
- Leaflet and Carto tiles
Connections 10
- User → Report page: enters report
- Report page → Report submission: submits report
- Report submission → Report storage: writes reports
script.js - Alternate report form → Report storage: writes reports
form.js - Report storage → Alert feed: reads reports
alerts.js - Report submission → Dashboard page: redirects to
script.js - Report submission → Clock and GPS: initializes
script.js - Report submission → Alert feed: calls on load
script.js - Report submission → Leaflet and Carto tiles: creates map and tiles
script.js - Map view → Leaflet and Carto tiles: creates map and tiles
map.js