open-prices-frontend
open-prices-frontend copied to clipboard
Dashboard stuck at 0 prices ( number of proofs ok ) while userpage showing plausible number of prices and updating
What
Main bother is there's no PriceActionMenuButton
displayed to edit/delete prices or proofs
Platform (Desktop, Mobile, Hunger Games)
- Both on mobile Android 5 using up-to-date Fennec browser and Desktop Firefox 125.0.3
Hi @serpico , can you try to log out and log in again ?
It seems to be an old bug, that I think we solved. see #360
I tried ( on both mobile and desktop ) I think my initial username was lowercase, I tried using Uppercase see if it would change something but it's like it's forcing the lowercase.
After your message I logged in with a different browser's profile, so as to avoid something related to password manager, using lowercase but to no avail, still 0 prices in dashboard.
Is it still an issue ?
Thanks a lot for following up.
It's even worse :)
Prices were always 0 and a couple days ago or last week proof went to 0 see screenshots from webapp and smoothie.
In smoothie, I'm not sure there supposed to be a number next to My proofs as there is one next to My price, but I can see my proofs and prices when I tap on the respective buttons.
I browsed a few issues about editing prices, changing locations, etc...some of them were solved, I poked around the UI in the webapp to see if I could find some menu in webapp to edit my prices but could find any ( can you post a screenshot if there is/are, indeed, menu(s) ? to change date, change location of price, etc )...and also thought maybe it's related if the webapp consider I have 0 price it makes sense that I'm not allowed to edit/modify/delete any.
it's strange, when calculating user stats you have many prices & proofs
your dashboard still shows 0 ? are you logging in using your username ?
your dashboard still shows 0 ? are you logging in using your username ?
Yep, still 0 for both Mes Prix and Mes Preuves as shown on the screenshot in the comment above https://github.com/openfoodfacts/open-prices-frontend/issues/571#issuecomment-2336764080
Yep only one username, and I see the same values as those appearing in your last screenshot when I go to top contributors
Is there another way ( link inside a page or whatever ) for registered user to access his proof's page ?
However :
https://prices.openfoodfacts.org/app/dashboard/proofs gives :
https://prices.openfoodfacts.org/app/dashboard/prices gives :
Something must've happened 186 proofs ago ( 407-221 ) and didn't happen since...would that help if I gave you a date ?
and same on mobile ? it could also be a browser cookie issue. I really don't know..
in https://prices.openfoodfacts.org/app/dashboard/prices the underlying API query is
https://prices.openfoodfacts.org/api/v1/prices?app_name=Open+Prices+Web+App&page=1&size=20&order_by=-created&owner=serpicozaure
For the record, here are the screenshots on mobile, I'll try to log in with a different computer in a few weeks, see if that changes anything.
ok the big issue here is your email showing up, it should be your username. sorry for asking again, but did you try to log out, and log back in (with just your username, not your email) ?
Don't apologize, all the less since you solved the issue :) I don't know if I didn't understand the first time, anyway I thought they were interchangeable. Now it shows a coherent number of proofs and prices. Thanks for your patience.
keycloak is coming soon - https://github.com/openfoodfacts/openfoodfacts-auth - it should simplify this in the future !