Skip to content

serve: write-failure UX — toast + snap-back (STORE_DIRTY etc.) #23

Description

@andreiRS

Part of the serve-board spec (docs/specs/serve-board.md), architecture in docs/adr/0016-board-server-reuses-core-in-process.md.

Effort

S — cross-cutting error UX.

What to build

Consistent write-failure UX across all board mutations: when a write fails (e.g. STORE_DIRTY from a dirty Store, or any error envelope), revert the optimistic change and surface a toast carrying the error code. No persistent banner — per-action toast only (the board stays a live mirror).

Acceptance criteria

  • A forced write failure (e.g. dirtied Store git tree) reverts the optimistic change and shows a toast with the error code.
  • Move, create, and edit all share the same failure handling.
  • The board never displays a state that did not persist.

Blocked by

#19, #21, #22

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestserve-boardVisual web board (tasks serve) v1size/SEffort: minutes, contained

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions