forked from openfoodfacts/smooth-app
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 5986 - "top price locations" page
New files: * `price_location_widget.dart`: Price Location display (no price data here). * `prices_locations_page.dart`: Page that displays the top prices locations. Impacted files: * `app_en.arb`: added labels for locations pages; added tooltips for tiny prices count buttons (proofs, prices, products, users) * `get_prices_model.dart`: minor refactoring * `labeler.yml`: wtf * `price_button.dart`: minor refactoring * `price_count_widget.dart`: refactored with "onPressed" as this button is now used somewhere else * `price_data_widget.dart`: now links to new page "PricesLocationsPage"; refactored because of new class "PriceLocationWidget" * `price_location_card.dart`: minor refactoring * `price_product_widget.dart`: refactored according to "PriceCountWidget" evolutions * `price_user_button.dart`: minor refactoring * `prices_users_page.dart`: minor refactoring * `product_prices_list.dart`: now displays the location once and on top, if relevant (e.g. "prices in that location") * `user_preferences_prices.dart`: now links to new page "PricesLocationsPage"; minor refactoring
- Loading branch information
1 parent
2038f32
commit d14f49c
Showing
14 changed files
with
446 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 16 additions & 43 deletions
59
packages/smooth_app/lib/pages/prices/price_count_widget.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.