Skip to content

feat(home): adaptive dashboard landing for connected users (#837) - #1029

Merged
Baskarayelu merged 2 commits into
CredenceOrg:mainfrom
Zizee1994:feat/837-dashboard-landing-page
Jul 30, 2026
Merged

feat(home): adaptive dashboard landing for connected users (#837)#1029
Baskarayelu merged 2 commits into
CredenceOrg:mainfrom
Zizee1994:feat/837-dashboard-landing-page

Conversation

@Zizee1994

Copy link
Copy Markdown
Contributor

Disconnected visitors still see the original marketing hero. Connected users now see a summary dashboard inline at / instead of being sent to /dashboard manually.

Changes:

  • src/pages/Home.tsx: split into Hero (disconnected), DashboardPreview (connected), and an adaptive Home export that branches on useWallet(). DashboardPreview shows three stat cards (trust tier + score, total bonded USDC, active bond count with per-bond unlock dates), a quick- actions row (Create bond / Open dashboard / View trust score), and an ActivityTimeline compact preview with a link to /attestations. LoadingSkeleton variant=dashboard is shown while isConnecting is true. Mock data mirrors the pattern already used in Dashboard.tsx and is clearly annotated for replacement when the API is wired up.

  • src/pages/Home.css: new dashboard-preview rules appended after the existing hero styles (home--dashboard, home--loading, home__dashHeader, home__walletChip, home__sectionTitle, home__statGrid, home__statCard, home__bondList, home__bondRow, home__activityFooter). Responsive breakpoint collapses stat grid to single column below 768px.

  • src/App.tsx: added missing TrustSummary lazy import that was already referenced in the route tree but never declared.
    closes UI/UX: Design a Dashboard landing page summarizing trust, bonds, and recent activity #837

…rg#837)

Disconnected visitors still see the original marketing hero.
Connected users now see a summary dashboard inline at / instead of
being sent to /dashboard manually.

Changes:
- src/pages/Home.tsx: split into Hero (disconnected), DashboardPreview
  (connected), and an adaptive Home export that branches on useWallet().
  DashboardPreview shows three stat cards (trust tier + score, total
  bonded USDC, active bond count with per-bond unlock dates), a quick-
  actions row (Create bond / Open dashboard / View trust score), and an
  ActivityTimeline compact preview with a link to /attestations.
  LoadingSkeleton variant=dashboard is shown while isConnecting is true.
  Mock data mirrors the pattern already used in Dashboard.tsx and is
  clearly annotated for replacement when the API is wired up.

- src/pages/Home.css: new dashboard-preview rules appended after the
  existing hero styles (home--dashboard, home--loading, home__dashHeader,
  home__walletChip, home__sectionTitle, home__statGrid, home__statCard,
  home__bondList, home__bondRow, home__activityFooter). Responsive
  breakpoint collapses stat grid to single column below 768px.

- src/App.tsx: added missing TrustSummary lazy import that was already
  referenced in the route tree but never declared.
@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@Zizee1994 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Baskarayelu
Baskarayelu merged commit 873206e into CredenceOrg:main Jul 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI/UX: Design a Dashboard landing page summarizing trust, bonds, and recent activity

2 participants