Skip to content

SPA: Add Skippable Option and Quality Sleep Preference#19

Draft
google-labs-jules[bot] wants to merge 3 commits intomainfrom
spa-skippable-quality-sleep-6605147056343595668
Draft

SPA: Add Skippable Option and Quality Sleep Preference#19
google-labs-jules[bot] wants to merge 3 commits intomainfrom
spa-skippable-quality-sleep-6605147056343595668

Conversation

@google-labs-jules
Copy link
Contributor

Implemented user request to add "skippable" option for course groups and "Quality Sleep" preference. Skippable courses are now ignored during penalty calculations for Early Morning, Weekend, and the new Quality Sleep (periods 9-13) constraints. They are also highlighted in green in the schedule. Additionally, a new statistic "Actual Weekly Hours" is displayed to reflect the workload excluding skippable courses. Verified via automated tests and Playwright visual verification.


PR created automatically by Jules for task 6605147056343595668 started by @OsakaLOOP

- Added 'is_skippable' checkbox to course groups in SPA planning view.
- Added 'Quality Sleep' (Avoid 9-13) preference to SPA planning view.
- Updated solver logic to ignore skippable courses for soft constraints (Early Morning, Quality Sleep, Weekend, Day Max, Compactness).
- Added 'Actual Weekly Hours' statistic to results view (green text).
- Render skippable courses with green background in schedule.
- Updated persistence logic to migrate old sessions with default values.
- Verified logic with standalone node tests and UI with Playwright.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Added 'is_skippable' checkbox to course groups in SPA planning view.
- Added 'Quality Sleep' (Avoid 9-13) preference to SPA planning view.
- Updated solver logic to ignore skippable courses for soft constraints (Early Morning, Quality Sleep, Weekend, Day Max, Compactness).
- Added 'Actual Weekly Hours' statistic to results view (green text).
- Render skippable courses with green background in schedule.
- Updated persistence logic to migrate old sessions with default values.
- Verified logic with standalone node tests and UI with Playwright.
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.

0 participants