✨(frontend) expose the full last-update date - #2587
Conversation
Keep the relative timestamp in the document header while exposing the localized full date through the existing tooltip on hover and keyboard focus. Signed-off-by: fch-aa <21101725+fch-aa@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Walkthrough
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This localized change adds an accessible full last-update date while preserving the existing relative display, with no actionable merge-blocking risk remaining after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes #1215
Purpose
Documents currently show their last update as a relative value, which does not
provide the exact timestamp when users need it. This PR addresses #1215 by
exposing the localized full date on hover and keyboard focus while preserving
the existing compact relative-date display.
The copy action is intentionally omitted following the maintainer discussion
on the issue.
Proposal
useDate().formatDatelocalization utility.Tooltipcomponent.<time>markup with a machine-readable value.Local validation completed:
yarn test: 55 collaboration-server tests and 306 Impress tests passed.yarn lint: TypeScript and all frontend ESLint workspaces passed.yarn app:build: Prettier, Stylelint, TypeScript, and production build passed.gitlint --commits HEAD^..HEAD: passed.Video
2026-08-14.16-33-49.mp4
External contributions
General requirements
CI requirements
git commit --signoff(DCO compliance)git commit -S)<gitmoji>(type) title description## [Unreleased]section (if noticeable change)AI requirements