Skip to content

(CODUX-113) Add coffee easter egg - #2629

Merged
numnx merged 1 commit into
feature/CODUX-179-quicksprint-etafrom
task/feature-codux-179-quicksprint-eta-t03-codex-mranduom
Jul 7, 2026
Merged

(CODUX-113) Add coffee easter egg#2629
numnx merged 1 commit into
feature/CODUX-179-quicksprint-etafrom
task/feature-codux-179-quicksprint-eta-t03-codex-mranduom

Conversation

@numnx

@numnx numnx commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

🧩 Task: Add coffee easter egg

Automated task PR opened by Code UX for T03.

📋 Summary

Sprint: Sprint 179 · Quicksprint ETA · Task: T03

Upgrade the shared sprint and quicksprint ETA planning overlay into a polished seamless boat animation with an accessible coffee-cup easter egg, backed by focused dashboard tests and documentation.

🤖 Model & Provider

Provider Codex CLI
Model gpt-5.5

⏱️ Timing

Started 2026-07-07 12:51:11 UTC
Finished 2026-07-07 12:58:57 UTC
Duration 7m 47s

📊 Token Usage

Metric Value
Input tokens 189,391
Cached input tokens 2,157,696
Output tokens 16,204
Total tokens 2,363,291
Invocations 1
Tool calls 57
Active time 7m 6s

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

✅ QA Review

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

📝 Full Task Prompt
## Objective
Add an accessible easter egg to the shared ETA overlay: clicking or keyboard-activating the moving boat changes it into a beautifully designed steaming coffee cup with a friendly reminder to get coffee.

## Scope
- Edit `dashboard/src/v2/components/ui/PlanningProgressOverlay.tsx`
- Edit `dashboard/src/v2/components/ui/PlanningShip.tsx` or add a small local SVG component in the same ownership area if cleaner
- Edit `tests/dashboard/v2/ui-components.test.tsx`
- Edit `tests/dashboard/v2/sprint-composer.test.tsx` if an end-to-end composer interaction assertion is needed

## Implementation Requirements
1. Make only the vessel visual interactive, using a real `button` or equivalent keyboard-accessible control with an explicit `aria-label`; support pointer click plus Enter/Space activation.
2. On activation, swap the vessel to a polished steaming coffee cup visual and surface friendly reminder copy such as a short coffee-break prompt without removing ETA, Elapsed, minimize, secondary action, or cancel controls.
3. Prevent vessel activation from bubbling into overlay background dismissal and keep Minimize, New Sprint/New Quicksprint, and Cancel Active Request behavior unchanged.
4. Reset the easter egg state when a new busy planning/quicksprint request starts or when the action type changes, so the coffee state does not leak between separate requests.
5. Respect reduced-motion preferences by rendering static steam or non-animated steam when reduced motion is active.

## Constraints
- Do not change backend ETA calculation or request lifecycle behavior.
- Do not introduce external image or icon dependencies.
- Keep the visual consistent with existing signal/ember accents and light/dark modes.
- Do not make the whole overlay clickable for the easter egg; the background click must still dismiss only when the background itself is clicked.

## Verification
- Run `pnpm exec vitest run tests/dashboard/v2/ui-components.test.tsx tests/dashboard/v2/sprint-composer.test.tsx`.
- Run `pnpm run typecheck:dashboard`.
- Success means tests can activate the vessel, see the coffee reminder/cup state, and verify cancel/dismiss controls still work.
🌿 Branch Info

Base: feature/CODUX-179-quicksprint-eta
Head: task/feature-codux-179-quicksprint-eta-t03-codex-mranduom


🤖 Generated by Code UX

@numnx
numnx merged commit 5dd1303 into feature/CODUX-179-quicksprint-eta Jul 7, 2026
6 checks passed
@numnx
numnx deleted the task/feature-codux-179-quicksprint-eta-t03-codex-mranduom branch July 7, 2026 13:01
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