Â
- Affects assisted-installer code/team (used in ACM and OCM)
- There is a compatability layer
- Insights would like all tenents to use v6 singleton
- Going to v6 paves the way for single page with content from multiple teams
From HCC/Insights team:
"The router package react-router-dom has undergone a lot of changes in it latest v6 major release. Frontend applications in HCC are on a v5 which is no longer the LTS. Migration to V6 comes with some challenges. Mainly a router context can no longer be nested.
This means our applications have to adapt to the new changes."
On Jan 9th 2023 HCC moved to React router v6.
https://reactrouter.com/en/main/upgrading/v5
Â
File | Issue | MR |
---|---|---|
src/components/App/Router.tsx | 5051 | |
src/components/clusters/CreateClusterPage/CreateClusterPage.jsx | 5052 | |
src/components/clusters/ClusterDetails/components/IdentityProvidersPage/IdentityProvidersPage.jsx | 5061 | |
src/components/clusters/ClusterDetails/ClusterDetailsClusterOrExternalId.jsx (ClusterDetailsRedirector + InsigntsRedirector) | 5071 | |
src/components/clusters/ClusterDetails/components/AccessControl/IDPSection/IDPSection.jsx | 5074 | |
src/components/clusters/wizards/osd/CreateOsdWizard.tsx | !5152 | |
Redirect components update | !5188 | |
Link components update | !5182 | |
Term Guarded routes | !5149 | |
ClusterList filters | !5166 | |
src/components/clusters/ClusterDetails/components/TabsRow/TabsRow.tsx | !5174 | |
src/components/App/ApiError/ApiError.tsx src/components/App/Insights.tsx src/components/clusters/common/InstallProgress/CancelClusterButton.jsx |
!5164 | |
src/components/downloads/DownloadsPage/DownloadsPage.jsx | !5141 | |
src/components/clusters/InsightsAdvisorRedirector/InsightsAdvisorRedirector.jsx src/components/clusters/ClusterDetailsRedirector/ClusterDetailsRedirector.jsx src/components/clusters/ClusterDetails/ClusterDetailsClusterOrExternalId.jsx | !5071 | |
src/components/clusters/ClusterDetails/components/IdentityProvidersPage/IdentityProvidersPage.jsx | !5061 | |
Installer components | !5132 | |
src/components/clusters/CreateClusterPage/CreateClusterPage.jsx | !5052 |