Frontend: Implement 404 page for resource not found
What does this MR do and why?
Related to #408725 (closed)
Adding an empty state for the CI/CD Resource Details page. This occurs when the ID for the resource cannot be found, or when the user does not have permission to view the resource.
Screenshots or screen recordings
How to set up and validate locally
Prerequisites
- Enable the feature flag
Feature.enable(:ci_namespace_catalog_experimental)
- To set projects as a ci catalog resource, follow the instructions in this MR
To Test
- Navigate to http://127.0.0.1:3000/flightjs/Flight/-/ci/catalog/resources/1 (replace project path with your project of choice)
- You should be able to see the details page
- In the URL, change the
1
to something that you know doesn't exist, like555
- You should be able to see the empty state.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Briley Sandlin