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 #35878 - CV and LCE name show empty strings in RepoSets banner #10395

Merged
merged 1 commit into from Dec 16, 2022

Conversation

jeremylenz
Copy link
Member

What are the changes introduced in this pull request?

When you set the toggle to 'Limit to environment', the Repository Sets tab has a banner

Showing only repositories in the "My CV" content view and "dev" environment.

However, since the multi-CV work it has said

Showing only repositories in the "" content view and "" environment.

This is because Rails no longer provides the methods content_view_name and lifecycle_environment_name on content facets.

This fixes that.

Considerations taken when implementing this change?

When we start updating the UI for multi-CV, we'll have to change this text again. But I didn't want to do that prematurely.

What are the testing steps for this pull request?

put a host in a non-library CV/LCE
view the Repo Sets tab

@theforeman-bot
Copy link

Issues: #35878

Copy link
Member

@sjha4 sjha4 left a comment

Choose a reason for hiding this comment

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

Before PR:
Screenshot from 2022-12-16 15-04-23
After PR:
Screenshot from 2022-12-16 15-06-05

@jeremylenz jeremylenz merged commit f07230e into Katello:master Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants