Skip to content

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
Screenshot_2025-07-15_at_11.43.46_AM Screenshot_2025-07-15_at_11.43.34_AM

How to set up and validate locally

  1. Enable the personal_homepage feature flag: https://gdk.test:3443/rails/features/personal_homepage.
  2. Enable the Personal homepage option in your user preferences' Homepage setting: https://gdk.test:3443/-/profile/preferences.
  3. 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

Merge request reports

Loading