Commit Graph

45 Commits

Author SHA1 Message Date
Ross 2949327d39 match cons export format 2026-06-03 20:29:33 +01:00
Ross ea68885ff3 start rota export in grid format 2026-06-03 20:15:34 +01:00
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 4bb4f5b97a Refactor total shifts calculation in generateExtra and worker row processing for improved clarity and error handling 2026-05-19 15:33:37 +01:00
Ross 64c4189d5f Add functionality to handle missing shifts in RotaBuilder and include worker grades in the timetable 2026-01-07 22:14:43 +00:00
Ross 628114ad91 Refactor timetable and shifts generation to ensure proper HTML structure with sticky headers 2026-01-07 20:26:18 +00:00
Ross f8c6e38841 Add sticky header styles and improve visibility for timetable display 2026-01-07 20:10:18 +00:00
ross 1d7202bf04 Add shift filtering and rendering functionality in shifts settings 2026-01-06 17:02:26 +00:00
Ross d66ddf29ad Add support for avoiding shifts on specific dates with reasons 2026-01-05 22:07:23 +00:00
Ross e6bdd4a09e Add support for avoiding shifts on specific dates for workers
- Introduced AvoidShiftOnDates model to define constraints for workers.
- Enhanced Worker class to register avoid-shift rules with the rota builder.
- Implemented logic in RotaBuilder to enforce these constraints during shift assignment.
- Added tests to verify functionality for avoiding shifts on single dates and date ranges.
2026-01-05 21:44:34 +00:00
Ross 23529ba441 add ics export support 2025-12-29 22:22:29 +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 bf3b685923 Add prior adjustments summary to worker display and enhance data attributes 2025-12-17 11:09:33 +00:00
Ross 83444ac402 Add weekend day balancing options and summary counts for shifts 2025-12-17 10:43:37 +00:00
Ross 3906ab3c55 . 2025-12-09 20:59:40 +00:00
Ross 116cc1af64 . 2025-12-08 22:45:10 +00:00
Ross 4a8c478a73 Add allow_self option to PostShiftConstraint and PreShiftConstraint for flexible shift assignment 2025-12-08 17:47:19 +00:00
Ross 7cd2cec65c Add toggle for showing shift names and button to remove shift colours in timetable 2025-08-12 11:53:11 +01:00
Ross d55b1d38ea Add worker checkboxes and help text to shift timetable for improved usability 2025-08-12 11:43:53 +01:00
Ross 0599586f47 Add worker filter input to shift timetable and update rendering logic 2025-08-12 11:20:51 +01:00
Ross f31a54d512 Refactor renderShiftTimetable to enhance list view with date, week, and day headers, and improve worker assignment display with color coding for selected shifts. 2025-08-12 11:19:21 +01:00
Ross 7b16f8d82a Add shift selection toggle and help text to timetable options 2025-08-12 10:28:08 +01:00
Ross 3b3d432694 Refactor RotaBuilder export functionality and enhance display of run times with improved layout 2025-08-11 16:31:27 +01:00
Ross 45837597d9 Add color coding for selected shifts in timetable and update button styles 2025-08-11 14:16:27 +01:00
Ross 48710f50e8 Enhance Rota Management System
- Updated .gitignore to exclude 'cons/' directory.
- Refactored gen_cons.py to extract leave and rota assignments from calendar data, and added functionality to handle shift assignments from rota data.
- Modified timetable.css to include styles for force-assigned shifts.
- Enhanced shifts.py to manage forced assignments and handle leave conflicts, including new methods for date-based assignments.
- Updated workers.py to introduce structured hard day dependencies and exclusions, allowing for more flexible scheduling.
- Adjusted test_workers.py to reflect changes in hard day dependency and exclusion methods, ensuring compatibility with new data structures.
2025-08-09 22:11:39 +01:00
Ross d7e5f9e5f1 numerous improvemts 2025-06-08 14:00:15 +01:00
Ross ad75b6b8b5 fix multishifts 2025-06-07 13:02:45 +01:00
Ross a647416720 major test refactoring 2025-06-05 23:40:28 +01:00
Ross 242a664f49 ... 2025-01-25 08:49:14 +00:00
Ross 8459a4b3a9 start adding locum availability 2025-01-20 10:56:47 +00:00
Ross f0b9ee0ebc start working on shift paring balancing 2024-12-26 16:39:04 +00:00
Ross a7e1fa7171 numberous fixes 2024-01-07 17:52:36 +00:00
Ross 0179ed410a . 2023-01-23 14:37:09 +00:00
Ross 5b31a01546 . 2022-07-16 19:50:18 +01:00
Ross fecddb2db1 . 2022-07-14 14:51:11 +01:00
Ross dc975b991c many improvements 2022-07-11 19:46:40 +01:00
Ross c9ba2a098c start pydanitification 2022-05-26 15:38:35 +01:00
Ross f887257a55 refactor and add some more tests 2022-05-16 19:35:38 +01:00
Ross ff03358119 update timetable dispaly of remote sites 2022-02-25 17:59:48 +00:00
Ross 9e873ac5f7 rename home to remote 2022-02-24 21:50:37 +00:00
Ross 0c795e518b many improvements + restructure 2022-02-21 13:53:13 +00:00