Skip to content

Only call fetch list items in graphql boards when list is not collapsed

Scott Stern requested to merge ss/dont-call-list-items into master

What does this MR do?

When loading issue boards and a list is collapsed we do not need to be fetching the list items until the user intends to open the list.

Setup

  • Feature.enable(:graphql_board_lists)
  • Go to an issue board or epic board (this does not work on swimlanes atm and not sure if we want to do this there)

Screenshots (strongly suggested)

2021-07-06_10.28.55

Perf Measurments (before)

Screen_Shot_2021-07-06_at_10.33.18_AM

Perf Measurments (after)

Screen_Shot_2021-07-06_at_10.33.59_AM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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
Edited by Scott Stern

Merge request reports

Loading