feat: Add a notification after a project deployment
This handles the case where the user deployed a fresh project. Going from invite => dashboards page will trigger a wait on deployment complete.
- On success we show a notification with a link to 1st dashboard.
- On failure we redirect to status page.
The notification's copy feels a little weird:
- There are 6 dashboards in my project, so "Go to dashboard" doesn't refer to any particular one.
- The main dashboards table provides links to each of my 6 dashboards. In order to click on the notification link, my cursor would have to travel past the usual links in order to reach the one-time notification link.
What if we either:
- Just say: "Project deployed!"
- Take the opportunity to teach the user how to navigate the normal way, e.g.: "Project deployed! Click on one of your dashboards above".
CC @ericokuma
Nit: the notification currently includes the text "shouldRedirect"
Thanks for the feedback @ericpgreen2!
Let me circle back with @jkhwu on this
Let's push this to the next sprint.
IMO this still needs some design discussion. I commented in Figma here.
Given the large # of open PRs, I'll close this for now until we have Product clarity.