Skip to content

feat: add RecentCampaigns dashboard component#89

Merged
ayshadogo merged 1 commit into
Dfunder:mainfrom
AbdulmujibOladayo:feat/73-recent-campaigns-component
Jun 21, 2026
Merged

feat: add RecentCampaigns dashboard component#89
ayshadogo merged 1 commit into
Dfunder:mainfrom
AbdulmujibOladayo:feat/73-recent-campaigns-component

Conversation

@AbdulmujibOladayo

Copy link
Copy Markdown
Contributor

Adds the RecentCampaigns dashboard widget requested in issue #73.

  • Creates src/components/dashboard/RecentCampaigns.jsx
  • Dispatches fetchRecentCampaigns (already wired in dashboardThunks + dashboardSlice) on mount
  • Renders up to 4 campaigns as interactive cards in a 2-column grid
  • Each card shows: title, colour-coded status badge, raised/goal amounts, progress bar, and creation date
  • Cards link to /campaigns/:id
  • Header contains a Create New Campaign button linking to /campaigns/create and a View All link
  • Empty state includes a CTA to create the first campaign
  • Skeleton cards shown during loading (matches existing dashboard skeleton style)

closes #73

@ayshadogo ayshadogo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ayshadogo ayshadogo merged commit 6964a0b into Dfunder:main Jun 21, 2026
2 checks passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Jun 21, 2026
5 tasks
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.

Recent Campaigns Component

2 participants