"Synced just now" in the Library header never updates while the page is open #27
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/rm-analyzer#27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Library header's "Synced …" time (
relative_time/1inremarkable_components.ex, used inRemarkableLive) is only worked out when the page renders, so if you sit on the page it keeps saying "just now" (or whatever it said when it loaded) until something else re-renders it.It'd be nice if it updated live while the page is open, but not too often: e.g. a timer in the LiveView (or a small JS hook) that refreshes it about once a minute, which matches how coarse the wording is past the first minute.