hey icon indicating copy to clipboard operation
hey copied to clipboard

Show absolute timestamp when hovering mouse cursor over "x days ago"

Open foolo opened this issue 2 years ago • 3 comments

Summary

Show a popup label with absolute date and time when user hovers mouse cursor over a relative timestamp (e.g. "5 days ago"). The feature already exists on messaging page (added in #1137) but not in other places on the website.

Example: vlcsnap-2022-11-21-15h20m39s080

foolo avatar Nov 21 '22 14:11 foolo

@bigint I can implement this, but I just want to check first if you think it's a good idea?

foolo avatar Nov 21 '22 14:11 foolo

I don't think its good to show a tooltip for this, native tooltip is fine for this

bigint avatar Nov 28 '22 03:11 bigint

native tooltip is fine for this

@bigint I guess with "native tooltip" you mean it's OK to simply add for example a title html attribute tag, so that the browser's native tooltip is used? Like here: https://github.com/lensterxyz/lenster/pull/1137/files#diff-a70761abc7cee89a75a1bda903f5aa207d9a4cf04b825393cfa60f4c70efca92

And regarding "I don't think its good to show a tooltip for this", I guess you are referring to the Tooltip class? (apps/web/src/components/UI/Tooltip.tsx)

foolo avatar Nov 28 '22 07:11 foolo

This issue has been locked since it has been closed for more than 10 days.

If you found a concrete bug or regression related to it, please open a new bug report.

github-actions[bot] avatar Jan 07 '24 15:01 github-actions[bot]