[V2 200pts] Optimise images, fonts, and lazy loading to improve Core Web Vitals on landing page and dashboard#393
Closed
olaleyeolajide81-sketch wants to merge 265 commits into
Conversation
…rect secondary currency rendering
…const arrow functions
…s/exhaustive-deps lint rules and ensure contravariance safety
This reverts commit c3d4fd3.
- Implements filter state synced to URL search parameters - Adds pagination logic and UI components - Adds API client definitions for filtering transactions
Rebased onto upstream/v2. Implements Nexacore-Org#208, Nexacore-Org#214, Nexacore-Org#216, and Nexacore-Org#222 with v2 route conventions (/login, /otp). Adds API layer, settings tabs, withdrawal flow, toast system, and WCAG AA fixes. Co-authored-by: Cursor <cursoragent@cursor.com>
…eposit-flow feat: build deposit flow with wallet address QR code and MoonPay integration
…ons-page feat(admin): integrate transactions page with live admin transaction API
Build transaction history page v2 wired to GET /transactions with cor…
chore: update CI and documentation target branch to v2
…eport V2 Batch 2 Smoke Test Results
…curity-headers Closes Nexacore-Org#246 - Add HTTP security headers
…view-balances-v2 feat(dashboard): replace balance stubs with live wallet balances
|
@olaleyeolajide81-sketch 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! 🚀 |
Nexacore-Org#215 [V2 200pts] Build the notifications panel wired to GET /notifications and unread count badge
Add language settings tab
…ggest transaction, and trend chart (Nexacore-Org#351)
- Removed duplicate imports and function definitions in transactions page - Fixed duplicate useEffect and state declarations in analytics page - Cleaned up duplicate code in UserDetailPanel component - Fixed duplicate status badge styling in recent-transactions - Removed commented/incomplete code fragments - Ensured consistent formatting and imports across all files
Add shared page-loader and page-skeletons components, route-segment loading.tsx files, and replace inline spinners with layout-matched Skeleton placeholders on dashboard and admin pages. Co-authored-by: Cursor <cursoragent@cursor.com>
Populate currency selectors from wallet balances, fetch rates via getExchangeRate with graceful 500 handling, and submit swaps through createSwap with amount validation and success toast. Co-authored-by: Cursor <cursoragent@cursor.com>
…ending-insights-v2 feat: spending insights page with trend chart and sidebar nav
…ues-352-355 feat: admin roles, data export, widget customisation, and changelog page
Wire convert form to live exchange rates and POST /transactions/swap.
Contributor
|
Hello! This PR targets |
…ructure-coverage test(v2): add API client and auth store unit tests with Vitest and MSW
…py-clipboard-v2 [codex] shared clipboard utility
Contributor
|
Hello! This PR targets |
- Add ThemeProvider wrapper in root layout with suppressHydrationWarning - Add ThemeToggle component to admin layout header - Add next-themes dependency
Author
|
Please approve workflow and merge PR |
feat: implement full dark mode support with next-themes
feat: integrate react-hook-form and zod across all forms
64da38a to
5687ee3
Compare
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 implements performance optimizations to improve Core Web Vitals (LCP, CLS, INP) on the landing page and dashboard as specified in issue #245.
Changes Made
1. Self-host Fonts with display: 'swap'
2. Lazy Load Heavy Components with Dynamic Imports
File: app/(admin)/admin/analytics/page.tsx
File: components/dashboard/InstantDepositModal.tsx
3. Next.js Config Optimizations
4. Image Audit
Testing
Build Verification
Performance Impact
The changes target the following Core Web Vitals:
Technical Details
Bundle Size Impact
Font Loading Strategy
Image Optimization
Notes
Related Issue
Closes #245