15 Commits

Author SHA1 Message Date
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
67539c17f3 Suggestions for countries (#6344) 2025-02-05 16:05:29 +01:00
8af3cc8876 feat: Help text for all fields (#6324)
* Explanations for brands & quantity

* Traceability codes

* Add missing fields

* fix Typo

* Tesco -> Carrefour

* Fix for single texts
2025-02-05 10:25:48 +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
d3893675d5 fix: KP UI improvements (font size/font height…) (#6155)
* KP improvements

(cherry picked from commit 9506642832d82356a8ab717de5d07e3273e73cfe)

* Use the correct variant of the SVG

* Improve normal text in dark mode
2025-01-08 13:37:31 +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
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
1573d32949 feat: Country selector redesign (#5483)
* Redesign of the country selector

* CW

* Search filter

* Fix Lint warning

* Small improvements
2024-07-20 23:17:45 +02:00
3b88ac0709 Onboarding with main/home page from V2 (#5382) 2024-06-15 17:59:04 +02:00
4db1d6c25c feat: currency symbols (#5311)
New file:
* `currency_extension.dart`: Currency symbols.

Impacted files:
* `country_selector.dart`: fixed a typo that prevented the filter from working with uppercase.
* `currency_selector.dart`: displayed the new currency full name
* `currency_selector_helper.dart`: displayed the new currency full name; fixed a typo that prevented the filter from working with uppercase.
* `price_currency_selector.dart`: displayed the new currency full name
* `smooth_text.dart`: managed the case where we search for special chars like $
2024-05-30 19:30:53 +02:00
e904b05630 fix: Don't rely on removeDiacritics to highlight text (#4636)
* When we highlight a suggestion, we can't rely on the `removeDiacritics`, as it replaces some letters of 1 word into 2 or +

* Better algorithm

* Remove unused things

* Fix typo

* Unnecessary brackets

* Replace all `toLowerCase` + `removeDiacritics` by a single `getComparisonSafeString`

* Reformat CountrySelector

* `removeAccents` removed + 1 new test

---------

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
2023-12-16 12:08:01 +01:00
09d32c12a6 feat: Use the search eye animation from the POC (#4833)
* Use the search eye animation from the POC

* Oops I forgot the translation

---------

Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
2023-11-24 15:49:42 +01:00
ba7d988f4e Filterable text: ensure to remove accents when comparing (#4394) 2023-07-29 19:16:39 +02:00
fe31fd9cdf feat: Ensure Country / Language / Nutrient picker look the same (#4389)
* Ensure Country / Language / Nutrient picker look the same

* Add a const constructor

* Some small improvements
2023-07-28 15:34:39 +02:00
dc6f12f5d9 feat: Use a "well spaced" text style when there are many lines (#3825)
* Use a "well spaced" text when there are many lines of text

* Fix formatting
2023-04-17 18:07:50 +02:00