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 billing limit max value, improve error handling #24754

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

zlwaterfield
Copy link
Contributor

@zlwaterfield zlwaterfield commented Sep 2, 2024

Changes

Main goal of PR is to add a max value ($25k). See Billing PR for more information: https://github.com/PostHog/billing/pull/864

This PR also improves the formatting for the displayed limit and improves the error handling with a toast on request failure and error message below the input instead of a hidden tooltip.
Screenshot 2024-09-02 at 3 39 37 PM

Finishing up: https://github.com/PostHog/billing/issues/786

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

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

How did you test this code?

@zlwaterfield zlwaterfield self-assigned this Sep 2, 2024
Copy link
Contributor

github-actions bot commented Sep 2, 2024

Size Change: 0 B

Total Size: 1.11 MB

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

compressed-size-action

@zlwaterfield zlwaterfield merged commit 6d26bc8 into master Sep 3, 2024
96 checks passed
@zlwaterfield zlwaterfield deleted the zach/billing-limit-validation branch September 3, 2024 14:06
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.

2 participants