Skip to content

My Credit Vault dashboard (replace the Coming Soon card) #41

Description

@DanielCotoJ

Effort: M — Estimate: 8-12 h — Dependencies: #35, #36Unlocks: holder value

Context

On the home page, the "My Credit Vault" card is a disabled Coming Soon placeholder (apps/credit-history/src/app/page.tsx). Meanwhile a real profile summary already exists on the credentials view via ProfileSummaryCard + apps/credit-history/src/lib/profile-summary.ts. The holder deserves a proper authenticated dashboard.

Goal

An authenticated holder dashboard showing profile summary (score, active credentials, repaid loans, risk category, history-since), gated by wallet session, using real data (#36).

Step by step

  1. Turn the Coming Soon card into an enabled entry point (e.g. route /vault or elevate /credentials) that requires a connected session (useSession); show a connect prompt when disconnected (pattern already exists in apps/credit-history/src/components/credentials/credentials-view.tsx).
  2. Compose the dashboard from existing UI primitives (ProfileSummaryCard, StatusBadge, StatePanel) — add new shared primitives to @acta-products/ui if needed, not locally.
  3. Feed it from getProfileSummary() / listCredentials() (real source under Wire the real ActaCredentialSource to the ACTA SDK #36, mock otherwise).
  4. Mobile-first, all strings via next-intl (Consolidate i18n on next-intl (remove the homegrown system) #37), DID in did:stellar (Migrate DID method did:pkh:stellar → did:stellar #34).

Out of scope

  • Issuing/requesting new credentials; sharing (that's /share).

Acceptance criteria

  • Home vault card is enabled and leads to a working dashboard.
  • Dashboard is session-gated with a connect prompt when disconnected.
  • Summary stats come from the data source (no hardcoded numbers); zero hardcoded strings.
  • Mobile + desktop screenshots in PR; pnpm lint && pnpm typecheck && pnpm build pass.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions