Do not show zero count while still loading real numbers
What does this MR do and why?
(This change affects only our unreleased Vue version of the To-do page.)
Do not show zero count while still loading real numbers
It's better to show no number than a wrong one.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Reload http://gdk.test:3000/dashboard/todos/vue and watch out for the
-
in the badges, before the counts are loaded. - To slow down the loading time, add a
sleep 1
inapp/finders/todos_finder.rb
.
Edited by Thomas Hutterer