feat(investor): implement advanced investor analytics dashboard#55
Open
ekwe7 wants to merge 1 commit into
Open
Conversation
- Add front-end layout with performance cards, charts, and transaction tables - Implement clean, responsive UI layouts optimized for mobile and desktop screens - Create secure backend aggregation API routes to fetch scoped investor metrics - Integrate MongoDB model calculations for total returns, active pools, and payouts - Add granular state handling for loading, API errors, and new investor empty states - Enforce strict authorization to ensure data is scoped only to authenticated users - Ensure clean verification via npm run lint and successful production build runs
Collaborator
|
@ekwe7 great work sir, can you fix the lint error |
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 #43
Description
This PR delivers a comprehensive, end-to-end Investor Analytics Dashboard that consolidates portfolio health, investment pool performance, expected vs. actual returns, live wallet balances, and overall asset ownership metrics into a single, cohesive user experience.
To achieve this cleanly, both front-end presentation layers and back-end secure data aggregation routes were built to query existing MongoDB transaction/pool schemas without exposing cross-tenant data structures.
Why It Matters
Investors require a deep, consolidated view of where their funds are deployed beyond flat list views. By introducing metric cards, repayment trends, and grouped transaction history trackers, this update builds explicit clarity around asset vehicle utilization, historic payout speeds, and expected forward yield timelines.
Changes Made
Acceptance Criteria Verified
npm run lintandnpm run buildcommand passes.Performance & Build Verification
npm run lint && npm run build ✓ Minting TypeScript validations ✓ Running ESLint checks across project files (Clean) ✓ Creating an optimized production build ✓ Compiled successfully (All pages optimized)Security Notes