feat: introduce FixMate Flutter app and React dashboard
- Add Flutter app shell (FixMateApp/MainScreen) with tabs: Report, Map, My Reports, Settings - Implement capture and review flow (image_picker, geolocator, deterministic mock AI), and local storage (SharedPreferences + photo files on mobile) - Build Map screen with flutter_map, marker clustering, filters, legend, marker details, and external maps deeplink - Add My Reports list (view details, cycle status, delete) and Settings (language toggle via Provider, diagnostics, clear all data) - Introduce JSON i18n loader and LocaleProvider; add EN/BM assets - Define models (Report, enums) and UI badges (severity, status) - Add static React dashboard (Leaflet map with clustering, heatmap toggle, filters incl. date range, queue, detail drawer), i18n (EN/BM), and demo data - Update build/config and platform setup: - Extend pubspec with required packages and register i18n assets - Android: add CAMERA and location permissions; pin NDK version - iOS: add usage descriptions for camera, photo library, location - Gradle properties tuned for Windows/UNC stability - Register desktop plugins (Linux/macOS/Windows) - .gitignore: ignore .kilocode - Overhaul README and replace sample widget test
This commit is contained in:
40
dashboard/i18n/en.json
Normal file
40
dashboard/i18n/en.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"dashboard.brand": "FixMate",
|
||||
"dashboard.filters": "Filters",
|
||||
"queue.title": "Tickets",
|
||||
"drawer.details": "Details",
|
||||
"drawer.changeStatus": "Change Status",
|
||||
"drawer.openMap": "Open Map",
|
||||
"drawer.noNotes": "No additional notes",
|
||||
"btn.apply": "Apply",
|
||||
"btn.reset": "Reset",
|
||||
"btn.view": "View",
|
||||
"label.language": "Language",
|
||||
"label.location": "Location",
|
||||
"label.createdAt": "Created At",
|
||||
"filter.category": "Category",
|
||||
"filter.severity": "Severity",
|
||||
"filter.status": "Status",
|
||||
"filter.dateRange": "Date Range",
|
||||
"filter.dateFrom": "From",
|
||||
"filter.dateTo": "To",
|
||||
"map.noReports": "No reports match filters",
|
||||
"stats.total": "Total",
|
||||
"stats.heatmap": "Heatmap",
|
||||
"severity.high": "High",
|
||||
"severity.medium": "Medium",
|
||||
"severity.low": "Low",
|
||||
"status.submitted": "Submitted",
|
||||
"status.in_progress": "In Progress",
|
||||
"status.fixed": "Fixed",
|
||||
"category.pothole": "Pothole",
|
||||
"category.streetlight": "Streetlight",
|
||||
"category.signage": "Signage",
|
||||
"category.trash": "Trash",
|
||||
"category.drainage": "Drainage",
|
||||
"category.other": "Other",
|
||||
"nav.map": "Map",
|
||||
"nav.settings": "Settings",
|
||||
"label.viewOnMap": "View on Map",
|
||||
"map.legend": "Legend"
|
||||
}
|
||||
Reference in New Issue
Block a user