-
Notifications
You must be signed in to change notification settings - Fork 297
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 #36866 - Remove table hooks from katello and use foreman #10783
Conversation
4525579
to
38cfd27
Compare
@parthaa Do we know if Foreman TableHooks has diverged at all from Katello? |
@jeremylenz do you mind reviewing the code, while I test the pages to make sure there are not any breakages? |
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.
Code LGTM 👍
@@ -228,7 +229,7 @@ export const ErrataTab = () => { | |||
}); | |||
|
|||
const installErrataAction = () => installErrata({ | |||
hostname, search: fetchBulkParams(), | |||
hostname, search: fetchBulkParams({}), |
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.
The need to pass {}
here is eliminated in theforeman/foreman#9878, but I suppose it's harmless either way. If that gets merged first, you could remove all of these.
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.
Agreed!. May be I should wait for your PR before merging
@sjha4 said he would test the CV pages, working on testing the other stuff that was changed |
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.
Acking CV/ACS and change content source tables/URL params and useSet functionality. Code looks good..
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.
ACK works well, all the tables/pages/modals render that I tested
38cfd27
to
5b8ce0d
Compare
What are the changes introduced in this pull request?
Now that TableHooks.js code has been ported to Foreman, we need to have Katello consume it from there so code isn't duplicated. This PR does the clean up / walden job
What are the testing steps for this pull request?