-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
Fix refresh strategy for the history #796
Comments
@teolemon We don't have the same problem for the search list, because the local database is queried ("same search already?") and its products are displayed, with a snackbar mentioning the possibility of a refresh (list + product data). In a first approach, I can add a "refresh" button and method to the history page, that would refresh the products of the history - not the history itself of course. The choice of the most relevant UI/UX for that will come next. Regarding the product page, the method |
…y page Impacted file: * `product_list_page.dart`: added a "refresh products" button; refactored
From #1192, just one click from history page updates the history products. As @M123-dev pointed out, the coded solution will not be good if we have 1000s of products in the history, but neither will the whole app, as one of the 3 preloaded tabs displays the history page that first loads ALL the history products and then displays them in a more elegant way with Does it make sense to keep 1000s of products in history? Should we display them page by page? Should we truncate the history to a reasonable (?) size? If those questions are interesting enough for the project (given its goals), please feel free to create a specific issue or discussion. Now I close this issue, as it's now possible very easily to refresh the history. @teolemon If you prefer a more automatic process, please create a new issue. |
The refresh strategy for the history is confusing. Beyond the recent schema change, products get completed on a rolling basis.
To 'fix" products in my history, I have to:
I would expect a more agressive refresh strategy (attempt to refresh silently on product opening, and refresh on "pull to refresh" in history
Originally posted by @teolemon in #788 (comment)
The text was updated successfully, but these errors were encountered: