Ensure timeago is initialized in the activity widget
What does this MR do and why?
Ensure timeago is initialized in the activity widget
The homepage activity widget renders some timestamps that need to be
converted to timeago strings. We are doing that by observing changes
within the DOM tree and firing the localTimeAgo
helper when there are
some timestamps.
References
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Enable the
personal_homepage
feature flag: https://gdk.test:3443/rails/features/personal_homepage. - Enable the
Personal homepage
option in your user preferences'Homepage
setting: https://gdk.test:3443/-/profile/preferences. - Navigate to the homepage: https://gdk.test:3443/.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Paul Gascou-Vaillancourt