-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
Make the "load more" mechanism more user friendly in product search #2174
Comments
Hi @VaiTon!
|
Thank you for your response @monsieurtanuki! I was thinking something more simple, like what the YouTube app does. If I scroll down, after a checkpoint the app starts to load more product (I would also be ok with the button) and if i leave the page the process is just cancelled. So if I go to that page again and scroll to the bottom the app should re-make the query. |
@VaiTon Oh then it was not exactly what you implied in the OP:
Whatever you do, the user still spends a considerable time waiting, with just the possibility to stop whenever wanted. There's currently a button to stop the download, right? Therefore the user can already cancel at any moment. That said, it's not a smooth experience, I give you that. |
…utton Impacted file: * `product_query_page.dart` * we display the whole list of products, even if we don't know them (not even their barcodes) * we trigger automatically the download of the next page, when the first unknown product is asked by the `ListView` * when we are loading the next page we don't hide the previous results with a dialog or a progress indicator
…utton Impacted file: * `Podfile.lock`: wtf * `product_query_page.dart` * we display the whole list of products, even if we don't know them (not even their barcodes) * we trigger automatically the download of the next page, when the first unknown product is asked by the `ListView` * when we are loading the next page we don't hide the previous results with a dialog or a progress indicator
* feat: #2174 - doomscrolling instead of "download more" button Impacted file: * `product_query_page.dart` * we display the whole list of products, even if we don't know them (not even their barcodes) * we trigger automatically the download of the next page, when the first unknown product is asked by the `ListView` * when we are loading the next page we don't hide the previous results with a dialog or a progress indicator * feat: #2174 - doomscrolling instead of "download more" button Impacted file: * `Podfile.lock`: wtf * `product_query_page.dart` * we display the whole list of products, even if we don't know them (not even their barcodes) * we trigger automatically the download of the next page, when the first unknown product is asked by the `ListView` * when we are loading the next page we don't hide the previous results with a dialog or a progress indicator
…utton Impacted file: * `product_query_page.dart`: now downloading one page before needed; now displaying status for unknown products ("Loading", "Could not load", "Will be loaded later")
What
Steps to reproduce the behavior
Expected behavior
The loading should happen while the user is free to move the list or even open a product.
If the user changes pages the loading should stop, like an infinite scroll.
Related to
#1900 (comment)
#1333
Part of
The text was updated successfully, but these errors were encountered: