f0c37272b9
Progress Tampilan UI Dashboard Desa Plus NOC
2026-03-17 20:53:33 +07:00
952f7ecb16
refactor: modularize dashboard components per PromptDashboard.md
...
- Create reusable StatCard component for header metrics
- Create ChartSurat component for bar chart (surat statistics)
- Create DivisionProgress component for divisi teraktif
- Create ChartAPBDes component for APBDes horizontal bar chart
- Create ActivityList component for calendar events
- Create SatisfactionChart component for donut chart
- Create SDGSCard component for SDGs metrics
- Refactor DashboardContent to use new modular components
- Add proper dark mode support with specified colors
- Implement responsive grid layout (12/6/1 columns)
- Add custom SDGs icons (Energy, Peace, Health, Poverty, Ocean)
New components structure:
src/components/dashboard/
- stat-card.tsx
- chart-surat.tsx
- chart-apbdes.tsx
- division-progress.tsx
- activity-list.tsx
- satisfaction-chart.tsx
- sdgs-card.tsx
- index.ts (exports)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com >
2026-03-13 15:36:31 +08:00
17ecd3feca
fix: make dashboard public and remove admin-only restriction from main pages
...
- Make homepage (/) accessible without authentication
- Allow all authenticated users (user & admin) to access main pages:
- /kinerja-divisi, /pengaduan, /jenna, /demografi
- /keuangan, /bumdes, /sosial, /keamanan
- /bantuan, /pengaturan
- Reserve admin-only access for /admin/* routes
- Update auth middleware to handle public routes properly
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com >
2026-03-13 14:21:30 +08:00
b77f6e8fa3
feat: update APBDes data with real values and fix SDGS layout
...
- Update APBDes data with actual values (390M, 470M, 290M)
- Fix SDGS Desa layout to display horizontally with auto-wrap
- Add responsive grid for SDGS cards (1 col mobile, 2 tablet, 3 desktop)
- Add GitHub OAuth redirectURI configuration
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com >
2026-03-10 16:37:33 +08:00
38b22dd2dd
feat: update dashboard components (dashboard-content, help-page, kinerja-divisi)
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com >
2026-02-23 10:32:24 +08:00
5801eb4596
feat: improve header responsiveness and update seed initialization
...
- Add text truncation for title on mobile screens
- Hide user info section on mobile, show simplified icons only
- Update seed.ts to create admin and demo users with proper password hashing
- Add bcryptjs for password hashing in seed script
- Update QWEN.md documentation with seed command and default users
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com >
2026-02-19 10:14:21 +08:00
4ed1c664d1
feat: update components with Mantine UI and improve dark mode support
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com >
2026-02-12 15:47:31 +08:00
ca2f97fa47
feat: finalize kinerja divisi feature implementation
...
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com >
2026-02-11 12:38:28 +08:00
defdb2b7bd
feat: Implement theme toggling and enhance dashboard component theming
...
This commit introduces a theme toggle functionality in the application header
and improves the visual consistency of dashboard components across different
color schemes.
- Added light/dark mode toggle to using Mantine's .
- Ensured all components in have visible borders in both light and dark modes by adding the prop.
- Made colors in theme-aware, dynamically adjusting their background color based on the active color scheme.
Additionally, this commit includes a large refactoring operation, moving various
component files from to and updating
their references.
2026-02-11 11:20:17 +08:00
48cf6c44f5
feat: Integrate new dashboard design and components, remove old dashboard routes, and update dependencies.
2026-02-10 15:00:11 +08:00