Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Profile data not updated without going to Statistics page #423

Closed
MichaelKohler opened this issue Mar 23, 2021 · 3 comments
Closed

Profile data not updated without going to Statistics page #423

MichaelKohler opened this issue Mar 23, 2021 · 3 comments
Assignees
Labels

Comments

@MichaelKohler
Copy link
Member

MichaelKohler commented Mar 23, 2021

If a user doesn't visit the statistics page, we never download the stats and therefore the numbers on the profile section will always show 0.

Notes:

  • We can use the same endpoint/logic as for the statistics
  • However we need to make sure that we don't query too often, every 6 hours maximum (same as stats)

Initially reported here: https://discourse.mozilla.org/t/contributions-not-being-reflected-after-contributing-sentences/77497

@bact
Copy link
Contributor

bact commented Apr 20, 2021

Currently, in Statistics page, you will have to go to the page, wait for a bit, and the stats will get updated on the page dynamically (but I think the refetch of new data is now limited to once or twice a day).

For a user who get used to it, I think it's fine (and I personally like it this way, concerning the impact to system performance).

For a new user, this might be an issue as it doesn't provide a straight forward feedback loop and may affect their willingness to continue the contribution.

@MichaelKohler
Copy link
Member Author

With #149 the architecture would need to change a bit to optimise database load, which we then also can leverage for the stats page. Until then I'd rather leave the stats page as it is while improving the experience on the profile page. But there will be waiting times.

@MichaelKohler MichaelKohler self-assigned this Jun 27, 2021
MichaelKohler pushed a commit that referenced this issue Jun 27, 2021
# [2.5.0](v2.4.11...v2.5.0) (2021-06-27)

### Bug Fixes

* do not show skipped sentences again in Swipe Review Tool (fixes [#421](#421)) ([c5154b1](c5154b1))
* move user stats to user endpoint (fixes [#423](#423)) ([28f87f3](28f87f3))

### Features

* add sentence overview and possibility to delete own sentences (fixes [#118](#118)) ([94bd170](94bd170))
@MichaelKohler
Copy link
Member Author

🎉 This issue has been resolved in version 2.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

No branches or pull requests

2 participants