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

feat: Add cta on billing for >20k annual spend customers #19508

Merged
merged 20 commits into from
Jan 4, 2024

Conversation

xrdt
Copy link
Contributor

@xrdt xrdt commented Dec 22, 2023

Problem

Updates the existing >$1k monthly spend alert to include more perks we can offer to large customers.

Changes

No CTA:
Screenshot 2023-12-22 at 10 41 54 AM

With CTA:
Screenshot 2023-12-22 at 10 42 46 AM

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

How did you test this code?

@xrdt xrdt requested a review from raquelmsmith December 22, 2023 18:46
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

  • chromium: 0 added, 6 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.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

  • chromium: 0 added, 6 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.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.

@raquelmsmith
Copy link
Member

IMO this doesn't need to be dismissable, it can just be a persistent "ad"

@xrdt
Copy link
Contributor Author

xrdt commented Jan 2, 2024

Newer screenshot
Screenshot 2024-01-02 at 1 07 27 PM

@xrdt
Copy link
Contributor Author

xrdt commented Jan 2, 2024

Re dismissability: Can hide the CTA once they've converted to an annual plan.

@raquelmsmith
Copy link
Member

Changed how it looks a bit:

image

There's kind of an awkward gap above the "Products" header but cory wants to redo this page anyway so I think it's fine.

Copy link
Member

@raquelmsmith raquelmsmith left a comment

Choose a reason for hiding this comment

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

Just removing the dismiss code and the extra hog!

frontend/public/hedgehog/builder-hog-waving-smiling.png Outdated Show resolved Hide resolved
frontend/src/scenes/billing/billingLogic.ts Outdated Show resolved Hide resolved
frontend/public/hedgehog/builder-hog-waving-smiling.png Outdated Show resolved Hide resolved
frontend/src/lib/components/hedgehogs.tsx Outdated Show resolved Hide resolved
@posthog-bot posthog-bot removed the stale label Jan 3, 2024
@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.

* auto-dismiss on annual plan
* remove unused hedgehog png
* slight tweak to css for smaller screens
@xrdt xrdt requested a review from raquelmsmith January 3, 2024 17:19
Copy link
Contributor

github-actions bot commented Jan 3, 2024

Size Change: 0 B

Total Size: 2 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 2 MB

compressed-size-action

Copy link
Member

@raquelmsmith raquelmsmith left a comment

Choose a reason for hiding this comment

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

dark mode!

@xrdt xrdt requested a review from raquelmsmith January 3, 2024 22:06
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

  • chromium: 0 added, 2 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.

@xrdt xrdt merged commit 3fdeff2 into master Jan 4, 2024
78 checks passed
@xrdt xrdt deleted the by/cta-over-20k-annual-customers branch January 4, 2024 00:06
fuziontech pushed a commit that referenced this pull request Jan 4, 2024
* add cta on billing for >20k annual spend customers

* Update UI snapshots for `chromium` (1)

* tweak the bullets, add dismissal logic, handle small screen sizes

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* give it a box, update wording, improve spacing

* fix spacing so it lines up across the top properly

* fix

* Update UI snapshots for `chromium` (1)

* address pr feedback

* auto-dismiss on annual plan
* remove unused hedgehog png
* slight tweak to css for smaller screens

* Update UI snapshots for `chromium` (1)

* lint

* Update UI snapshots for `chromium` (1)

* fix dark mode

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: Bianca Yang <[email protected]>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Raquel Smith <[email protected]>
fuziontech added a commit that referenced this pull request Jan 4, 2024
* master: (94 commits)
  feat: Add cta on billing for >20k annual spend customers (#19508)
  refactor(temporal/squash): Support flat person override table in squash workflow (#19347)
  fix(surveys): remove link in user interview template (#19584)
  feat: populate plugin capabilities on install and edit (#19188)
  chore: Make plugin-server ignore deleted plugin configs (#18444)
  chore: Add Flutter feature flags snippets (#19563)
  fix(bi): fixed some of the query duplications (#19573)
  fix: assume typeless series nodes are of type events node (#19550)
  chore(deps): bump chromaui/action from 1 to 10 (#19560)
  fix(trends): fix breakdowns persons label (#19534)
  fix(trends): fix breakdown legend (#19533)
  feat: incremental updates for mobile transformer (#19567)
  chore(deps): bump peter-evans/find-comment from 1 to 2 (#19559)
  chore(data-warehouse): cleanup unused celery code and extend time (#19568)
  Revert "feat(data-warehouse): hubspot integration" (#19569)
  feat(data-warehouse): hubspot integration (#19529)
  feat: Feature gate session replay controls using available_product_features (#19401)
  fix: Padding on bullet lists (#19565)
  chore: Post 3000 LemonButtton cleanup (#19540)
  chore(deps): bump aws-actions/amazon-ecr-login from 1 to 2 (#19558)
  ...
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