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

Extend sync_status page with active_only support #1708

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

vsedmik
Copy link
Contributor

@vsedmik vsedmik commented Jan 22, 2025

There is the "Active only" check-box on the sync status page which adjusts the product/repos table to hide the lines where no sync happens. This is done through the tr's style set to display: none, which means the table remains still complete, only the style change hides what needs to be hidden.

image

Unfortunately Airgun does not care about styles and returns the complete table since it's still there in the page.

This PR changes this behaviour to let Airgun return the table just like the user can see it based on the style (via is_displayed property).
Second change allows user to set the Active only check-box before read.
Third and last change allows user to sync a repo asynchronously without waiting for result.

Test PR: SatelliteQE/robottelo#17413

@vsedmik vsedmik added CherryPick PR needs CherryPick to previous branches 6.16.z labels Jan 22, 2025
@vsedmik vsedmik requested a review from a team January 22, 2025 17:23
@vsedmik vsedmik self-assigned this Jan 22, 2025
Copy link
Contributor

@LadislavVasina1 LadislavVasina1 left a comment

Choose a reason for hiding this comment

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

PR looks good to me, let's wait for some Robotello PRs testing this addition before merging. Good addition @vsedmik!

@vsedmik
Copy link
Contributor Author

vsedmik commented Jan 23, 2025

PR looks good to me, let's wait for some Robotello PRs testing this addition before merging. Good addition @vsedmik!

Ah, I forgot to update the PR description. The robo PR is up here (with green PRT): SatelliteQE/robottelo#17413

@LadislavVasina1 LadislavVasina1 merged commit e17a99c into SatelliteQE:master Jan 27, 2025
9 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.16.z CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants