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

fix(RHINENG-2392): Show refresh link in group notifications #2125

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

gkarat
Copy link
Contributor

@gkarat gkarat commented Dec 17, 2023

Fixes https://issues.redhat.com/browse/RHINENG-2392.

This adds a refresh link to the success notification when systems are added or removed from a group. The data is no longer reloaded automatically due to possible inconsistency in the results.

⚠️ When adding new systems, the view is still refreshed under submit. This will be fixed in a separate PR/ticket.

How to test

  1. Go to any group details page
  2. Try to remove or add new systems
  3. Check that the success notification has a refresh action and on click the page is reloaded with updated results

Screenshots

image

@gkarat gkarat added the bug Something isn't working label Dec 17, 2023
@gkarat gkarat self-assigned this Dec 17, 2023
@gkarat gkarat requested a review from a team as a code owner December 17, 2023 16:55
@gkarat gkarat force-pushed the rhineng-2392 branch 2 times, most recently from fe60bf3 to 71cc971 Compare December 17, 2023 17:13
Fixes https://issues.redhat.com/browse/RHINENG-2392.

This adds a refresh link to the success notification when systems are added or removed from a group. The data is no longer reloaded automatically.
@gkarat
Copy link
Contributor Author

gkarat commented Dec 18, 2023

/retest

Copy link
Contributor

@adonispuente adonispuente left a comment

Choose a reason for hiding this comment

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

Same IQE test is failing on this one , ERROR at setup of test_navigate_to_groups, but the PR itself looks good to me. I dont believe that failure is related to this PR.

Just as a side note, we already reload the page when we add a system, do we want this notification to appear with the refresh option even though we already preform the action?

@gkarat
Copy link
Contributor Author

gkarat commented Dec 19, 2023

@adonispuente, the automatic refresh on adding systems will go away soon (see my caption in the description) because it still can provide inconsistent results 🙂

@gkarat gkarat merged commit b732879 into RedHatInsights:master Dec 19, 2023
1 of 2 checks passed
@gkarat gkarat deleted the rhineng-2392 branch December 19, 2023 09:47
@gkarat
Copy link
Contributor Author

gkarat commented Dec 19, 2023

🎉 This PR is included in version 1.62.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants