ResourcesFree coursesScenario: Fernhill Bikes, ticket FB-31

Completed answer

The completed answer as Markdown. Sample data: Fernhill Bikes is a fictional shop and FB-31 is not a real ticket.

answer.md
# Completed answer

One good answer for the [Fernhill Bikes scenario](README.md). Your wording can differ. What matters is that every
line of [self-check.md](self-check.md) holds.

---

# Handoff: FB-31 Stop Sunday bookings

- **From:** Codex (codex.review)
- **To:** Mara Okafor (owner, Fernhill Bikes)
- **Date:** 2026-11-20 14:30

## Task and objective

Customers can book a repair on a Sunday, when the shop is closed. The change stops Sundays being picked in the booking
date picker.

Acceptance criteria:
1. In the booking date picker, Sundays cannot be picked by mouse or by keyboard.
2. Monday to Saturday can still be picked, as before.
3. On the counter tablet (an iPad with Safari), Sundays cannot be picked by touch, and other days still can.

Not in scope: bank holidays. That could be a new ticket later.

## Current status

Review done. Criteria 1 and 2 are met. Criterion 3 is not checked yet, because the tablet check was not run. Not merged.

## Changed files or commit

- Commit 8d41e07 on branch fix/fb-31-no-sunday-bookings
- src/booking/dates.js
- src/booking/dates.test.js

## Tests run and results

- Passed: unit tests (npm test), 9 of 9, including 2 new tests for Sundays
- Passed: criterion 1 by mouse, Chrome on desktop. Sundays are greyed out and clicking one does nothing.
- Passed: criterion 1 by keyboard. The arrow keys skip from Saturday to Monday. A typed Sunday date shows "We're
  closed on Sundays. Pick another day."
- Passed: criterion 2. A Tuesday and a Saturday can still be picked.
- Not run: criterion 3, the counter tablet. Codex has no access to the tablet and no iPad simulator.

## Pending checks

- Criterion 3 on the counter tablet: open the booking page in Safari, tap a Sunday and check it cannot be picked, then
  tap a weekday and check it still can.

## Blockers

None

## Next owner

Mara Okafor

## Next action

Run the tablet check for criterion 3. If it passes, decide whether to merge. If it fails, send FB-31 back to Claude
Code (claudecode.build) with what you saw.

## Approval needed

Yes. Mara Okafor decides whether to merge. Codex recommends merging once the tablet check passes. That is a
recommendation, not an approval.