Skip to content

/apps: per-card access-check loading and error states #170

Description

@Psalmuel01

Summary

The /apps cards check on-chain access via is_verified/check_claim. Add per-card loading spinners while checks run and a clear error state if the RPC read fails, so cards don't flash between denied/granted or appear stuck.

What to build

  • Per-card state: loading | granted | denied | error
  • Spinner while checking; retry affordance on error
  • Debounce re-checks on wallet/network change

Acceptance criteria

  • Each card shows loading → granted/denied/error
  • RPC failure shows an error state with retry, not a false "denied"
  • No flicker on wallet/network change
  • pnpm tsc --noEmit and pnpm build pass---

✅ Merge requirements (read before starting)

Before this PR can be merged, all of the following must hold:

  • All CI checks pass (contracts, frontend, circuits as applicable)
  • Every Greptile review comment is addressed — no unresolved review threads
  • Greptile confidence score is 4/5 or higher

Greptile performs the detailed code review on each PR. Please resolve its feedback fully before requesting a human merge — PRs below 4/5 or with open Greptile threads will not be merged.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programeasyGood for newcomers, low complexityenhancementNew feature or requestfrontendNext.js UI workhelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions