Skip to content

Fix assignees on GraphQL boards

Natalia Tepluhina requested to merge ntepluhina-fix-sidebar-events into master

What does this MR do?

Previously, due to the bug on the GraphQL issue boards, when you updated assignees for issue A and clicked on issue B, the assignees list was changed for issue B. This happened because the id of the active item was changed faster than the GraphQL mutation on the widget was fired. This MR adds a watcher that tracks both "dirty" form state and the change of the "iid" prop and calls the mutation with the "previous" id while this happens.

Screenshots (strongly suggested)

Before After
before after

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 Natalia Tepluhina

Merge request reports

Loading