20 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
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
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
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
a3f44f4c3b KP enhancements (#6184) 2025-01-12 12:14:47 +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
3655c3b300 feat: Scan cards share the same UI (#5866)
* Harmonized UI for scan cards

* Update packages/smooth_app/lib/l10n/app_en.arb

Co-authored-by: Pierre Slamich <pierre.slamich@gmail.com>

* Fix build issue

---------

Co-authored-by: Pierre Slamich <pierre.slamich@gmail.com>
2024-11-18 15:24:05 +01:00
9f713f5c20 feat: Add btn to finish adding new product (#4706) 2023-10-31 23:51:59 +01:00
a6997733af feat: Robotoff question as a banner or a button (#4280)
* Robotoff question in a product, visible as a banner (at the bottom of the screen) or in a button (current implementation)
We split the users into two cohorts and we will have some Analytics to understand if one is better than the other.
The CongratsWidget is also improved by some animations and accessibility

* Now with a better animation
2023-07-29 19:28:12 +02:00
9ebe5c849c feat: Remove a maximum of hardcoded sizes and move Padding to Directional ones (#2534)
* Remove a maximum of hardcoded sizes and move Padding to Directional ones

* Fix build issue

Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
2022-07-13 14:58:02 +02:00
fcec6e5045 ScoreCards & Robotoff cards now use an angular radius (#1943) 2022-05-23 19:18:47 +02:00
02067d7add feat: Colorpicker in dev settings (#1881)
* feat: Colorpicker in dev settings

* Update user_preferences_dev_mode.dart

* feat: Update old color tag system to new custom color system

* Update product_list_page.dart

* No unnecessary return
2022-05-21 17:58:34 +02:00
e2aa72d155 feat: If camera permission is denied, allow the user to approve it again (#1583)
* No need to store if the camera permission was denied once (the framework provides this info)

* Prepare layout for showing an error when the camera is not granted

* UI to ask for permission

* UI changes

* Revert "Merge branch 'develop' into camera_permission"

This reverts commit f7bf249fcf732d5756152dde25d0f8c1624b2819, reversing
changes made to 8b0adc564ad93009c069c49f553c098c0238a0db.

* Update app_en.arb

Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
2022-04-17 21:21:17 +02:00
ad0f96a101 fix: Fixed Scan cards with different sizes (#1573)
* Fixed Scan cards with different sizes #1568

* Changed EdgeInsets.only to EdgeInsets.symmetric

* pushed accidentally

* pushed accidentally

* Pushing the correct versions of ios files that were deleted

* Added a line to project.pbxproj to match the remote develop branch

Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
2022-04-15 14:04:08 +02:00
0d61134375 General radius throughout the app (#1179)
* Added design const

* ROUNDED_RADIUS

* General radius throughout the app

* Update smooth_main_button.dart

* .all instead of .circular
2022-03-03 21:25:46 +01:00
e874bbeea0 refactor: Package merge (#981) 2022-01-26 16:50:13 +01:00