ToDo: Fix count when not filtered
What does this MR do and why?
This MR adds a fix to show the correct count when ToDo's are not filtered and there are more than 20 open ToDos (paging).
It also adds a readable empty message if no results have been found.
Screenshots or screen recordings
Before | After |
---|---|
Count with multiple pages | Count with multiple pages |
Filtered results count | Filtered results count |
Filtered results empty message | Filtered results empty message |
How to set up and validate locally
- http://gdk.test:3000/dashboard/todos should show total of all open ToDos
- Filter ToDos
- Count should change to count of filtered results
- Filter again until no results are found
- A message should appear that no results have been found
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to UX Paper Cuts 16.5 → Cleanup (#424403 - closed), ToDo badge: Fix count when list is filtered (!132510 - merged)
Closes #427152 (closed)
Edited by Sascha Eggenberger