Skip to content

Add generateSchedule: build solver input from the Manage Schedule pag… - #27

Merged
Davbp24 merged 1 commit into
mainfrom
shawn/generate-schedule
Nov 30, 2026
Merged

Davbp24 merged 1 commit into
mainfrom
shawn/generate-schedule

Conversation

@561shawn

Copy link
Copy Markdown
Collaborator

Adds window.api.generateSchedule({ date, shows, staff }) so the Manage Schedule page can send what the manager entered and get a schedule back in one call.
New src/main/schedule.js: default rules in one place, and buildSolverInput() that maps selected employees + shift times to solver servers and rejects incomplete requests with readable messages.
New schedules:generate IPC channel; the solver isn't started if the request is incomplete.
Tests, including an end-to-end run through the real solver.

@Davbp24 Davbp24 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Efficient

@Davbp24
Davbp24 merged commit 41418a3 into main Nov 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants