feat: FAQ portal, earnings analytics, sponsor checkout & admin moderation#3
Closed
AugistineCreates wants to merge 5 commits into
Closed
feat: FAQ portal, earnings analytics, sponsor checkout & admin moderation#3AugistineCreates wants to merge 5 commits into
AugistineCreates wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes bakeronchain#144
closes bakeronchain#148
closes bakeronchain#146
closes bakeronchain#147
This PR delivers four major interactive frontend features requested across separate issues. Each feature has been implemented cleanly, following the project's premium design guidelines (glass-morphism, dark-mode styling, responsive layouts, and rich animations) with unit tests for each component.
1️⃣ Advanced FAQ & Help Center Portal (
/faq)An interactive FAQ page built to handle high user engagement.
Files Created/Modified:
src/components/FAQSection.tsx(Core accordion & search component)src/components/FAQSection.test.tsx(Unit tests)src/pages/FAQPage.tsx(FAQ route page with SEO tags)2️⃣ Interactive Earnings & Payout Analytics (
/donorpage)A premium data visualization dashboard designed to give creators and donors direct insight into their financial activity.
Files Created/Modified:
src/hooks/useEarningsAnalytics.ts(Mock data generation & date aggregation hook)src/components/donor/EarningsAnalytics.tsx(Recharts integration component)src/components/donor/EarningsAnalytics.test.tsx(Unit tests)src/pages/Donor.tsx(Integrated analytics onto the live donor dashboard)3️⃣ "Sponsor a Student" Scholarship Checkout (
/sponsor/checkout)A robust checkout page built to facilitate bulk licensing of courses for students.
Files Created/Modified:
src/components/sponsor/SponsorCheckout.tsx(Checkout and address validator UI)src/components/sponsor/SponsorCheckout.test.tsx(Unit tests)src/pages/SponsorCheckoutPage.tsx(Sponsor checkout route page)4️⃣ Admin Content Moderation Dashboard (
/admin/moderation)A secure control panel enabling authorized administrators to moderate user uploads.
/api/moderation/:id/:action.getAuthToken()middleware.Files Created/Modified:
src/components/admin/ModerationSection.tsx(Moderation table & actions UI)src/pages/AdminModeration.tsx(Authenticated wrapper page)src/App.tsx(Registered routes and implemented lazy loading for all new pages)🛠️ Routes Added
/faq/sponsor/checkout/admin/moderation🧪 Testing Summary
npm run testto verify all test suites pass.