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

Gamification & User management (tracker) #102

Open
6 of 8 tasks
Tracked by #37 ...
teolemon opened this issue Jul 31, 2022 · 1 comment
Open
6 of 8 tasks
Tracked by #37 ...

Gamification & User management (tracker) #102

teolemon opened this issue Jul 31, 2022 · 1 comment
Assignees

Comments

@teolemon
Copy link
Member

teolemon commented Jul 31, 2022

What

Tasks

Preview Give feedback
  1. on hold

Part of

@alexfauquette
Copy link
Member

@sumana2001 The PR for login is merged

On mobile the header has now an ugly indicator:

If logged in the user icon is green (on the right the https://world.openfoodfacts.org/ page)

image

If disconnected, it's red

image

You can look in App.jsx to see how network is managed. From every where in the application, you have access to isLoggedIn userName and an async function refresh that returns true if the user is logged in and updates the provider data if nedeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants