Learner’s relative time since last sync doesn’t update as time passes #11880
Labels
APP: Learn
Re: Learn App (content, quizzes, lessons, etc.)
DEV: frontend
help wanted
Open source contributors welcome
P1 - important
Priority: High impact on UX
Milestone
Spotted by @bjester in 0.16 sync session Feb 14 2024
Observed behavior
Unless the sync status changes, the relative time since last sync doesn’t change over time as time passes. It seems like there is a bug or inconsistency in our
<SyncStatusDisplay/>
component's use of relative time.Errors and logs
Expected behavior
While we are already referencing the relative time, we need to fix it if it not working, to update the sync status in between changes in the sync status itself. Another possibility is that we need to change the polling within the side panel, to provide more consistent updates to calculate the relative time, and call the function that calculates it more often. However, we do not want to be polling. If that seems to be the better fix after further investigation, there should be some proposal raised in the issue comments for team discussion before proceeding.
User-facing consequences
Confusion about when the last sync happened due to slow/inaccurate UI status.
Steps to reproduce
Notes:
Context
Kolibri
release-v0.16.x
The text was updated successfully, but these errors were encountered: