• Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • Core UI
    • Rosa Wizard refactor to v2
    • True
    • Hide

      Waiting for the reported bug fixes mentioned under the epic. 

      Show
      Waiting for the reported bug fixes mentioned under the epic. 
    • False
    • In Progress
    • OCMUI-282 - OCM UI Tech Upkeep, Maintenance and Modernization
    • OCMUI-282OCM UI Tech Upkeep, Maintenance and Modernization
    • 74
    • 74% 74%

      The goal of this phase is to convert the existing ROSA wizard to use Formik and Patternfly wizard components.  Users should not see any changes compared to today (V1) after this phase is complete.  Rosa V2 will have separate screens from OSD v2.  For example, Cluster -> Machine Pool screen may exist in OSD v2, and another copy in Rosa v2 -we are not striving to share components as this leads to complex ‘isRosa’ logic, plus later Phases change the order of rosa steps, which we do not want impacting OSD wizard.

       

      Step 1 - Copy current ROSA wizard. This new copy will be known as ROSA V2 

      1. Within the rosa_v1 directory, change import paths to components within it to relative paths to make it easier to duplicate the entire directory
      2. Duplicate the rosa_v1 directory to rosa_v2
      3. IMPORTANT: Any code changes in the rosa_v1 directory should be also repeated for the rosa_v2 directory until we can switch over to v2 and retire v1
      4. Add new router entry for the rosa_v2 CreateROSAWizard
      5. Add ability to switch between rosa_v1 and rosa_v2 wizards (feature gate / URL param?)

      Step 2 - Convert ROSA V2 to use Formik:

      1. Add Formik to rosa_v2 and update review step to work with it
      2. Convert wizard steps to formik (will be completed by multiple people)
        • Components will be copied so it is separate from OSD/ROSA_V1 wizard

      Step 3 - Convert ROSA V2 to use the newer PatternFly wizard (and not deprecated) 

      Step 4 - Verify ROSA V2 with QE

      Step 5 - Switch feature gate so all traffic is through ROSA V2 wizard

      Step 6 - Remove old ROSA V1 code and feature gate 

       

      Out of scope:  

      • Convert to Typscript
      • Convert to Functional Component

            jschuler_kafka_devexp Joachim Schuler
            jpuzzo@redhat.com Jeff Puzzo
            Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
            HAC
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: