Disable trending argument on Projects GraphQL query

What does this MR do and why?

Disable the trending argument from the Projects GraphQL query, turning it into a no-op.

References

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Enable the disable_trending_args feature flag on http://127.0.0.1:3000/rails/features/
  2. (Optional) Run TrendingProject.refresh! to update the list of trending projects. Tweak the MONTHS_TO_INCLUDE accordingly.
  3. Go to http://127.0.0.1:3000/-/graphql-explorer and run the following query:
{
  projects(trending: true) {
    nodes {
      id
      name
    }
  }
}

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 Shane Maglangit

Merge request reports

Loading