[Time Between Classes] Bind the minimum-gap input
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 86/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- next.js, react, typescript
- Domain
- frontend
Research direction
Read src/components/plans/CreatePlanDialog.tsx, especially the Filters fieldset, credit-hour inputs, and the getRecommendedSchedules({...}) call. Keep the new optional values in dialog state and pass them as minGapMinutes and maxGapMinutes; show an inline message and prevent generation when the minimum exceeds the maximum. Check the acceptance cases and run pnpm lint, pnpm typecheck, and pnpm test.
Written by the indexing model from the issue text.
Description
What to build
Add the minimum “time between classes” field to the create-plan form. Send the entered number of minutes to schedule generation, and leave the setting unset when the field is empty.
Files
Steps
- Add a string state for the optional minutes field and a labelled number input in the Filters fieldset.
- Follow the existing credit-hour markup; empty text maps to omission, not 0. On submit add the parsed number to getRecommendedSchedules input.
- Keep state local to the dialog; do not persist preferences in this slice.
Example
Shortest input 15/90 → matching numeric action key; empty → no key.
Check it works
In src/components/plans/CreatePlanDialog.test.tsx, check the example above and the failure or limit described in the steps. Run pnpm test -- src/components/plans/CreatePlanDialog.test.tsx, pnpm lint and pnpm typecheck.
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DevDogsUGA/DogDays
-
map
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DevDogsUGA/DogDays#868 ·
-
map
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DevDogsUGA/DogDays#865 ·
-
sharing
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DevDogsUGA/DogDays#854 ·
-
import-export
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DevDogsUGA/DogDays#850 ·
-
import-export
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DevDogsUGA/DogDays#842 ·
All issues in DevDogsUGA/DogDays
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AvaProtocol/ava-sdk-js#276 ·
Maintainers usually reply within 1 day
-
useFragment does not require `variables` when the fragment's variables type has required fieldsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apollographql/apollo-client#13493 ·
Maintainers usually reply within 1 day
-
Custom hosts written as trailing-dot FQDNs (`host.local.`) aren't detected as local backendsPossibly taken @roboomp claimed this today. Openbug prio:p2 providers triaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
can1357/oh-my-pi#15798 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
code-yeongyu/oh-my-openagent#10172 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
PDFCraftTool/pdfcraft#189 ·