-
Notifications
You must be signed in to change notification settings - Fork 620
Remove RecentPaymentsSection and reduce payment history page size #7893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove RecentPaymentsSection and reduce payment history page size #7893
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... 📒 Files selected for processing (3)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7893 +/- ##
=======================================
Coverage 56.53% 56.53%
=======================================
Files 904 904
Lines 58592 58592
Branches 4143 4143
=======================================
Hits 33126 33126
Misses 25360 25360
Partials 106 106
🚀 New features to boost your workflow:
|
size-limit report 📦
|

TL;DR
Reduced payment history page size and removed the redundant Recent Payments section from the payments dashboard.
What changed?
pageSizeconstant inPaymentHistory.client.tsxfrom 50 to 20RecentPaymentsSection.client.tsxcomponent completelyRecentPaymentsSectionfrom the payments pageHow to test?
Why make this change?
The Recent Payments section was redundant since the same information is already available in the main Payment History view. Reducing the page size from 50 to 20 items improves initial load performance while still providing users with an adequate view of their payment history. This change streamlines the UI and removes duplicate functionality.