-
Notifications
You must be signed in to change notification settings - Fork 115
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
automate-3081 ui flicker on applications tab #3728
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed this is working great for the main portion of the application 👍.
While testing I noticed that it appears that the Services sidebar is having the same issue. Interesting since it doesn't appear to be happening in the video from #3081
@SEAjamieD thanks for catching that bug! I'll fix it 👍🏻 |
components/automate-ui/src/app/pages/service-groups/service-groups.component.ts
Outdated
Show resolved
Hide resolved
ac74148
to
8def652
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Giving a 👍 but have one more suggestion to improve maintainability and standardize.
components/automate-ui/src/app/pages/service-groups/service-groups.component.ts
Outdated
Show resolved
Hide resolved
8def652
to
4013769
Compare
🔩 Description: What code changed, and why?
When moving between "OK" and "Disconnected" nodes, the UI moves from the loading spinner, to the old data, to the new data, with a visible redraw when the new data is finally shown.
⛓️ Related Resources
fixes #3081
👍 Definition of Done
Smooth as butter, no flicker.
👟 How to Build and Test the Change
hab studio enter
export DEVPROXY_URL=localhost
build components/automate-ui-devproxy
start_automate_ui_background
start_all_services
applications_populate_database
Steps to reproduce the behavior:
Go to Application Tab
Select "OK" filter
Select "Disconnected" filter.
Note I am very far from this A2 server, so high-network latency may help reproduce it.
✅ Checklist
📷 Screenshots, if applicable