Skip to content

Resolve "Refactor issues analytics filter handling"

What does this MR do?

This MR refactors the way in which query filter params are handled for issues analytics.

The old approach took the query params, merged them into a query string and then stored the string in the state. This made it very messing when needed to manipulate the query parameters. The new approach stores the query params as an object and builds the query strings as needed.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Related issue

#220344 (closed)

Edited by Brandon Labuschagne

Merge request reports