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

Show error when build is limited (account is out of snapshots) #194

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Mar 5, 2024

Rather than hanging the build at the Verify step, fail the build with an error and link to the Billing screen.

I did not bother designing this to be any fancier than the default error message we already had.

Screenshot 2024-03-05 at 10 50 38 Screenshot 2024-03-05 at 10 50 44
📦 Published PR as canary version: 1.2.8--canary.194.78d37d8.0

✨ Test out this PR locally via:

npm install @chromatic-com/storybook@1.2.8--canary.194.78d37d8.0
# or 
yarn add @chromatic-com/storybook@1.2.8--canary.194.78d37d8.0

@ghengeveld ghengeveld requested a review from thafryer March 5, 2024 09:51
@domyen
Copy link
Member

domyen commented Mar 5, 2024

@MichaelArestad did you have an error state for this?

@MichaelArestad
Copy link
Contributor

@domyen Yes. All the error states can be found here. For this use case, these two are the most relevant:
image

@andrewortwein
Copy link
Contributor

Code changes look fine to me, but should we try to implement the error state designs above?

@domyen
Copy link
Member

domyen commented Mar 6, 2024

I think we should try to implement the error state because it associates the blocker with "upgrading plan".

@ghengeveld ghengeveld merged commit d8ac24c into main Mar 7, 2024
3 checks passed
@ghengeveld ghengeveld deleted the ghengeveld/ap-4102-bug-when-a-user-runs-out-of-builds-for-the-month-local-build branch March 7, 2024 21:49
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.

5 participants