Skip to content

Loading states missing on asynchronous operations #68

@AdamJ

Description

@AdamJ

Save, delete, and export operations complete silently. The user receives no feedback that work is in progress, outside of a spinning icon in the navigation bar.

ToDo

  • Track loading state with useState<boolean>, set to true before the asynchronous call and false in finally. Pass disabled={isLoading} and render a spinner or "Saving..." label inside the button during loading. (potentially use Shadcn's <Button> as it accepts children)

Metadata

Metadata

Assignees

Projects

Status

To triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions