Open nitishfy opened 6 days ago
When that Project view initially loads, I think there's an opportunity to perform a get project request and gracefully handle a 404.
That being said, the UI also periodically refreshes all elements, so if you delete a Project (using the CLI or something) and don't refresh the Project view, I think you're still going to end up seeing all these individual errors that result not from looking for a Project that doesn't exist, but result from looking for things like Warehouses, Stages, and Freight belonging to a Project that no longer exists.
I'm not sure of the best way to deal with this.
cc @rbreeze @Marvin9 @rpelczar you guys probably have much better insight into how to improve the UX here.
Checklist
kargo version
.Description
If you delete the project and refresh the UI for the deleted project path, the UI will appear distorted.
Screenshots
Steps to Reproduce
Go to the
/project/unknown-project
endpoint of the kargo and you'll see the UI a bit distorted.Version