Skip to content

Show newest activity first under 'All' activity

Kenneth Chu requested to merge kenneth-followed-users-activity-newest-first into master

What does this MR do and why?

After !77028 (merged) was merged, the events listed under 'All' activity for followed users was listed from oldest to newest.

This MR seeks to fix this so the activity is listed from newest to oldest, similar to all the other event filters.

Screenshots or screen recordings

Before this MR:

image

With this MR merged:

image

How to set up and validate locally

  1. Create a new user. (Let's call them UserA)
  2. Login as UserA, and create a new project.
  3. Wait at least one minute (so that the timestamps differ in the interface), and create an issue in the project.
  4. Login as another user.
  5. Follow UserA by going to https://<your_gitlab_instance>/UserA and clicking the Follow button
  6. Visit https://<your_gitlab_instance>/dashboard/activity?filter=followed
  7. Choose the 'ALL' filter.
  8. Observe order of events.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports