Skip to content

Fixed double boards list query on EE

Natalia Tepluhina requested to merge ntepluhina-fix-double-query-boards into master

What does this MR do and why?

Previously, when we were fetching deferred boardList query on EE, we had it duplicated: the first query was fetching a CE-version (issuesCount of issues only), the second one was EE-specific (fetching also totalWeight). This MR changes import of the query to ee_else_ce everywhere so we're fetching a correct one only for both EE and CE instances

Screenshots or screen recordings

Before After
Screenshot_2021-12-09_at_16.45.11 Screenshot_2021-12-09_at_16.47.29

How to set up and validate locally

  1. Open issue boards
  2. Check the last GraphQL query
  3. There should be only one boardList request for every single list ID.

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

Loading