Skip to content

[PB-4447]: refactor/update subscription in integrated checkout#1816

Merged
xabg2 merged 5 commits intomasterfrom
refactor/update-subscription-in-integrated-checkout
Jan 21, 2026
Merged

[PB-4447]: refactor/update subscription in integrated checkout#1816
xabg2 merged 5 commits intomasterfrom
refactor/update-subscription-in-integrated-checkout

Conversation

@xabg2
Copy link
Contributor

@xabg2 xabg2 commented Jan 19, 2026

Description

Refactor subscription update logic to centralize the confirmation flow in a single reusable function.
The update plan Dialog now accepts the new plan directly instead of requiring all available prices to be passed through, reducing unnecessary data circulation and improving code maintainability.

Related Issues

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

Additional Notes

@xabg2 xabg2 self-assigned this Jan 19, 2026
@xabg2 xabg2 added the enhancement New feature or request label Jan 19, 2026
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 19, 2026

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5e908c7
Status: ✅  Deploy successful!
Preview URL: https://bbc44dbc.drive-web.pages.dev
Branch Preview URL: https://refactor-update-subscription.drive-web.pages.dev

View logs

Base automatically changed from refactor/auth-and-pccloud-code to master January 20, 2026 09:03
@@ -0,0 +1,7 @@
import { Loader } from '@internxt/ui';

export const CheckoutLoader = () => (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a component, remember add it to corresponding folder

@xabg2 xabg2 requested a review from CandelR January 20, 2026 16:27
@sonarqubecloud
Copy link

@xabg2 xabg2 merged commit 3fc944f into master Jan 21, 2026
10 checks passed
@xabg2 xabg2 deleted the refactor/update-subscription-in-integrated-checkout branch January 21, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants