Skip to content

Stale deleted category in open move-card menu throws unhandled error #88

Description

@jcserv

Problem

move-card-menu.tsx:160-168 — if a category is deleted (by this user in another tab, or a collaborator) while the move-card menu is open showing it, toggling that stale category throws unhandled inside startTransition, tripping the error boundary instead of failing gracefully.

Fix

Filter currentCategories against the live subcategories list before dispatch, or have the server action silently drop unknown category names instead of throwing.

Context

M8 from the #30 (multi-category cards) review (.github/pr/pr_review_30.md), left unchecked/unfixed by author decision — filed as backlog per that PR's "verified set only" scope call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions