Skip to content

deleteProject has no error handling in projectStore #204

@fatihkan

Description

@fatihkan

Bug Description

In projectStore.ts:68, deleteProject performs optimistic UI removal but has no error handling. If the backend call fails, the project disappears from the UI permanently with no way to recover.

Location

creedflow-desktop/src/store/projectStore.ts:68

Severity

Important — Silent data loss on delete failure.

Steps to Fix

  1. Wrap in try/catch
  2. On error, re-add the project to the list
  3. Show error toast to user

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendReact/TypeScript frontendv1.7.0Target: v1.7.0 release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions