feat: close #677 #753 #761 #762 with leaderboard E2E, sponsor portal, impact dashboard, and lesson content versioning#878
Merged
Anuoluwapo25 merged 6 commits intoApr 28, 2026
Conversation
|
@iammrjude 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! 🚀 |
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.
Summary
This PR delivers the four feature issues and includes related cleanup/fixes across frontend, backend, routes, and tests.
Closes #677
Closes #753
Closes #761
Closes #762
Context / Important Notes
target_local/cleanup was completed inmain(commit6682489), and this branch is based on that cleanup.<<<<<<<,=======,>>>>>>>) were resolved/removed in affected files.coverage/artifacts andyarn.lockfrom local workspace updates.Issue-by-Issue Implementation
#677 feat: E2E test — leaderboard display and ranking
Implemented an end-to-end Playwright test that validates:
Key files:
e2e/leaderboard.spec.ts(created)src/pages/Leaderboard.tsx(updated)src/hooks/useLeaderboard.ts(updated)src/components/AddressDisplay.tsx(updated)server/src/controllers/scholars.controller.ts(updated)server/src/routes/scholars.routes.ts(updated)#753 feat: add corporate/organization sponsor portal
Implemented:
Key files:
server/src/db/migrations/015_sponsor_portal.sql(created)server/src/db/migrations/015_sponsor_portal.undo.sql(created)server/src/controllers/sponsors.controller.ts(created)server/src/routes/sponsors.routes.ts(created)src/hooks/useSponsors.ts(created)src/components/SponsorLogosForTrack.tsx(created)src/pages/SponsorPortal.tsx(created)src/pages/Courses.tsx(updated)src/pages/LessonView.tsx(updated)src/components/NavBar.tsx(updated)src/App.tsx(updated)server/src/index.ts(updated)#761 feat: add scholarship impact metrics public dashboard
Implemented:
Key files:
server/src/controllers/impact.controller.ts(created)server/src/routes/impact.routes.ts(created)src/hooks/useImpactMetrics.ts(created)src/pages/ImpactDashboard.tsx(created)src/pages/ImpactWidget.tsx(created)src/components/NavBar.tsx(updated)src/App.tsx(updated)server/src/index.ts(updated)#762 feat: add course content versioning
Implemented:
Key files:
server/src/db/migrations/016_lesson_content_versioning.sql(created)server/src/db/migrations/016_lesson_content_versioning.undo.sql(created)server/src/controllers/enrollments.controller.ts(updated)server/src/controllers/courses.controller.ts(updated)server/src/routes/courses.routes.ts(updated)src/pages/LessonVersionDiff.tsx(created)src/hooks/useCourses.ts(updated)src/types/courses.ts(updated)src/pages/LessonView.tsx(updated)src/App.tsx(updated)Additional Fixes Included
server/src/index.tsserver/src/middleware/course-admin.middleware.tsserver/src/routes/scholars.routes.tssrc/hooks/useDonor.tssrc/types/contracts.tssrc/components/AddressDisplay.tsxsrc/pages/Courses.tsxFull File Inventory (relative paths)
Added
coverage/lcov-report/auth.ts.htmlcoverage/lcov-report/base.csscoverage/lcov-report/block-navigation.jscoverage/lcov-report/contract.ts.htmlcoverage/lcov-report/error.ts.htmlcoverage/lcov-report/favicon.pngcoverage/lcov-report/formatDate.ts.htmlcoverage/lcov-report/friendbot.ts.htmlcoverage/lcov-report/index.htmlcoverage/lcov-report/learningTime.ts.htmlcoverage/lcov-report/mockLeaderboardData.ts.htmlcoverage/lcov-report/prettify.csscoverage/lcov-report/prettify.jscoverage/lcov-report/profileData.ts.htmlcoverage/lcov-report/proposalDraft.ts.htmlcoverage/lcov-report/reputationRank.ts.htmlcoverage/lcov-report/safeMarkdown.ts.htmlcoverage/lcov-report/scholarshipApplications.ts.htmlcoverage/lcov-report/scholarshipTreasury.ts.htmlcoverage/lcov-report/sorobanAdmin.ts.htmlcoverage/lcov-report/sort-arrow-sprite.pngcoverage/lcov-report/sorter.jscoverage/lcov-report/storage.ts.htmlcoverage/lcov-report/theme.ts.htmlcoverage/lcov-report/tokenFormat.ts.htmlcoverage/lcov-report/usdc.ts.htmlcoverage/lcov-report/wallet.ts.htmlcoverage/lcov.infoe2e/leaderboard.spec.tsserver/src/controllers/impact.controller.tsserver/src/controllers/sponsors.controller.tsserver/src/db/migrations/015_sponsor_portal.sqlserver/src/db/migrations/015_sponsor_portal.undo.sqlserver/src/db/migrations/016_lesson_content_versioning.sqlserver/src/db/migrations/016_lesson_content_versioning.undo.sqlserver/src/routes/impact.routes.tsserver/src/routes/sponsors.routes.tssrc/components/SponsorLogosForTrack.tsxsrc/hooks/useImpactMetrics.tssrc/hooks/useSponsors.tssrc/pages/ImpactDashboard.tsxsrc/pages/ImpactWidget.tsxsrc/pages/LessonVersionDiff.tsxsrc/pages/SponsorPortal.tsxyarn.lockModified
.github/workflows/frontend-ci.yml.github/workflows/server-ci.ymlcontracts/course_milestone/src/lib.rscontracts/course_milestone/src/test.rscontracts/fungible-allowlist/src/lib.rscontracts/governance_token/src/lib.rscontracts/learn_token/src/lib.rscontracts/learn_token/src/test.rscontracts/milestone_escrow/src/lib.rscontracts/milestone_escrow/src/test.rscontracts/scholar_nft/src/lib.rscontracts/scholar_nft/src/test.rscontracts/scholarship_treasury/src/lib.rscontracts/upgrade_timelock_vault/src/lib.rsdocs/contracts.mddocs/token-economics.mdeslint.config.jspackage-lock.jsonserver/package.jsonserver/scripts/migrate.tsserver/src/controllers/courses.controller.tsserver/src/controllers/enrollments.controller.tsserver/src/controllers/governance.controller.tsserver/src/controllers/milestone-submit.controller.tsserver/src/controllers/scholars.controller.tsserver/src/index.tsserver/src/lib/zod-schemas.tsserver/src/middleware/admin.middleware.tsserver/src/middleware/course-admin.middleware.tsserver/src/middleware/rate-limit.middleware.tsserver/src/openapi.tsserver/src/routes/comments.routes.tsserver/src/routes/courses.routes.tsserver/src/routes/governance.routes.tsserver/src/routes/scholars.routes.tsserver/src/routes/upload.routes.tsserver/src/services/stellar-contract.service.tsserver/src/templates/email-templates.tsserver/src/tests/comments.test.tsserver/src/tests/governance.test.tsserver/src/tests/upload.test.tssrc/App.tsxsrc/components/AddressDisplay.tsxsrc/components/CommentCard.tsxsrc/components/CommentSection.tsxsrc/components/FollowButton.tsxsrc/components/GlobalSearch.tsxsrc/components/LessonContent.tsxsrc/components/LessonSidebar.tsxsrc/components/NavBar.tsxsrc/components/forum/CourseForum.tsxsrc/hooks/useAdmin.tssrc/hooks/useAdminContracts.test.tsxsrc/hooks/useBookmarks.tssrc/hooks/useCourses.tssrc/hooks/useDonor.test.tsxsrc/hooks/useDonor.tssrc/hooks/useForum.tssrc/hooks/useLeaderboard.tssrc/hooks/useLearnToken.tssrc/hooks/useLearnerProfile.tssrc/hooks/useNotifications.tssrc/hooks/useScholarMilestones.tssrc/hooks/useScholarProfile.tssrc/hooks/useScholarshipApplication.tssrc/hooks/useWiki.tssrc/lib/sentry.tssrc/pages/Admin.tsxsrc/pages/Community.tsxsrc/pages/Courses.tsxsrc/pages/DaoProposals.tsxsrc/pages/DaoPropose.tsxsrc/pages/Dashboard.tsxsrc/pages/Home.tsxsrc/pages/Leaderboard.tsxsrc/pages/LessonView.tsxsrc/pages/Profile.tsxsrc/types/contracts.tssrc/types/courses.tssrc/util/formatDate.tstsconfig.app.jsontsconfig.app.tsbuildinfotsconfig.node.jsonvitest.config.ts