Chart Surat:
- Added console.log debugging to track API response and data mapping
- Helps identify if data is being received but not rendered
Stat Cards:
- Removed hardcoded trend='0%' and trendValue={0} props
- Cards now display clean without misleading 0% trends
- Trend feature can be re-added later with proper API support
Files changed:
- dashboard/chart-surat.tsx: Added debug logging
- dashboard-content.tsx: Removed hardcoded trend props
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- 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>
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.