Skip to content
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

feat: 4554 - new links in FAQ #4572

Merged
merged 4 commits into from
Aug 19, 2023

Conversation

monsieurtanuki
Copy link
Contributor

@monsieurtanuki monsieurtanuki commented Aug 18, 2023

What

  • Added links in the FAQ

Screenshot

top bottom
Screenshot_2023-08-18-12-35-51 Screenshot_2023-08-18-12-36-01

Fixes bug(s)

Impacted files

  • app_en.arb: added labels for the 9 new items
  • app_fr.arb: added labels for 4 new items
  • user_preferences_faq.dart: added 9 items; fixed 2 items
  • product_query.dart: new replaceSubdomain method

Impacted files:
* `app_en.arb`: added labels for the 9 new items
* `app_fr.arb`: added labels for 4 new items
* `user_preferences_faq.dart`: added 9 items; fixed 2 items
* `product_query.dart`: new `replaceSubdomain` method
@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2023

Codecov Report

Merging #4572 (e639747) into develop (9c6138d) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #4572      +/-   ##
===========================================
- Coverage    10.34%   10.30%   -0.05%     
===========================================
  Files          296      296              
  Lines        15340    15403      +63     
===========================================
  Hits          1587     1587              
- Misses       13753    13816      +63     
Files Changed Coverage Δ
...ib/pages/preferences/user_preferences_connect.dart 4.72% <0.00%> (-0.54%) ⬇️
...pp/lib/pages/preferences/user_preferences_faq.dart 4.91% <0.00%> (-2.78%) ⬇️
packages/smooth_app/lib/query/product_query.dart 6.38% <0.00%> (-0.94%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Impacted files:
* `RVB_ICON_BLACK_BG_OBF.svg`: dark version of Beauty app icon
* `RVB_ICON_BLACK_BG_OPF.svg`: dark version of Product app icon
* `RVB_ICON_BLACK_BG_OPFF.svg`: dark version of Pet Food app icon
* `RVB_ICON_WHITE_BG_OBF.svg`: light version of Beauty app icon
* `RVB_ICON_WHITE_BG_OPF.svg`: light version of Product app icon
* `RVB_ICON_WHITE_BG_OPFF.svg`: light version of Pet Food app icon
* `user_preferences_faq.dart`: new icons for app install, dark and light
@monsieurtanuki
Copy link
Contributor Author

@teolemon App icons are small, aren't they?

dark light
Screenshot_2023-08-18-18-45-37 Screenshot_2023-08-18-18-45-08

@teolemon
Copy link
Member

teolemon commented Aug 18, 2023

I don't know if we could trim them, and how relevant that would be if we want to reuse them for more serious things at a later time. Eg icon of a flavor

@monsieurtanuki
Copy link
Contributor Author

@teolemon We can cheat a little, and display svg bigger than icons

All centered in 48x48, svg width 48, icon standard size 24:

top bottom
Screenshot_2023-08-18-19-08-48 Screenshot_2023-08-18-19-08-59

All centered in 48x48, svg width 48, icon size 36:

top bottom
Screenshot_2023-08-18-19-13-21 Screenshot_2023-08-18-19-13-30

@teolemon
Copy link
Member

Nice for the nutriscore size 👌

Impacted file:
* `user_preferences_faq.dart`: all icons are now centered on a 48x48 square, the real icons have the standard size, and the svg icons have a width of 48
@monsieurtanuki
Copy link
Contributor Author

@teolemon I've just pushed the "All centered in 48x48, svg width 48, icon standard size 24" version.

Copy link
Member

@teolemon teolemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me

Impacted files:
* `app_en.arb`: added labels for the new 5 items
* `user_preferences_connect.dart`: added 5 items
* `user_preferences_faq.dart`: minor refactoring
@monsieurtanuki
Copy link
Contributor Author

Oops, I've just pushed a fix to #4552:
Screenshot_2023-08-19-10-04-07

@teolemon I merge it as it is, feel free to ask for slight changes like icons.

@monsieurtanuki monsieurtanuki merged commit 369f145 into openfoodfacts:develop Aug 19, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants