nxtgauge-frontend-solid/src/components/dashboard
Ashwin Kumar 4795ef2910 feat: wire Credits page to pricing management and payment APIs
Updated CreditsPage with full pricing and transaction support:
- Load pricing packages from /api/packages (role-specific)
- Create payment orders via /api/payments/create-order
- Display transaction history from wallet ledger + payments
- New tabbed interface: Overview, Buy Credits, Transactions
- Shows package details: name, price, tracecoins amount
- Format currency in INR with proper locale

Data sources:
- Packages: GET /api/packages?role={role_key}
- Wallet: GET /api/{prefix}/wallet/me
- Ledger: GET /api/{prefix}/wallet/me/ledger
- Payments: POST /api/payments/create-order
2026-04-10 01:38:44 +02:00
..
CompanyApplicationsPage.tsx docs: add API endpoint documentation for all role dashboard pages 2026-04-10 01:25:49 +02:00
CompanyJobsPage.tsx docs: add API endpoint documentation for all role dashboard pages 2026-04-10 01:25:49 +02:00
CompanyShortlistedCandidatesPage.tsx feat: align external dashboards, profile settings split, and role flows 2026-04-08 22:40:43 +02:00
CreditsPage.tsx feat: wire Credits page to pricing management and payment APIs 2026-04-10 01:38:44 +02:00
CustomerRequirementsPage.tsx docs: add API endpoint documentation for all role dashboard pages 2026-04-10 01:25:49 +02:00
CustomerResponsesPage.tsx feat: align external dashboards, profile settings split, and role flows 2026-04-08 22:40:43 +02:00
ExploreServicesPage.tsx docs: clarify real data implementations are wired to backend APIs 2026-04-10 01:21:36 +02:00
HelpCenterDashboardPage.tsx feat: improve Help Center UI with mixed dark/light theme and structured content 2026-04-09 21:52:16 +02:00
JobSeekerApplicationsPage.tsx feat: align external dashboards, profile settings split, and role flows 2026-04-08 22:40:43 +02:00
JobSeekerJobsPage.tsx docs: add API endpoint documentation for all role dashboard pages 2026-04-10 01:25:49 +02:00
JobSeekerSavedJobsPage.tsx docs: clarify real data implementations are wired to backend APIs 2026-04-10 01:21:36 +02:00
LogoutPage.tsx feat: align external dashboards, profile settings split, and role flows 2026-04-08 22:40:43 +02:00
MyDashboardPage.tsx docs: clarify real data implementations are wired to backend APIs 2026-04-10 01:21:36 +02:00
PortfolioPage.tsx docs: clarify real data implementations are wired to backend APIs 2026-04-10 01:21:36 +02:00
ProfessionalLeadsPage.tsx docs: add API endpoint documentation for all role dashboard pages 2026-04-10 01:25:49 +02:00
ProfessionalResponsesPage.tsx feat: align external dashboards, profile settings split, and role flows 2026-04-08 22:40:43 +02:00
ProfilePage.tsx feat: align external dashboards, profile settings split, and role flows 2026-04-08 22:40:43 +02:00
RoleDashboardShared.ts feat: align external dashboards, profile settings split, and role flows 2026-04-08 22:40:43 +02:00
SettingsPage.tsx feat: align external dashboards, profile settings split, and role flows 2026-04-08 22:40:43 +02:00
SwitchServicesPage.tsx feat: align external dashboards, profile settings split, and role flows 2026-04-08 22:40:43 +02:00
VerificationStatusPage.tsx feat(dashboard): real My Profile, My Portfolio, Verification pages 2026-04-06 17:20:48 +02:00