Skip to content
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 #35595 - Add content profile to selectable columns #10305

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

ofedoren
Copy link
Contributor

@ofedoren ofedoren commented Oct 5, 2022

What are the changes introduced in this pull request?

Coulmns from Content Hosts page are added as selectable columns to Hosts page.

Considerations taken when implementing this change?

Basically it allows to proceed with merging Content Hosts page into Hosts page.

What are the testing steps for this pull request?

Currently, the only way to see the columns is to use hammer user table-preference command to create a preference for hosts table with certain columns. Core's and new Content profiles can be used. Until theforeman/foreman#9323 is done, there is no other way to select the whole profile.

You can also use theforeman/foreman#9323 to test the feature out as well as provide some feedback while it's still in early stage.

@theforeman-bot
Copy link

Issues: #35595

lib/katello/plugin.rb Outdated Show resolved Hide resolved
@ofedoren ofedoren force-pushed the feat-35595-add-content-profile branch from 14272f3 to b4b4e52 Compare October 17, 2022 15:26
@ofedoren
Copy link
Contributor Author

Thanks, @adamruzicka, it was just a copy-paste typo :( this column can't be sortable.

Also, here is a screenshot to make the initial review easier:
ScreenShot-1666020370119

@chris1984 chris1984 self-assigned this Oct 18, 2022
@chris1984
Copy link
Member

Code looks fine, starting to test

@chris1984
Copy link
Member

@ofedoren what was your hammer command for the table preference columns?

@ofedoren
Copy link
Contributor Author

@ofedoren what was your hammer command for the table preference columns?

hammer user table-preference create --name hosts --columns

Copy link
Member

@chris1984 chris1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, tested each column and it looks correct. @adamruzicka has all of your concerns been addressed?

Copy link
Member

@adamruzicka adamruzicka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, they were, let's get this in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants