Skip to content

Develop#75

Merged
altaskur merged 14 commits intomainfrom
develop
Feb 17, 2026
Merged

Develop#75
altaskur merged 14 commits intomainfrom
develop

Conversation

@altaskur
Copy link
Copy Markdown
Owner

This pull request introduces significant improvements to the project's Electron build and development workflow, Storybook integration, and documentation. The most notable changes are the migration to a unified Vite-based Electron build system, enhanced Storybook configuration for UI development, and clearer, more comprehensive documentation for both contributors and AI assistants.

Build System and Electron Integration

  • Introduced a new unified Electron build configuration using electron-vite in electron.vite.config.ts, replacing legacy tsconfig build files and streamlining main, preload, and renderer builds. This includes improved asset serving and output structure for development and production. [1] [2] [3]
  • Updated renderer output and asset paths to use dist/renderer instead of legacy browser directory, and adjusted path utilities and tests accordingly for consistency and reliability. [1] [2] [3] [4]

Storybook and UI Development

  • Enhanced Storybook configuration to support modern Angular features, PrimeNG theming, and i18n. Added custom decorators for live theme and locale switching, and documented Storybook usage and best practices in both English and Spanish contributor guides. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Documentation and Contributor Guidance

  • Added a comprehensive AI guidelines file .agent/rules/ia-rules.md outlining tech stack, coding standards, workflows, and context for AI agents, and referenced it in the main README.md. [1] [2]
  • Improved and clarified documentation for running, building, and contributing to Storybook, and updated workflow instructions in COLLABORATION.md and CONTRIBUTING.md for both English and Spanish speakers. [1] [2] [3] [4] [5] [6] [7]

Other Improvements

  • Updated index.html (moved from src/index.html) to ensure correct script loading for Angular's main entry point.
  • Refactored electron/tsconfig.spec.json for direct configuration, removing inheritance from now-deleted build configs.

These changes modernize the development workflow, improve cross-platform consistency, and make UI and documentation work easier and more robust.

 introduces Storybook to the project
…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
…ectron-vite

Fix/66 dashboard schedule and electron vite
@sonarqubecloud
Copy link
Copy Markdown

@altaskur altaskur merged commit 970d1ee into main Feb 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant