Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-10914

Upgrade to react-router-dom-v5-compat package

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • Console
    • None
    • 5
    • False
    • None
    • False
    • Hide

      Provide the required acceptance criteria using this template.
      * ...
      Show
      Provide the required acceptance criteria using this template. * ...
    • No
    • 5
    • ACM Console Sprint 254

      Value Statement

      For ACM 2.11 / MCE 2.6, the oldest supported OCP version is 4.14, which supports react-router-dom@6 via the react-router-dom-v5-compat package. Moving to a newer router will ensure we continue to receive security updates.

      See the Official v5 to v6 Migration Guide.

      Slack thread on OCP plans.

      Definition of Done for Engineering Story Owner (Checklist)

      • All imports from react-router and react-router-dom should be replaced with imports from react-router-dom-v5-compat, with the exception of those in frontend/src/components/LostChanges.tsx which will be handled in a separate story
      • Components from the react-router-dom-v5-compat are effectively v6 versions, so code needs to be adjusted to adapt to behavioral differences

      Development Complete

      • The code is complete.
      • Functionality is working.
      • Any required downstream Docker file changes are made.

      Tests Automated

      • [ ] Unit/function tests have been automated and incorporated into the
        build.
      • [ ] 100% automated unit/function test coverage for new or changed APIs.

      Secure Design

      • [ ] Security has been assessed and incorporated into your threat model.

      Multidisciplinary Teams Readiness

      Support Readiness

      • [ ] The must-gather script has been updated.

            jswanke@redhat.com John Swanke
            rh-ee-kcormier Kevin Cormier
            David Huynh David Huynh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: