fix: add error response from wake project CTA#8719
Conversation
ericpgreen2
left a comment
There was a problem hiding this comment.
Feedback: Retry path on error
The error state shows a banner with no action — if this fails, how does the user retry?
Currently, they'd need to navigate to the org page where the inline "Wake projects" button lives (OrganizationHibernatingForAdmins.svelte). That works, but it's not obvious from the error banner.
Quick fix options:
- Add a "Retry" button CTA to the error banner (the banner system supports
type: "button"with anonClickcallback) - Add a "Go to projects" link so users know where to retry
Longer-term observation: The org page already has a nice inline flow for this (loading state, button, etc.). The banner-based wake flow duplicates that logic in a less ideal place — banners aren't great for loading states or multi-step interactions. A cleaner design might be: banner just links to the org page, org page handles the actual wake action. That's a larger change though, so not suggesting it for this PR unless you want to take it on.
Developed in collaboration with Claude Code
|
Note that wake up banner is an edge case. The main use case is to show billing related messages. These are meant to be shown across pages, so it makes sense for them to be banners. We already have full page wake projects message. We had decided to duplicate it in banners as well. |
There is on reliable way to reproduce this. The original issue probable hit some edge case while processing billing issues.
Closes ENG-1007
Checklist: