-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
5
-
False
-
Satellite Endeavour Sprint 13, Satellite Endeavour Sprint 14
-
sat-endeavour
-
None
-
None
-
None
-
None
Goal
Within webpack/assets/javascripts/react_app/components/hosts/storage/vmware there are various PF3-based components (Alert and Button). These need to be updated to PF5.
Acceptance criteria
- PF3-based components are updated to PF5
- Any automation that may rely on this is updated
Additional notes
To test:
In the host form -> select a compute resource with vmware type -> go to the virtual machine tab
a. see the new alarm that says "Please select a cluster" at the bottom of the form
b. select a cluster, the Storage section is updated to PF5
The code in question:
$ rg patternfly-react webpack/assets/javascripts/react_app/components/hosts/storage/vmware webpack/assets/javascripts/react_app/components/hosts/storage/vmware/index.js 3:import { Alert, Button } from 'patternfly-react'; webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/index.js 2:import { Button } from 'patternfly-react'; webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/disk/index.js 2:import { Button } from 'patternfly-react';
Then from SAT-42569 there are also the form inputs in controller/disk/index.js (https://github.com/theforeman/foreman/blob/a6748f762f44ea5dccbf57eb4ec390b39bfb812c/webpack/assets/javascripts/react_app/components/hosts/storage/vmware/controller/disk/index.js#L4-L6) that are deprecated PF3 components.