-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
Implement Open Food Facts contribution signup inside Smoothie #702
Comments
@monsieurtanuki would you be interested by this one ? There's some pre-existing Android code and logic to steal from. |
@teolemon Working on it... |
Virtually done.
We'll definitely need more explicit messages. By the way there's no language parameter in In the meanwhile, @teolemon could you point me to some existing pre-validation code before the actual call to |
Ok @teolemon I had a look at your OP links. I don't speak kotlin but I think I can handle this. |
New file: * `sign_up_page.dart`: Sign Up Page Impacted files: * `login_page.dart`: added a call to new page `SignUpPage` * `smooth_text_form_field.dart`: added parameter `textInputType` (for emails); fixed the "obscure" bug * `user_management_helper.dart`: added validation methods for email, username and password
Impacted files: * `app_en.arb`: added 25 labels * `app_fr.arb`: added 25 labels * `login_page.dart`: reaction to the returned value of the sign up page * `sign_up_page.dart`: translated labels; added textInputActions; added a username check; added a reaction to the sign up api call * `user_management_helper.dart`: fixed the username regexp; created method `put` used for sign in and sign up
Impacted files: * `login_page.dart`: refactored * `sign_up_page.dart`: now this page puts the user in the preferences and pop's `true` (when successful)
New file: * `sign_up_page.dart`: Sign Up Page. `pop`s true if the sign up was successful. Impacted files: * `app_en.arb`: added 25 labels * `app_fr.arb`: added 25 labels * `login_page.dart`: added a call to new page `SignUpPage` * `smooth_text_form_field.dart`: added parameter `textInputType` (for emails); fixed the "obscure" bug * `user_management_helper.dart`: added validation methods for email, username and password; created method `put` used for sign in and sign up
What
Part of
The text was updated successfully, but these errors were encountered: