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

Improve experience of "select all" when there are +500 reports #7883

Open
latin-panda opened this issue Nov 3, 2022 · 1 comment
Open

Improve experience of "select all" when there are +500 reports #7883

latin-panda opened this issue Nov 3, 2022 · 1 comment
Labels
Reports Affects the Reports page Type: Improvement Make something better

Comments

@latin-panda
Copy link
Contributor

What feature do you want to improve?
Currently the report's "select all" is used to bulk delete reports. Maximum number of reports that "select all" can select is 500, however the user can keep scrolling in the left hand side list and pass over those 500 reports, because the list has infinit scroll. So the user can load 600 reports but only 500 are selected by "select all" (see video below). Selecting all those reports get the system slow, the user actually needs to wait some seconds to see the reports selected.

Because the user can select up to 500, the system attempts to retrieve all those summary documents, so when a report expands then it can show its content, however since there are too many selected, it gets slow and most of them shows "unknown sender" instead of the contact name (I've opened a separate ticket for that race condition).

Describe the improvement you'd like
Improve the system performance by processing smaller batch of reports and clarify what is "select all" since having infinit scroll makes it confusing.

Describe alternatives you've considered
Many other systems (like gmail) has implemented regular pagination, then when the user clicks on the "select all" it will select all the items of the current page, a page can have 50 records. If they want to see the next page, then the all items from page 1 are deselected, and items from page 2 load and appear deselected as well. The user can select all from one page only.

This approach would help selected reports to load faster (instead of selecting 500, now is 50), it won't stress the devices, it won't stress the system by attempting to delete too many docs, and it's more understandable since the user will know the meaning of "select all" scope, a current page of 50 - instead of infinit scroll and let them guess the maximum number (500).

Additional context
This topic came up as part of the bulk delete redesign (comment)

Video: Current behaviour in v3.17

Screen.Recording.2022-11-03.at.9.58.41.am.mp4
@latin-panda
Copy link
Contributor Author

FYI @michaelkohn @n-orlowski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reports Affects the Reports page Type: Improvement Make something better
Projects
No open projects
Status: Todo
Development

No branches or pull requests

1 participant