-
Notifications
You must be signed in to change notification settings - Fork 30
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
CNV-33133: Make buttons in VMs and MigrationPolicies pages not blink #1562
CNV-33133: Make buttons in VMs and MigrationPolicies pages not blink #1562
Conversation
Make empty state related buttons for VirtualMachines list and MigrationPolicies list pages not blink, when entering those pages for the first time. Fixes https://issues.redhat.com/browse/CNV-33133
@hstastna: This pull request references CNV-33133 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@hstastna: This pull request references CNV-33133 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@avivtur @metalice @pcbailey @upalatucci @vojtechszocs please review |
@hstastna: This pull request references CNV-33133 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.15.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hstastna, pcbailey The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hey |
Filtering with no results works as it worked before this change. I was not changing this behavior. |
cool, so I think the prop NoDataEmptyMsg and EmptyMsg can be removed instead of sending a fragment, I belive they aren't mandatory. |
No, if those are totally missing, it renders extra "Not found". Everything in this PR, every change has its good purpose. |
/cherry-pick release-4.14 |
@gouyang: new pull request created: #1597 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
📝 Description
Fixes:
https://issues.redhat.com/browse/CNV-33133
Make empty state related buttons for VirtualMachines list and MigrationPolicies list pages not blink, when entering those pages for the first time.
Note that the problem this PR is fixing, is not so easy to reproduce and not always reproducible, you must try couple of times to see the issue there.
🎥 Demo
Before:
VirtualMachines list page (see how the buttons blink once or twice when entering the page):
flicker_before.mp4
MigrationPolicies list page (see how the buttons blink once or twice when entering the page):
mps_before.mp4
After:
VirtualMachines list page (no any blinking anymore):
flicker_after.mp4
MigrationPolicies list page (no any blinking anymore):
mps_after.mp4
Comparing the behavior of the two implementations of empty state screen (within the one screen):
VirtualMachines list page:
vms_emptystate_comparing.mp4
MigrationPolicies list page:
mps_emptystate_comparing.mp4