Skip to content
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

chore: add new unsub options #28399

Merged
merged 2 commits into from
Feb 6, 2025
Merged

chore: add new unsub options #28399

merged 2 commits into from
Feb 6, 2025

Conversation

zlwaterfield
Copy link
Contributor

Changes

Expanding the list of reasons for unsubscribing

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

It doesn't have an impact.

How did you test this code?

@zlwaterfield zlwaterfield self-assigned this Feb 6, 2025
@@ -329,8 +331,7 @@ export const billingProductLogic = kea<billingProductLogicType>([
const reasonObject = UNSUBSCRIBE_REASONS.find((r) => r.reason === reason)
return reasonObject?.question
})
.join(' ')
.concat(' (required)')
.join('\n')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed the required because it's obvious with the disabled submit and tool tip and looked odd with multiple answers selected.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Added two new unsubscribe reasons to the billing system's survey options, expanding the feedback collection for customer churn analysis.

  • Added 'Shutting down' option with follow-up question "We're sorry to hear that ❤️. What was your favorite feature?"
  • Added 'Technical issues' option with follow-up question "What technical problems did you experience?"
  • Modified /frontend/src/scenes/billing/billingProductLogic.ts to join survey questions with newlines for better readability
  • Maintained randomization of options while keeping "Other" as the last choice

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Contributor

github-actions bot commented Feb 6, 2025

Size Change: -5 B (0%)

Total Size: 1.18 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.18 MB -5 B (0%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

4 snapshot changes in total. 0 added, 4 modified, 0 deleted:

  • chromium: 0 added, 4 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@zlwaterfield zlwaterfield merged commit 0e0b968 into master Feb 6, 2025
103 checks passed
@zlwaterfield zlwaterfield deleted the zach/more-churn-responses branch February 6, 2025 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants