Skip to content

msglist: Refresh msglist recipient-header date text periodically to respond to current-date change #891

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

Open
chrisbobbe opened this issue Aug 17, 2024 · 1 comment
Labels
a-msglist The message-list screen, except what's label:a-content
Milestone

Comments

@chrisbobbe
Copy link
Collaborator

chrisbobbe commented Aug 17, 2024

Untested, but from reading code, it seems like if it's near midnight and you're looking at a recipient header that says "TODAY", it won't update to "YESTERDAY" after midnight unless something unrelated to the clock causes it to update. We can fix this by running a check every minute or so, to refresh the current-time value that controls that text.

(Same for the transition from "YESTERDAY" to an absolute date.)

Related issues

@chrisbobbe chrisbobbe added the a-msglist The message-list screen, except what's label:a-content label Aug 17, 2024
@chrisbobbe chrisbobbe added this to the Post-launch milestone Aug 17, 2024
@gnprice
Copy link
Member

gnprice commented Aug 17, 2024

Yeah, agreed.

This is a bug that web has even today in a much more conspicuous place, namely "Recent conversations" — I regularly get fooled by a conversation being shown there as "Just now", when in reality it was like 20 minutes ago and that just happens to be the last time anything exogenously caused the table to get updated. So I agree this is a post-launch issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-msglist The message-list screen, except what's label:a-content
Projects
Status: No status
Development

No branches or pull requests

2 participants