Commit Graph

229 Commits

Author SHA1 Message Date
Ross 023e345591 Add rota-builder summary to detail view with weeks, shifts, and workers count 2025-12-17 17:25:22 +00:00
Ross 8458279e19 Enhance constraint handling with safe accessors to avoid Pydantic errors and improve compatibility with legacy data structures 2025-12-17 17:16:19 +00:00
Ross 4230e2af6a Filter out non-constraint keys in rota detail view for improved data presentation 2025-12-17 16:32:22 +00:00
Ross e2c3eecc63 Enhance constraint display in rota detail view with default value indication and improved layout 2025-12-17 16:28:57 +00:00
Ross 105b37feae Add worker overview and leave management features with modals for enhanced usability 2025-12-17 16:26:11 +00:00
Ross 86201ec1d7 Enhance focus handling in modals to improve user experience by scrolling to and focusing on relevant fields 2025-12-17 16:11:37 +00:00
Ross c59a03fa31 Add worker-specific constraint snippets with hover details in worker list 2025-12-17 16:06:48 +00:00
Ross 3fd0e1ed99 Refactor worker form modal to enhance layout and improve button labeling for better usability 2025-12-17 16:03:06 +00:00
Ross b6f5288eed Enhance normalization function to handle sets and improve recursion for Pydantic models 2025-12-17 15:58:47 +00:00
Ross a2d22c34fd Add tooltip for shift constraints and enhance weekday checkbox handling in worker form 2025-12-17 15:55:42 +00:00
Ross ba154f680a Enhance shift constraints validation and error handling in forms and templates 2025-12-17 15:35:20 +00:00
Ross 32886da33d Add visual indicators for required fields and ARIA attributes in shift forms 2025-12-17 15:25:39 +00:00
Ross ea38a25fa1 Reorganize historic runs section to improve layout and accessibility 2025-12-17 14:46:09 +00:00
Ross 1e6d1d5f5b Add calendar and list view toggle buttons with dynamic content loading 2025-12-17 14:37:11 +00:00
Ross 60bd8073ee Refactor global leave legend to include back navigation and improve loading messages 2025-12-17 14:29:22 +00:00
Ross 9d187dfa75 Refactor weekend day balancing logic by commenting out unused option and storing adjusted targets on worker objects 2025-12-17 12:39:11 +00:00
Ross a54b5db5d2 Enhance weekend shift balancing by adding quadratic penalty and adjusting deviation handling 2025-12-17 12:24:26 +00:00
Ross 0851b992fb Enhance weekend shift handling by adding per-day adjustments and improving prior allocation parsing 2025-12-17 12:13:56 +00:00
Ross 710a2aa7c8 Add weekend shift adjustment calculations and update worker summary display 2025-12-17 11:44:13 +00:00
Ross a347ad7777 . 2025-12-17 11:27:16 +00:00
Ross bf3b685923 Add prior adjustments summary to worker display and enhance data attributes 2025-12-17 11:09:33 +00:00
Ross 378caf63ff . 2025-12-17 10:56:21 +00:00
Ross 83444ac402 Add weekend day balancing options and summary counts for shifts 2025-12-17 10:43:37 +00:00
Ross 81b2c85d61 Add exclude_dates option to PreShiftConstraint and PostShiftConstraint 2025-12-17 09:19:45 +00:00
Ross 108bb572a7 Enhance hard day dependency handling with ignore dates and improve warning visibility 2025-12-16 22:41:43 +00:00
Ross 51ed25d04c Add warning for forced assignments in HardDayDependency 2025-12-16 22:35:21 +00:00
Ross 8e580440e0 . 2025-12-16 21:34:11 +00:00
Ross 0b732a0b09 start updating cons rota 2025-12-16 20:58:09 +00:00
Ross f019d2f565 . 2025-12-15 22:25:17 +00:00
Ross d2e128006a . 2025-12-15 22:24:11 +00:00
Ross 761f52eafa . 2025-12-15 22:16:35 +00:00
Ross 2482f6a04a . 2025-12-15 22:07:50 +00:00
Ross e99ab2c1fa . 2025-12-15 21:58:11 +00:00
Ross cf966573de . 2025-12-15 21:54:55 +00:00
Ross 6674306306 . 2025-12-15 21:51:40 +00:00
Ross a7e898f0a7 . 2025-12-15 21:48:06 +00:00
Ross bc7036859e . 2025-12-15 21:46:00 +00:00
Ross 5b4838e67d . 2025-12-15 21:45:33 +00:00
Ross b48382e990 . 2025-12-15 21:44:57 +00:00
Ross 9fc2ba3210 Enhance worker list display with site, grade, and FTE information; add non-working days summary rendering 2025-12-15 21:41:10 +00:00
Ross c5850eb1b2 Add functionality to delete all leave requests for a worker with permission checks 2025-12-15 21:25:21 +00:00
Ross 638fe17c60 . 2025-12-15 21:10:33 +00:00
Ross a783ce1f3e Refactor fte mapping in Worker model to convert fractional values to percentage for pydantic compatibility 2025-12-15 20:54:05 +00:00
Ross 00c737becf Add guard against division by zero in target_shifts calculation with warning logging 2025-12-15 20:51:19 +00:00
Ross b0af2daca4 Improve error handling in _run_rota_job to persist logs and results for better UI diagnostics 2025-12-15 20:45:06 +00:00
Ross 9b5f52035d Enhance JSON parsing and normalization in WorkerForm to handle various input types 2025-12-15 20:41:26 +00:00
Ross 0db4881d6f Enhance textarea synchronization and improve WorkerForm save logic 2025-12-14 22:28:17 +00:00
Ross 008c28f68e . 2025-12-14 22:18:56 +00:00
Ross 6d4e335a90 . 2025-12-14 22:16:35 +00:00
Ross e3cbde0986 . 2025-12-14 22:10:46 +00:00