Notifications should say "Now", or "Just now" instead of "0 minutes ago"
Closed this issue ยท 3 comments
flodolo commented
mathjazz commented
Note that we have two different implementations of the Notifications panel and this bug is specific to the one powered by a Django template:
https://github.com/mozilla/pontoon/blob/main/pontoon/contributors/templates/contributors/widgets/notifications_menu.html#L51
We should use a JS library that refreshes the presented value regularly, same as we do in the React implementation that's used in the translate view.
We already load jquery.timego.js, but it seems like the actual library file is not present:
https://github.com/mozilla/pontoon/blob/main/pontoon/settings/base.py#L545
mathjazz commented
@RafaelJohn9 Would you take this one?
RafaelJohn9 commented
๐ Yea sure, I will ๐