232 Commits

Author SHA1 Message Date
72ec278689 feat: Redesign of the list of prices (#6716)
* Redesign of the list of prices

* Fix

* Revert the iOS config
2025-07-07 12:27:58 +02:00
692610cf6f Bump to flutter_lints 6.0.0 (#6713) 2025-07-06 12:01:44 +02:00
a0eb340732 fix: Scroll inside bottom sheet (#6693)
* Fixe issue with scroll inside bottom sheet
2025-07-04 08:58:57 +02:00
e3bc40fdf3 chore: Migration to Dart 3.8 (#6668)
* Migration to Dart 3.8

* New GA

* Fix dartdoc
2025-06-23 18:14:17 +02:00
dda75e283e feat: Flutter 3.32 (#6665)
* Migration to Flutter 3.32

* Temporary ignore dart formatter issues
2025-06-23 09:56:00 +02:00
1f0efbf989 fix: 6565 - put back the fix about long bottom sheets (#6618) 2025-05-28 17:07:56 +02:00
6b1c38369a fix: Hotfixes on 4.20.0 (#6600)
* Ensure the NutriScore guide always have a white status bar

* Fix food icons

* Product card without attributes

* Non-selected popular languages must be in the general list

* Fix infinite scroll

* Minor fixes for NOVA 2/3
2025-05-16 21:30:02 +02:00
5d1279cf32 fix Languages sort order (#6592) 2025-05-15 09:51:35 +02:00
2b558dc03f UI improvements (#6581) 2025-05-06 10:22:30 +02:00
453ccf558f feat: Improvements for Robotoff questions in Edit mode (#6579)
* Improve robotoff questions in edit mode

* SmoothImage for the proof

* Remove print statement
2025-05-05 19:23:01 +02:00
9a23a8c5ba feat: add properties (Folksonomy Engine) button to navbar (#6505)
Co-authored-by: Edouard Marquez <moi@edouard-marquez.me>
2025-05-05 01:05:51 +02:00
f6284e0861 feat: Adding Robotoff Questions to product edition (#6407)
* feat: adds robotoff questions to SimpleInputPage

* feat: add localization for Robotoff question answered message

* fix: remove unused import

* Added missing type annotation

* feat: redesigned Robotoff questions integration.

* fix: update state change notification mechanism in AbstractSimpleInputPageHelper

* feat: improve layout and padding in SimpleInputWidget and SmoothIconButton

* feat: implement SmoothBooleanButton for enhanced boolean selection UI

* fix: take into account multiple questions

* Merging translations

* Update packages/smooth_app/lib/pages/product/simple_input_page.dart

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>

---------

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
2025-04-26 16:58:02 +02:00
c63e24a973 fix: resolve layout overflow in first-time price privacy dialog (#6402)
* resolve layout overflow in first-time price privacy dialog

* Revert "resolve layout overflow in first-time price privacy dialog"

This reverts commit cc7c2a6ed6a9b214cb2f95d4cf88adafbbdc7f5a.

* Fix Bottom Sheet Layout & Scrolling Behavior

* format code
2025-03-11 20:20:31 +01:00
e93f0692c4 feat: Added Robotoff nutrition extraction to nutrition edit page (#6366)
* Add robotoff nutrition extraction to nutrition edit page

* feat: Enhance nutrition extraction UI with loading indicators and improved nutrient handling

* feat: Add localized messages for nutrient extraction actions and results

* feat: Track robotoff nutrition extraction events and update UI components

* Removed duplicated translation entries

* feat: Refactor analytics tracking for Robotoff nutrition events
2025-03-02 14:47:52 +01:00
740ea86acb fix: Infinite redraw in the gallery (#6355) 2025-02-11 11:37:15 +01:00
67539c17f3 Suggestions for countries (#6344) 2025-02-05 16:05:29 +01:00
097dc91b85 Revert "feat: Product page redesign" (#6332) 2025-02-04 11:17:34 +01:00
90fb5d4c43 Merge branch 'develop' into develop 2025-02-04 08:41:07 +01:00
cdf637d960 fix: Product edition UI improvements (#6320)
* Edition improvements

* Sketch file

* Nutrition editor: the Next key is working again on Android

* Nutrition editor: tapping the title will force the focus on the TextField
2025-02-03 17:26:56 +01:00
d8e101666e Languages selector in a modal sheet (#6316) 2025-01-30 16:36:00 +01:00
61585caadd feat: Edit product page with product type + footer (#6313)
* Edit product page with product type + footer

* Revert background_task_image

* Haptic feedback for barcode copy

* Fix a regression with TopBar2
2025-01-30 16:31:31 +01:00
8aab910da1 Fixed formatting issue 2025-01-28 18:05:36 +01:00
368a44ca33 Implemented review comments + Dev mode 2025-01-27 10:23:39 +01:00
74fe8560be feat: Multi-lingual input for product name + help banner (#6286)
* Explanation banner for the product name

* Bad examples with the wrong title

* Reorder header icons

* Oops… dark mode

* Dark mode x2

* Fix "Nesquik" typo

* With banner

* Remove the warning icon from the Help modal sheet (too ugly)
2025-01-27 08:01:05 +01:00
4cef8f04e7 fix: 6281 LateError: LateInitializationError (#6287)
* Multi-lingual input for product name

* Fix LateError: LateInitializationError
2025-01-26 12:35:24 +01:00
4890b1bb76 Improvements for nutrition facts input (#6270) 2025-01-24 16:05:19 +01:00
8324456818 feat: Improved nutrition input (#6261)
* Improved nutrition input

* Translate all TODOs

* Loading + error states

* Update labeler

* "Add" icon with the same size as "Help"

* Fix light/dark mode switch issue

* Button to a nutrient at the bottom

* Remove warning
2025-01-21 19:20:48 +01:00
ebe11291d4 Alert modal sheet (#6253) 2025-01-20 19:20:20 +01:00
0020264c40 feat: Add infos about the photo in the modal sheet (gallery) (#6229)
* Info about the photo in the banner

* Contributor's name + expandable container

* Recenter outdated icon
2025-01-19 13:03:55 +01:00
0c6cf073d4 feat: Use a WebView for OFF links (#6211)
* Use a WebView for KP links

* FAQ links
2025-01-19 12:17:13 +01:00
e62f1470a5 feat: A modal sheet for price proof selector (#6238)
* A modal sheet for price proof selector

* Fix padding

* Same icons as the photo gallery
2025-01-19 12:15:26 +01:00
bf5ff8468d Snackbar action button with a different background (#6233) 2025-01-19 12:14:30 +01:00
4e8209d4e7 feat: Same layout between country/language pickers (settings) (#6231)
* Use the same layout between the country and language picker (in the settings)

* Add missing type
2025-01-19 12:14:19 +01:00
995cb1b73b feat: Folksonomy Editor (updated UI, modal sheet…) (#6194)
* Taxonomy UI

* Italic hint style

* Remove dead code
2025-01-13 14:17:59 +01:00
14da48d399 feat: "Quit without saving?" in a modal sheet (#6192)
* "Quit without saving?" in a modal sheet

* Revert changes on SmoothAlertDialog

* Fix bottom margin
2025-01-13 14:16:43 +01:00
975ab434ec Pinch to zoom explanation + handle errors (#6186) 2025-01-12 16:00:46 +01:00
f718444185 feat: 4 bugfixes (URLs, language selector icon & unknown lng) (#6185)
* Wrong icon color for Language Selector

* Ensure the link opens in a browser

* Fix URLs

* UNknown language support for tabbar
2025-01-12 12:20:07 +01:00
a3f44f4c3b KP enhancements (#6184) 2025-01-12 12:14:47 +01:00
af4e8c3aa3 fix: Harmonize owner field icon + bugfixes (#6175)
* Harmonize owner field icon

* Margin fix

* Remove warnings

* Fix Login/Signup pages

* Emojis disabled + text capitalization
2025-01-11 12:07:08 +01:00
0102ede2d2 Edit product page: clickable barcode + open product on website (#6180) 2025-01-11 12:04:51 +01:00
e37d5698db 3 variants (#6163) 2025-01-10 11:29:44 +01:00
54b9f4010e Use a SmoothFloatingSnackbar on all screens (#6169) 2025-01-10 09:58:27 +01:00
863aa76e62 fix: Language selector + ingredients (text field + outdated) (#6170)
* Language selector + ingredients text field

* Minor fix

* Outdated explanations

* Remove shadow from edit buttons

* Invert colors for Cancel/Save buttons in dark mode

* Format

* SafeArea for Edit Page
2025-01-10 09:56:44 +01:00
019e319384 feat: New UI for history/search lists (#6161)
* Change the UI of history/search list items

* Update goldens
2025-01-09 16:08:37 +01:00
5ddb5127ec New UI for ingredients (#6156) 2025-01-08 13:38:50 +01:00
1f8ad04833 feat: UI improvements for the edit mode (bis) (#6147)
* Improvements for Edit mode (once again)

* Basic details improvements

* Basic details hints

* Force the new layout on subpages
2025-01-07 14:14:46 +01:00
d1ebb689d9 feat: UI improvements for the edit mode (#6132)
* UI improvements for the edit mode

* Better website input

* Some comments + minor fixes

* Add missing bottom space

* Fix page padding

* Help is better embedded

* Change ingredients instructions
2025-01-06 20:20:01 +01:00
43d282a241 fix: 5 bugfixes (icons color, better network mgmt / Japanese…) (#6127)
* Fix the elevated button color

* Scan tagline : when there is an error, hide the image

* Better management of errors for the `ProductPicture`

* Force a loader for the gallery

* Fix Japanese issue with tables

* Update packages/smooth_app/lib/cards/product_cards/smooth_product_image.dart

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>

* Force a color for Price buttons

---------

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
2025-01-06 08:52:08 +01:00
454060e6c0 Better selection area (#6113) 2025-01-04 11:51:51 +01:00
85c13502d2 Migration to Flutter 3.27 (#6076)
Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
2024-12-29 15:20:05 +01:00