Skip to content

feat: add reserve-bay route with allocation summary#239

Open
iamasx wants to merge 1 commit into
mainfrom
feat/issue-208
Open

feat: add reserve-bay route with allocation summary#239
iamasx wants to merge 1 commit into
mainfrom
feat/issue-208

Conversation

@iamasx

@iamasx iamasx commented Apr 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a new reserve-bay route under the app router with reservation cards, availability snapshots by zone, and a compact allocation summary panel.
  • Creates mock data for reservations (5 entries), availability zones (4 zones), and allocation categories (4 categories) with typed interfaces.
  • Builds three components: ReservationCard, AvailabilitySnapshotCard, and AllocationSummary following existing codebase patterns (CSS modules + Tailwind, role/aria attributes, tone-mapped styling).
  • Adds the route to the global navigation in layout.tsx.
  • Includes test coverage for main route headings, availability zone rendering, reservation/allocation counts, and responsive layout grid classes.

Closes #208

Test plan

  • Production build passes (npm run build)
  • ESLint passes (npm run lint)
  • Route renders reservation cards with status badges (confirmed/pending/expired)
  • Availability snapshot cards show zone occupancy with progress bars
  • Allocation summary panel displays utilization per category
  • Layout is usable on narrow and wide viewports
  • CI checks pass

🤖 Generated with Claude Code

…shots, and allocation summary

Closes #208

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

[Test] Add Reserve Bay route with allocation summary

1 participant