-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #37746 - Update to pf5 #10272
base: develop
Are you sure you want to change the base?
Fixes #37746 - Update to pf5 #10272
Conversation
d0f6fed
to
1e2fd6f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except for a few small things I commented on (and some not successful checks), everything looks fine, thank you! 🥳
app/assets/stylesheets/base-pf4.scss
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the first comment could be updated?
webpack/assets/javascripts/react_app/components/HostDetails/Audits/index.js
Outdated
Show resolved
Hide resolved
hasNoOffset: false, | ||
className: undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- hasNoOffset is false by default
- is the className necessary?
...ssets/javascripts/react_app/components/HostDetails/Tabs/Details/Cards/TemplatesCard/index.js
Outdated
Show resolved
Hide resolved
...assets/javascripts/react_app/components/HostDetails/Templates/CardItem/CardTemplate/index.js
Outdated
Show resolved
Hide resolved
...sets/javascripts/react_app/components/Layout/components/TaxonomySwitcher/TaxonomyDropdown.js
Show resolved
Hide resolved
webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/Table/Table.js
Outdated
Show resolved
Hide resolved
webpack/assets/javascripts/react_app/components/SearchBar/SearchAutocomplete.js
Outdated
Show resolved
Hide resolved
return [ | ||
isDeleteable && { | ||
title: __('Delete'), | ||
onClick: () => onDeleteClick({ id, name }), | ||
isDisabled: !canDelete, | ||
isAriaDisabled: !canDelete, | ||
}, | ||
...((getActions && | ||
getActions({ id, name, canDelete, canEdit, ...item })) ?? | ||
[]), | ||
...extendActions.map(action => ({ | ||
...action, | ||
isAriaDisabled: action.isDisabled, | ||
})), | ||
].filter(Boolean); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs theforeman/foreman-js#481 & to remove pf5 from package.json
Will need plugin updates as well.