PowerNight 2.0.0 - Mobile UI & Task preset feature
Merged
MA
18h ago+11438+11438+01234567890123456789012345678901234567890123456789-18937-18937-01234567890123456789012345678901234567890123456789
Summary
- Adds a TaskPreset database model, service, and built-in seed data to support predefined reserve configurations
- Adds REST API endpoints and a React UI for selecting and applying task presets in the Planner page
- Improves responsive layout in the Header and Planner, and refines Tooltip component styling
- Upgrades frontend dependencies to latest versions (package.json / package-lock.json refresh)
- Adds security remediation plan and UX improvement roadmap to docs/plans
Test plan
- Start the app and verify the Planner page shows preset options
- Apply a preset and confirm the reserve value updates correctly
- Verify
/api/v1/tasks/presetsreturns seeded preset data - Check responsive layout on mobile and desktop screen sizes
- Run
pytest tests/to confirm no backend regressions - Run
npm run testandnpm run type-checkfor frontend checks
Summary by CodeRabbit
-
New Features
- Task preset management: save, load, and delete reusable task configurations
- Mobile navigation dropdown menu
- Touch-friendly tooltip interactions
- Enhanced mobile responsiveness across dashboard, planner, and settings pages
-
Documentation
- Added security remediation roadmap
- Added UX improvement roadmap
-
Chores
- Updated frontend and backend dependencies