-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/72 admin dashboard #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
miggyalino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pre-approved. resolve comments b4 merging. thanks
| // Temporary mock toggle | ||
| const USE_MOCK = true; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove mocks pls. thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, thanks po
Issue ticket number and link
Resolves ADTO-72 – Admin Dashboard Overview
Summary
Implemented Admin Dashboard Overview section with temporary mock data.
StatCardcomponent:Total OrganizationsUpcoming EventsdashboardServices.tsBackend Requirement
Endpoint needed:
Response:
{ "totalOrganizations": number, "upcomingEvents": number }Files Added
dashboardServices.ts– dashboard overview service (mock, API-ready)dashboardQueries.ts– overview data query (1 min stale time)overview-section.tsx– overview layoutstat-card.tsx– reusable stat card component/dashboard/page.tsx– integration into dashboard pageTesting Done
Screenshots
1366 x 768Figma Reference