Skip to content

Edit slots from the review page #504

Open

Description

@richshaw

Needs your OK: this adds slot editing to the review page (#502). Swap pipeline:proposed for pipeline:ready to have it built. Part of #498.

What

  • Tap a slot to edit it. The builder's existing SlotEditor opens under the slot and saves through the same PATCH /api/slots/[id]. There's one editor and one save path, not a second editor to maintain.
  • "People for each slot" sets every slot's capacity at once. It uses the existing slots/bulk route, which no UI calls today.
  • "Remove day" on each date group header.
  • Nothing else. No new layouts; anything bigger goes to the builder through "Edit everything in the builder".

Design: canvas https://claude.ai/artifact/RqcjzCcdSTw5JhbXjm2x5y, row C, artboard "C · After the two fixes, editing one slot". The canvas is private until shared.

Watch for

Done when

  • A slot's values and capacity can be changed from the review page and are saved through the existing route.
  • "People for each slot" and "Remove day" work on a draft and can be undone.
  • pnpm lint && pnpm typecheck && pnpm knip && pnpm test pass, and pnpm budgets passes.

Planned in https://claude.ai/code/session_01AkZbMUc4ej4ed7o5uh6nqr

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpipeline:uxChanges what a person using OpenSignup sees or does

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions