Skip to content

Skip updating project when a project is starred/unstarred

What does this MR do and why?

Earlier when a user stars/unstars a project, the project timestamps were updated as well. That resulted in project appearing at the top of the project list. This behaviour is not acceptable since projects that are updated by changes in their file/structure only should appear on top.

With the current code changes, project timestamps are not updated on starring/unstarring a project by the user. Hence, project order is not changed in the project list.


Before starring:

Screenshot_2022-08-11_at_4.23.29_PM

After starring:

Screenshot_2022-08-11_at_4.24.17_PM


How to set up and validate locally

  1. Browse to: http://localhost:3000/
  2. Pick a project from the projects list and note its updated date specified in the right most column on the page.
  3. Star/unstar that project
  4. Verify that there is no change in the updated date
  5. This can be verified on any page where the project can be starred/unstarred.

MR acceptance checklist

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

Related to #30247 (closed)

Edited by Mansoor Khan

Merge request reports