Commit Graph

243 Commits

Author SHA1 Message Date
Ross b98c28401f Enhance error handling in leave loading and update date parsing logic; add new site preference for Exeter shifts. 2026-01-05 20:01:41 +00:00
Ross 94b921192f Refactor gen.py and gen_proc.py to improve shift handling and add constraints; update leave.py to fetch new leave data source. 2026-01-05 17:46:33 +00:00
Ross 23529ba441 add ics export support 2025-12-29 22:22:29 +00:00
Ross fe1414a7bf Merge branch 'master' of git.xkjq.uk:ross/proc-rota 2025-12-19 22:06:00 +00:00
Ross 0f9cd52911 Enhance worker creation modal to include rota-specific choices and shift options, improving user experience and data handling. 2025-12-19 22:03:34 +00:00
Ross cf9e9ee854 Refactor rota detail view for improved layout and usability, including enhanced solver settings and RotaBuilder summary sections, and add import button for workers. 2025-12-19 21:52:31 +00:00
Ross 120dd16845 Enhance rota run detail view with real-time log and result updates, and add "View final output" button 2025-12-19 21:30:28 +00:00
Ross 62010dd09f Add run status polling endpoint and update rota run detail view for real-time status updates 2025-12-19 21:20:08 +00:00
Ross 0cbe968aa5 Refactor rota detail view to include worker and shift lists only once, and update button text for clarity 2025-12-19 21:18:28 +00:00
Ross 5cf2480602 Refactor Assignment model to enforce single rota assignment per worker and update related view logic to prevent multiple assignments 2025-12-19 21:10:43 +00:00
Ross 1bae1246f9 Update rota configuration for February 2026 and refine shift constraints handling 2025-12-18 22:06:31 +00:00
Ross f4ab0be347 Add worker import functionality with CSV upload and text input options 2025-12-17 18:04:53 +00:00
Ross dadf035627 Add solver settings display and configuration options to rota detail view 2025-12-17 17:58:32 +00:00
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 3ba4467812 . 2025-12-17 14:12:58 +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