Fix/66 dashboard schedule and electron vite#73
Merged
Conversation
…on-vite - Replace Angular CLI build with electron-vite unified build system - Add @analogjs/vite-plugin-angular for Angular compilation in Vite - Move index.html to project root (Vite convention) - Update paths.ts for electron-vite dev server and production paths - Update window.ts to load from Vite dev server in development - Remove old electron/build/ tsconfig files (replaced by electron.vite.config.ts) - Add cross-platform asset serving plugin (dev middleware + build copy) - Update package.json scripts for electron-vite commands - Add Zone.js import in src/main.ts for Vite compatibility - Update electron/tsconfig.spec.json for standalone Vitest usage
- Fix workDays parsing: use split(',') instead of JSON.parse()
to match the comma-separated format stored in the database
- Use daySchedule per-day minutes instead of dividing weeklyMinutes
evenly, matching the calendar component's behavior
- Handle dayTypeId in overrides (holidays/special days return 0)
- Fix Sunday dayOfWeek conversion (0 -> 7) to match ISO format
Closes #66
- Set card height to 134px for all variants - Set max-width to 356px for all cards - Add text-overflow: ellipsis on card names and task titles - Change grid to auto-fill with minmax(200px, 356px) - Add overflow: hidden to p-card for clean truncation - Reduce card body padding for compact layout
- Add ia-rules.md with coding standards, architecture context, and essential commands for AI agents working on the project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Goal
Fix the dashboard not reflecting the daily schedule configured in the Calendar, migrate the build system to electron-vite for better DX and cross-platform support, and improve home page card layout consistency.
Key Changes
dayScheduleper-day minutes instead of dividingweeklyMinutesevenly (fixes [Bug]: Dashboard does not reflect updated daily schedule from Calendar configuration #66)workDaysparsing fromJSON.parse()to.split(',')matching the stored formatelectron-viteType of Change
Impact Assessment
Database Impact
Backup Impact
Testing
How Has This Been Tested?
Test Steps
8h 30min Work Schedule Configuration0m / 8h 30m — Remaining: 8h 30minstead of the old0m / 8hTest Configuration
UI Changes
Before
0m / 8heven when a day was configured to8h 30mAfter
Checklist
npm run lintand fixed any issuesnpm testand all tests passnpm run test:electronand all tests passnpm run sonar:checkand the analysis passesBreaking Changes
Related Issues
Closes #66
Related to #28
Additional Context
The electron-vite migration replaces the previous Angular CLI + manual Electron build setup with a unified
electron-viteconfiguration. This simplifies the build pipeline and provides HMR for the renderer process in development. Theindex.htmlwas moved to the project root following Vite conventions, and a custom Vite plugin handles cross-platform asset serving (translations, icons) both in dev and production builds.Reviewer Notes