- Refactor leave-planner.worker.ts to support cancellation of ongoing calculations.
- Introduce `calculatePlanningAsyncInternal` for asynchronous planning calculations.
- Add cancellation handling in the worker message event.
- Update planning-date.ts with new utility functions for date manipulation.
- Extend translation-service.ts and translation files (en.json, de.json, es.json, fr.json) to include new strings related to planning horizon and cancellation.
- Create documentation for the cancellation feature in planner-cancellation.md.
- Add unit tests for cancellation functionality in leave-planner-cancellation.spec.ts and leave-planner.worker.spec.ts.
#57#58
* enregistrer les calendar settings dans le localstorage
Fixes#5
* Refactor calendar settings service to use a definitions map for settings and update related components to access settings via a getter method
* Update src/app/services/calendar-settings-service.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Refactor calendar settings service to utilize a new storedSignal implementation for localStorage persistence and restore the stored-signal utility
* Update typescript-eslint to version 8.46.3 and enhance error handling in storedSignal function
* Update src/app/services/calendar-settings-service.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Enhance storedSignal function to accept an Injector for improved context handling in localStorage persistence
* Skip initial execution in storedSignal effect to prevent unnecessary localStorage writes
* Refactor get method in CalendarSettingsService to throw an error if the setting ID doesn't exist
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>