-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Create a button to extend research to world #1343
Comments
What is your country? |
Oh, GitHub removed the sound ? |
@teolemon I managed to hear you. I've just run the "lasagne" test and got 500 products (as France). Then I've refreshed as USA, and got 53 products. |
Ah. Ok, will be mocking up a button to extend to world |
Btw, duplicate with #2339. I'm sure there are other ways in 2022 to alert the user. E.g. a banner: In flutter it's called a Each time we run a query, we could run the same query for the world with no data (like pageNumber=1, pageSize=1, fields=barcode) just to get the In addition to that, what would trigger this banner? I mean, I'm in France and I'm looking for "pizza", there are 5K results, why would you display a banner about a search at the world level? |
It's mostly for countries with little to no products yet. |
Is there a list of such countries? |
In a first approach we can put a switch item in dev mode: "propose world products yes/no" |
Not really, it's a gimmick from the web version |
I'm sorry @monsieurtanuki could you please translate the messages? My understanding of French is limited :((( |
@VaiTon Oops - the same in English [Edited with the new "Search world" label]
|
@monsieurtanuki thank you! Really like it! Maybe using "Search World" instead of "Entire World" would be more representative of the action? Not a blocker though |
…isplay Deleted file: * `group_query_filter_view.dart`: old code never used and never changed Impacted files: * `app_en.arb`: added 2 labels for "world results" * `app_fr.arb`: added 2 labels for "world results" * `category_product_query.dart`: implemented world query * `keywords_product_query.dart`: implemented world query * `paged_product_query.dart`: introduced word query parameter and methods * `paged_search_product_query.dart`: implemented world query * `paged_to_be_completed_product_query.dart`: implemented world query * `product_list_supplier.dart`: refactored * `product_model.dart`: loosely related safer "notifyListeners" method * `product_query.dart`: now storing here the country, which makes "world" queries possible * `product_query_model.dart`: removed all the "category filter" code; better management of the "what if the refresh download fails?" case * `product_query_page.dart`: added "world" queries; removed the "category filter" code; now displays a `MaterialBanner` (more flexibility than a `SnackBar`) * `smooth_theme.dart`: added a banner theme for `MaterialBanner`
Deleted file: * `group_query_filter_view.dart`: old code never used and never changed Impacted files: * `app_en.arb`: added 2 labels for "world results" * `app_fr.arb`: added 2 labels for "world results" * `category_product_query.dart`: implemented world query * `keywords_product_query.dart`: implemented world query * `paged_product_query.dart`: introduced word query parameter and methods * `paged_search_product_query.dart`: implemented world query * `paged_to_be_completed_product_query.dart`: implemented world query * `product_list_supplier.dart`: refactored * `product_model.dart`: loosely related safer "notifyListeners" method * `product_query.dart`: now storing here the country, which makes "world" queries possible * `product_query_model.dart`: removed all the "category filter" code; better management of the "what if the refresh download fails?" case * `product_query_page.dart`: added "world" queries; removed the "category filter" code; now displays a `MaterialBanner` (more flexibility than a `SnackBar`) * `smooth_theme.dart`: added a banner theme for `MaterialBanner`
What
Part of
Video with audio commentary
screen-20220326-133949.mp4
The text was updated successfully, but these errors were encountered: