-
Story
-
Resolution: Unresolved
-
Critical
-
None
-
None
We need to include the cluster name in console URLs so that you can deep link to details pages on specific clusters. Most likely this will be part of the URL path, but it is possible to add as a query parameter. We should honor the old URL format as well without a cluster name. If there is no cluster name, we probably want the URL to refer to a resource on the hub cluster. We should can consider using a React Router redirect to update to a URL with the cluster name.
We need to do this in a way where we don't have to update all the pages at once. First we should come up with the URL format and add an API for creating URLs. Then over time we can convert each page that generates URLs.
There must be a dynamic plugin API for generating URLs, and we will need to coordinate with the plugin teams to always use the API for generating URLs instead of hard-coding paths.
Open Questions
What is the URL format when ACM is not installed?
Acceptance Criteria
- New utility function for building URLs for resources
- The common navigation components are updated to use the new API
- The common ResourceLink component is updated to use the new API
- Old bookmarks still work
- Console still works if ACM is not installed
- e2e tests are updated for the URL updates
Non Goals
- This story does not cover updating all URLs in the console. We will have separate follow-on stories for that work.
- blocks
-
ACM-3192 Update OCP Console launch links to the cluster context page
- Closed
- links to