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"
|
||||
}
|
||||
40
dashboard/i18n/ms.json
Normal file
40
dashboard/i18n/ms.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"dashboard.brand": "FixMate",
|
||||
"dashboard.filters": "Penapis",
|
||||
"queue.title": "Tiket",
|
||||
"drawer.details": "Maklumat",
|
||||
"drawer.changeStatus": "Tukar Status",
|
||||
"drawer.openMap": "Buka Peta",
|
||||
"drawer.noNotes": "Tiada nota tambahan",
|
||||
"btn.apply": "Terapkan",
|
||||
"btn.reset": "Tetapkan Semula",
|
||||
"btn.view": "Lihat",
|
||||
"label.language": "Bahasa",
|
||||
"label.location": "Lokasi",
|
||||
"label.createdAt": "Dicipta Pada",
|
||||
"filter.category": "Kategori",
|
||||
"filter.severity": "Keparahan",
|
||||
"filter.status": "Status",
|
||||
"filter.dateRange": "Julat Tarikh",
|
||||
"filter.dateFrom": "Dari",
|
||||
"filter.dateTo": "Hingga",
|
||||
"map.noReports": "Tiada laporan sepadan dengan penapis",
|
||||
"stats.total": "Jumlah",
|
||||
"stats.heatmap": "Peta Panas",
|
||||
"severity.high": "Tinggi",
|
||||
"severity.medium": "Sederhana",
|
||||
"severity.low": "Rendah",
|
||||
"status.submitted": "Dihantar",
|
||||
"status.in_progress": "Sedang Diproses",
|
||||
"status.fixed": "Dibaiki",
|
||||
"category.pothole": "Lubang Jalan",
|
||||
"category.streetlight": "Lampu Jalan",
|
||||
"category.signage": "Papan Tanda",
|
||||
"category.trash": "Sampah",
|
||||
"category.drainage": "Saliran",
|
||||
"category.other": "Lain-lain",
|
||||
"nav.map": "Peta",
|
||||
"nav.settings": "Tetapan",
|
||||
"label.viewOnMap": "Lihat di Peta",
|
||||
"map.legend": "Legenda"
|
||||
}
|
||||
Reference in New Issue
Block a user