sanity
sanity copied to clipboard
Show the date and time when change is hovered
Description
This pull request adds a hover effect that shows the date and time (or ISO timestamp) for a given change.
This helps out users that are looking at changes made weeks or months ago, that need to know the precise moment a change occurred (or at least the actual date), instead of "2w", "1y" etc.
What to review
Make sure the code compiles, and that you want to use the ISO format. This was the quickest way to provide as much detail as possible without cluttering up the code with date formatting.
Notes for release
Add support for showing the exact date and time a timeline item happened, by hovering a given timeline item.
@selbekk is attempting to deploy a commit to the Sanity Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
perf-studio | ✅ Ready (Inspect) | Visit Preview | Apr 27, 2022 at 2:50PM (UTC) |
studio-workshop | ✅ Ready (Inspect) | Visit Preview | Apr 27, 2022 at 2:50PM (UTC) |
test-studio | ✅ Ready (Inspect) | Visit Preview | Apr 27, 2022 at 2:50PM (UTC) |
Thanks for the PR @selbekk! - we decided to make this a tooltip in #3628 to align it with how we show timestamps elsewhere.