Skip to content

Commit

Permalink
chore: ui fixes for unsubscribe modal reasons (#24163)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
zlwaterfield and github-actions[bot] authored Aug 2, 2024
1 parent e3539d8 commit a1bf07c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const UNSUBSCRIBE_REASONS = [
'Poor customer support',
'Too difficult to use',
'Not enough hedgehogs',
'Other',
'Other (let us know below!)',
]

export const UnsubscribeSurveyModal = ({
Expand Down Expand Up @@ -92,9 +92,11 @@ export const UnsubscribeSurveyModal = ({
</LemonBanner>
)}
{isAddonProduct ? (
<p>We're sorry to see you go! Please note, you'll lose access to the addon features immediately.</p>
<p className="mb-0">
We're sorry to see you go! Please note, you'll lose access to the addon features immediately.
</p>
) : (
<p>
<p className="mb-0">
We're sorry to see you go! Please note, you'll lose access to platform features and usage limits
will apply immediately. And if you have any outstanding invoices, they will be billed
immediately.{' '}
Expand All @@ -108,7 +110,7 @@ export const UnsubscribeSurveyModal = ({
{billing?.subscription_level === 'paid'
? `Why are you ${actionVerb}?`
: `Why are you ${actionVerb} from ${product.name}?`}{' '}
(select multiple)
<i className="text-muted">(you can select multiple)</i>
</LemonLabel>
<div className="grid grid-cols-2 gap-2">
{UNSUBSCRIBE_REASONS.map((reason) => (
Expand Down

0 comments on commit a1bf07c

Please sign in to comment.