100 Commits
Author SHA1 Message Date
Ross f90e6895b4 Add functionality to export timetable.js and enhance worker list rendering with detailed information 2026-05-19 22:13:00 +01:00
Ross 827753644f Add debug logging to renderWorkerList for improved troubleshooting 2026-05-19 21:38:12 +01:00
Ross 935b4baaba Add ignore_dates field to worker constraints and implement related tests 2026-05-19 21:31:05 +01:00
Ross dee80ed4fa Add constraints for maximum days and unique shifts per week block in worker model 2026-05-19 21:23:09 +01:00
Ross a071b1b027 Update worker scheduling constraints in load_workers for improved shift management 2026-05-19 21:01:18 +01:00
Ross ee263aade1 Refactor worker scheduling constraints in load_workers and main functions for improved clarity and functionality 2026-05-19 20:45:23 +01:00
Ross 68b80ace23 Refactor date parsing and configuration constants in gen_cons.py for improved clarity and maintainability 2026-05-19 20:37:06 +01:00
ross ba268f9b48 Increase default time_to_run in main function from 4 to 8 hours for extended processing duration 2026-01-07 19:49:36 +00:00
ross e7f27a8ee6 Refactor process title handling in RotaBuilder for improved clarity and functionality 2026-01-06 22:15:12 +00:00
ross 1d7202bf04 Add shift filtering and rendering functionality in shifts settings 2026-01-06 17:02:26 +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 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 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
Ross 792349b2ea . 2025-12-14 22:08:30 +00:00
Ross 55df9da8cb . 2025-12-14 21:57:16 +00:00
Ross f0ebc0d01a . 2025-12-14 21:52:31 +00:00
Ross ff2b2ebb95 . 2025-12-14 21:37:08 +00:00
Ross 046f3a5a4a . 2025-12-14 21:27:51 +00:00
Ross de54e03fcf Refactor leave deletion form to prevent default HTMX swap behavior 2025-12-14 21:20:54 +00:00
Ross 90b957fb78 . 2025-12-14 21:17:42 +00:00
Ross d6ede37e0b . 2025-12-14 21:07:16 +00:00
Ross 26d3ff7a2d . 2025-12-14 21:00:30 +00:00
Ross 5165fe78bd . 2025-12-14 17:16:59 +00:00
Ross c43ff7fc73 . 2025-12-14 17:13:19 +00:00
Ross 2889825734 . 2025-12-14 17:08:23 +00:00
Ross 1dd7c8d19e . 2025-12-14 09:30:23 +00:00
Ross e4eaca378b . 2025-12-14 09:22:47 +00:00
Ross 249e09766d . 2025-12-13 22:41:32 +00:00
Ross d509922450 . 2025-12-13 22:18:42 +00:00
Ross a89aa0a35b . 2025-12-13 22:07:07 +00:00
Ross bd5ca8f64c . 2025-12-13 21:33:39 +00:00
Ross 18a45ff87e refactor: change days type to Optional[int] in PreShiftConstraint and PostShiftConstraint 2025-12-12 22:35:06 +00:00
Ross f6dd9285a5 . 2025-12-12 22:31:07 +00:00
Ross 00f09d5e5b . 2025-12-11 21:59:35 +00:00
Ross 1565241de6 . 2025-12-09 22:18:46 +00:00
Ross d8ef96c486 . 2025-12-09 22:16:34 +00:00
Ross 1ce1b75739 . 2025-12-09 21:50:04 +00:00
Ross 4011fa3627 . 2025-12-09 21:48:32 +00:00
Ross d28b441edd . 2025-12-09 21:35:38 +00:00
Ross 2de9986149 . 2025-12-09 21:20:39 +00:00
Ross c94c204d51 . 2025-12-09 21:12:05 +00:00
Ross 3906ab3c55 . 2025-12-09 20:59:40 +00:00
Ross ecd09f3701 add django templates 2025-12-09 20:58:00 +00:00
Ross 48c219281e enhance rota_options view to support typed form submissions and improve error handling 2025-12-09 20:43:46 +00:00
Ross 724e3ab6bd . 2025-12-09 18:07:54 +00:00
Ross 78b6ba2a3b fix small test error 2025-12-09 14:35:37 +00:00
Ross dfd37a7a62 update tests 2025-12-09 14:29:54 +00:00
Ross 069da08f5a start switching constraint options 2025-12-09 14:09:41 +00:00
Ross 05edb93427 start improving constraint options 2025-12-09 13:41:26 +00:00
Ross dadc940993 . 2025-12-09 13:23:17 +00:00
Ross ae52d80f98 . 2025-12-09 12:57:19 +00:00
Ross 3feb5fc7a3 . 2025-12-09 12:42:16 +00:00
Ross 40135a282d . 2025-12-09 12:36:18 +00:00
Ross e6943ccfc7 . 2025-12-09 12:16:59 +00:00
Ross c63d4d1585 . 2025-12-09 12:07:26 +00:00
Ross eb95f5fa6d . 2025-12-09 11:55:00 +00:00