-
-
Notifications
You must be signed in to change notification settings - Fork 679
feat(console): add billing history page #8129
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
feat(console): add billing history page #8129
Conversation
COMPARE TO
|
| Name | Diff |
|---|---|
| packages/connectors/connector-logto-email/package.json | 0 Bytes |
| packages/console/package.json | 0 Bytes |
| packages/console/src/cloud/types/router.ts | 📈 +165 Bytes |
| packages/console/src/pages/EnterpriseSubscription/BillingHistory/index.tsx | 📈 +3.2 KB |
| packages/core/package.json | 0 Bytes |
| pnpm-lock.yaml | 📈 +1.36 KB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a billing history page for enterprise subscriptions, providing enterprise customers with visibility into their invoice history. The implementation mirrors the existing tenant billing history page structure.
Key Changes
- Implemented a new BillingHistory component for enterprise subscriptions with invoice listing and Stripe-hosted invoice viewing
- Added type definition for enterprise subscription invoice responses
- Updated
@logto/clouddependency from version0.2.5-2553f41to0.2.5-acaf5b8across multiple packages
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
packages/console/src/pages/EnterpriseSubscription/BillingHistory/index.tsx |
New billing history page component with table displaying invoices, filtering out drafts, and opening Stripe-hosted invoice pages on row click |
packages/console/src/cloud/types/router.ts |
Added LogtoEnterpriseSubscriptionInvoiceResponse type definition for invoice API responses |
packages/console/package.json |
Updated @logto/cloud dependency version |
packages/core/package.json |
Updated @logto/cloud dependency version |
packages/connectors/connector-logto-email/package.json |
Updated @logto/cloud dependency version |
pnpm-lock.yaml |
Lockfile updates reflecting the dependency version changes |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/console/src/pages/EnterpriseSubscription/BillingHistory/index.tsx
Show resolved
Hide resolved
packages/console/src/pages/EnterpriseSubscription/BillingHistory/index.tsx
Outdated
Show resolved
Hide resolved
0f421f3 to
63333fc
Compare
add billing history page
fix index key Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
63333fc to
71eb0ab
Compare
packages/console/src/pages/EnterpriseSubscription/BillingHistory/index.tsx
Outdated
Show resolved
Hide resolved
add useMemo wrapper
Summary
Add the biling history page for enterprise subscription.
Testing
Test locally
Checklist
.changeset