feat(planner): implement cancellation for planning calculations
- 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
This commit is contained in:
1 parent
5c35a59805
commit
2edf2004f5
31 files changed
+2275
-304
No files matched your search
@@ -526,6 +526,9 @@ output {
|
||||
justify-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
.cancel-calculation {
|
||||
min-height: 44px;
|
||||
}
|
||||
.spinner-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user