Add dashboard analytics and insights
Overview
This merge request adds the Dashboard & Analytics module for the SpotIt platform.
Changes Implemented
- Added analytics dashboard for community safety reports.
- Added report metrics cards (Total Reports, Verified Reports, Open Reports, Resolved Reports).
- Added category-wise report visualization using charts.
- Added safety hotspot summaries for high-risk locations.
- Added recent reports table for quick incident monitoring.
- Added report status analytics and distribution overview.
- Added community insights section highlighting reporting trends and active areas.
- Improved dashboard UI with responsive cards, animations, and modern styling.
Purpose
The dashboard helps users and stakeholders understand community safety trends, identify frequently reported issues, monitor incident statuses, and gain insights into high-risk areas.
Testing
- Dashboard page loads successfully.
- Charts and metrics render correctly.
- Recent reports table displays properly.
- Community insights section functions as expected.
- No errors observed during local testing.