-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
NextJsStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programfrontendgood first issueGood for newcomersGood for newcomers
Description
Description
Create a comprehensive dashboard that provides an overview of asset statistics, recent activities, and quick action buttons.
Requirements
Stats Cards Section:
- Total Assets (with trend indicator)
- Assets by Status (Active, Assigned, In Maintenance, Retired)
- Total Asset Value
- Assets Requiring Attention (warranty expiring, maintenance due)
Charts Section:
- Pie chart: Assets by Category
- Bar chart: Assets by Department
- Line chart: Asset Registrations Over Time (last 6 months)
Recent Activity Feed:
- Display last 10 asset activities (created, assigned, transferred, retired)
- Show timestamp, asset name, action type, and user who performed action
- Link to detailed asset view
Quick Actions:
- "Register New Asset" button
- "Generate Report" button
- "Bulk Import" button
- "Request Asset" button
Technical Specifications
- Use Recharts or Chart.js for data visualization
- Implement React Query for data fetching with proper caching
- Add loading skeletons for better UX
- Implement real-time updates using WebSocket or polling (configurable)
- Make dashboard customizable (users can rearrange widgets)
- Add date range filter for statistics
Acceptance Criteria
- Dashboard loads within 2 seconds
- All stats display accurate data from API
- Charts are responsive and interactive (hover tooltips)
- Activity feed updates automatically
- Quick actions navigate to correct pages
- Dashboard works on all screen sizes
- Loading states are smooth and informative
API Endpoints
GET /api/dashboard/stats- Dashboard statisticsGET /api/dashboard/activities- Recent activitiesGET /api/dashboard/charts- Chart data
Metadata
Metadata
Assignees
Labels
NextJsStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programfrontendgood first issueGood for newcomersGood for newcomers