Skip to content

Schedule from composer and quicksprints (codex) - #2411

Merged
numnx merged 3 commits into
feature/CODUX-145-micro-improvementsfrom
task/feature-codux-145-micro-improvements-t03-codex-mr9rrtxq
Jul 6, 2026
Merged

Schedule from composer and quicksprints (codex)#2411
numnx merged 3 commits into
feature/CODUX-145-micro-improvementsfrom
task/feature-codux-145-micro-improvements-t03-codex-mr9rrtxq

Conversation

@numnx

@numnx numnx commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

🧩 Task: Schedule from composer and quicksprints

Automated task PR opened by Code UX for T03.

📋 Summary

Sprint: Sprint 145 · Micro Improvements · Task: T03

Deliver SPR-145 micro improvements: Jira import In Work transitions, relative sprint scheduling from scheduler/composer/quicksprints, onboarding menu ordering, task-card quick actions, and sticky settings context controls.

📝 Full Task Prompt
## Objective
Let operators schedule a sprint directly from the sprint composer and schedule quicksprints from the quicksprint configure view, using both absolute and after-sprint-end timing.

## Scope
- `dashboard/src/v2/pages/sprints/SprintsPage.tsx`
- `dashboard/src/v2/pages/sprints/use-sprints-page-actions.ts`
- `dashboard/src/v2/components/ui/SprintComposer.tsx`
- `dashboard/src/v2/lib/sprint-composer-state.ts`
- `dashboard/src/v2/components/quicksprint/QuicksprintPanel.tsx`
- `dashboard/src/v2/components/quicksprint/QuicksprintExecutionView.tsx`
- `dashboard/src/v2/lib/scheduler-api.ts`
- `tests/dashboard/v2/sprint-composer.test.tsx`
- `tests/dashboard/v2/components/sprints/SprintJiraImportModal.test.tsx` only if import interactions are affected; otherwise leave it untouched
- Add or update quicksprint component tests under `dashboard/src/v2/components/quicksprint/` or `tests/dashboard/v2/`
- `docs/dashboard/scheduler.md`
- `docs/dashboard/quicksprint-templates.md`
- `docs/dashboard/dashboard-guide.md`

## Implementation Requirements
1. Consume the scheduler anchor contract from T01 and the existing `createSchedulerEntry` helper to create scheduler entries from composer UI instead of duplicating API code.
2. Add a “Schedule” submit path to `SprintComposer` that saves the sprint as needed and creates a scheduler entry rather than immediately planning/starting; include absolute time and after-sprint-end options.
3. Ensure scheduled sprint composer payloads preserve name, key override, goal, original prompt, planning route/model overrides, agent preset selections, linked issues, and imported tasks exactly like draft/plan flows where applicable.
4. Add schedule controls to `QuicksprintExecutionView` for the selected template, task count, no-limit state, additional prompt, route override, model override, and submit mode; serialize those values into a quicksprint scheduler target.
5. Prevent duplicate submit while schedule creation is pending, show pending/success/error feedback through existing feedback patterns, and keep focus restoration consistent with existing composer/quicksprint controls.
6. Add tests that cover scheduling a sprint from the composer and scheduling a quicksprint, including at least one after-sprint-end payload.
7. Update docs for composer and quicksprint scheduling behavior.

## Constraints
- Depends on T01’s scheduler contract; do not create a separate “delayed start” mechanism outside the scheduler service.
- Do not start planning/execution when the user selects Schedule.
- Do not break existing `plan_and_start`, `plan_only`, `draft`, `replan`, or `append_tasks` composer modes.
- Do not alter quicksprint cancellation/background planning behavior except to block schedule duplicates while a schedule request is pending.

## Verification
- Run focused sprint composer and quicksprint tests changed by this task.
- Run `pnpm run test:dashboard` if focused commands are not sufficient.
- Run `pnpm run lint`.
- Success means schedule payloads are created from composer/quicksprint UI, after-sprint-end anchors are included when selected, and existing immediate planning flows still pass.

✅ QA Review

⏳ QA review runs after this PR is opened. Check the task card in the dashboard for the outcome once it lands.

🤖 Model & Provider

Provider Codex CLI
Model gpt-5.5

⏱️ Timing

Started 2026-07-06 22:06:14 UTC
Finished 2026-07-06 22:19:03 UTC
Duration 12m 49s

📊 Token Usage

Metric Value
Input tokens 197,363
Cached input tokens 8,985,728
Output tokens 22,435
Total tokens 9,205,526
Invocations 1
Tool calls 101
Active time 12m 3s

Included usage estimate (subscription/local login): $6.15

🌿 Branch Info

Base: feature/CODUX-145-micro-improvements
Head: task/feature-codux-145-micro-improvements-t03-codex-mr9rrtxq


🤖 Generated by Code UX

@numnx
numnx merged commit 360d719 into feature/CODUX-145-micro-improvements Jul 6, 2026
6 checks passed
@numnx
numnx deleted the task/feature-codux-145-micro-improvements-t03-codex-mr9rrtxq branch July 6, 2026 22:33
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.

1 participant