How grisu-noe/mobile-app works
Grisu NÖ is an Ionic mobile app for firefighters to view WASTL’s real-time Lower Austria incident information. Users browse the overview or districts, open incident details (including extended and historical information), and can view statistics, incident maps, and nearby hydrants/water points. The sampled code shows controllers calling data and geospatial services, with settings and message state persisted locally. README documents the WASTL incident-data capability; unsampled controller behavior and some service operations are represented only where their role is supported by the tree or documentation.
Main entry points: app.js App routes · dataService.js WASTL data · incidentController.js Incident detail · extendedIncidentController.js Extended incident
Components 17
App navigation
- App routes
www/js/app.js - Overview
www/js/controllers/overviewTabController.js - District browsing
www/js/controllers/districtsTabController.js
Incident information
- Incident lists
www/js/controllers/incidentsListController.js - Incident detail
www/js/controllers/incidentController.js - Extended incident
www/js/controllers/extendedIncidentController.js - Incident history
www/js/controllers/historyController.js - Statistics
www/js/controllers/statisticsTabController.js
Data and services
- WASTL data
www/js/factories/dataService.js - Local settings
www/js/factories/storageService.js - Refresh and formatting
www/js/services/util.js - Screenshot service
www/js/factories/screenshotService.js
Maps and location
- Geospatial services
www/js/factories/geoService.js - Water points
www/js/controllers/waterTabController.js
Other components
- Firefighters
- WASTL incident provider
- Mapping and geocoding providers
Connections 27
- Firefighters → App routes: opens
www/js/app.js - App routes → Overview: routes to
www/js/app.js - App routes → District browsing: routes to
- App routes → Incident lists: routes to
www/js/app.js - App routes → Incident detail: routes to
www/js/app.js - App routes → Extended incident: routes to
www/js/app.js - App routes → Statistics: routes to
www/js/app.js - Overview → WASTL data: loads data
www/js/controllers/overviewTabController.js - Overview → Local settings: reads and writes
www/js/controllers/overviewTabController.js - Overview → Refresh and formatting: refreshes through
www/js/controllers/overviewTabController.js - Incident detail → WASTL data: loads incident
www/js/controllers/incidentController.js - Incident detail → Geospatial services: geocodes and maps
www/js/controllers/incidentController.js - Incident detail → Local settings: reads settings
www/js/controllers/incidentController.js - Incident detail → Refresh and formatting: refreshes through
www/js/controllers/incidentController.js - Extended incident → WASTL data: loads and votes
www/js/controllers/extendedIncidentController.js - Extended incident → Geospatial services: uses map
www/js/controllers/extendedIncidentController.js - Extended incident → Local settings: reads settings
www/js/controllers/extendedIncidentController.js - Extended incident → Refresh and formatting: formats and refreshes
www/js/controllers/extendedIncidentController.js - Statistics → WASTL data: loads statistics data
www/js/controllers/statisticsTabController.js - Statistics → Refresh and formatting: refreshes through
www/js/controllers/statisticsTabController.js - Water points → Geospatial services: finds nearby points
www/js/controllers/waterTabController.js - Incident lists → WASTL data: loads incidents
- Incident history → WASTL data: loads history
- WASTL data → WASTL incident provider: requests incident data
www/js/factories/dataService.js - Geospatial services → Mapping and geocoding providers: requests map data
www/js/factories/geoService.js - App routes → WASTL data: preloads BAZ info
www/js/app.js - App routes → Screenshot service: uses
www/js/app.js