Skip to content

Conversation

@simeng-li
Copy link
Contributor

Summary

Add the biling history page for enterprise subscription.

image

Testing

Test locally

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@github-actions
Copy link

github-actions bot commented Dec 25, 2025

COMPARE TO master

Total Size Diff 📈 +2 KB

Diff by File
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

Copy link
Contributor

Copilot AI left a 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/cloud dependency from version 0.2.5-2553f41 to 0.2.5-acaf5b8 across 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.

@github-actions github-actions bot added size/m and removed size/m labels Dec 26, 2025
@simeng-li simeng-li force-pushed the simeng-log-12633-console-add-new-enterprise-subscription-billing-history-page branch from 0f421f3 to 63333fc Compare December 26, 2025 07:53
@github-actions github-actions bot added size/m and removed size/m labels Dec 26, 2025
Base automatically changed from simeng-log-12632-console-add-new-enterprise-subscription-page to master December 26, 2025 08:43
@github-actions github-actions bot added size/xl and removed size/m labels Dec 26, 2025
simeng-li and others added 2 commits December 26, 2025 16:44
fix index key

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@simeng-li simeng-li force-pushed the simeng-log-12633-console-add-new-enterprise-subscription-billing-history-page branch from 63333fc to 71eb0ab Compare December 26, 2025 08:44
@github-actions github-actions bot added size/m and removed size/xl labels Dec 26, 2025
@github-actions github-actions bot added size/m and removed size/m labels Dec 29, 2025
@simeng-li simeng-li enabled auto-merge (squash) December 29, 2025 02:56
@simeng-li simeng-li merged commit 0f439b6 into master Dec 29, 2025
52 of 54 checks passed
@simeng-li simeng-li deleted the simeng-log-12633-console-add-new-enterprise-subscription-billing-history-page branch December 29, 2025 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

6 participants