-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update the error message when you run out of workspace credits. #9370
Conversation
Thanks for contributing, @Harry-Hopkinson 🧡 The changes look good. You'll also need to sign a Contributor License Agreement (CLA)[1] once before merging your first contribution. Looping in @meysholdt to reach out about the CLA. 🏓 |
/hold |
/werft run 👍 started the job as gitpod-build-main-fork.27 |
/release-note-none |
Rebasing this against upstream |
/werft run 👍 started the job as gitpod-build-main-fork.28 |
Hi @Harry-Hopkinson, many thanks for improving this error message! Your proposed new phrasing looks much better to me as well. 🎯 Also, thank you @andrew-farries for reviewing this excellent community contribution, and pushing it through the various hurdles! 🙏 Adding just a bit more context here in case you're interested: When you create a new workspace, the error gitpod/components/dashboard/src/start/CreateWorkspace.tsx Lines 182 to 186 in b2d07b8
gitpod/components/dashboard/src/start/CreateWorkspace.tsx Lines 328 to 333 in b2d07b8
Unfortunately, we don't handle it the same way when starting an existing workspace: we simply pass the error along to gitpod/components/dashboard/src/start/StartWorkspace.tsx Lines 648 to 650 in b2d07b8
gitpod/components/dashboard/src/start/StartPage.tsx Lines 124 to 130 in b2d07b8
In the future, I think it could be nice to centralize error handling between But that's definitely a topic for a future Pull Request. 😁 Many thanks again for improving the error message in all the cases where it cannot be handled specifically! 🏀 |
hi @Harry-Hopkinson, to get the CLA signed, can you please let me know your email address by sending an email to [email protected]? I will then respond with the CLA which you can sign via DocuSign. |
@meysholdt I have sent an email. |
I have received the signed CLA. Thank you, @Harry-Hopkinson. |
/unhold |
Description
Before the error message was very vague when one ran out of workspace hours. With this change it makes the error message clearer for the user.
Changes
To