-
Notifications
You must be signed in to change notification settings - Fork 402
refactor(clerk-js,types): Update subscriptions listing UI #5847
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
refactor(clerk-js,types): Update subscriptions listing UI #5847
Conversation
🦋 Changeset detectedLatest commit: 4a2c958 The changes in this PR will be included in the next version bump. This PR includes changesets to release 22 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| export { default as CheckCircle } from './check-circle.svg'; | ||
| export { default as CheckmarkFilled } from './checkmark-filled.svg'; | ||
| export { default as ChevronDown } from './chevron-down.svg'; | ||
| export { default as ChevronUpDown } from './chevron-up-down.svg'; |
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.
| billingPage: { | ||
| subscriptionsListSection: { | ||
| actionLabel__switchPlan: 'Switch plans', | ||
| title: 'Subscription', | ||
| }, | ||
| paymentSourcesSection: { | ||
| actionLabel__default: 'Make default', | ||
| actionLabel__remove: 'Remove', | ||
| add: 'Add new payment method', | ||
| addSubtitle: 'Add a new payment method to your account.', | ||
| cancelButton: 'Cancel', | ||
| formButtonPrimary__add: 'Add Payment Method', | ||
| formButtonPrimary__pay: 'Pay {{amount}}', | ||
| payWithTestCardButton: 'Pay with test card', | ||
| removeResource: { | ||
| messageLine1: '{{identifier}} will be removed from this account.', | ||
| messageLine2: | ||
| 'You will no longer be able to use this payment source and any recurring subscriptions dependent on it will no longer work.', | ||
| successMessage: '{{paymentSource}} has been removed from your account.', | ||
| title: 'Remove payment method', | ||
| }, | ||
| title: 'Payment methods', | ||
| }, | ||
| start: { | ||
| headerTitle__invoices: 'Invoices', | ||
| headerTitle__plans: 'Plans', | ||
| headerTitle__subscriptions: 'Subscriptions', | ||
| }, | ||
| subscriptionsSection: { | ||
| actionLabel__default: 'Manage', | ||
| }, | ||
| title: 'Billing', | ||
| }, | ||
| }, |
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.
Update localizations to be scope to the profile they are within.
brkalow
left a comment
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.
👏
Co-authored-by: Bryce Kalow <bryce@clerk.dev>

Description
Updates SubscriptionsList UI to be within a profile section. Also fixes localization issue, where we were rendering userProfile scoped localizations within organizationProfile.
Org Profile:
User Profile:
Resolves COM-744
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change