Skip to content

Ensure the issues show page uses the same apollo client

Coung Ngo requested to merge cngo-consolidate-apollo-clients into master

What does this MR do and why?

This MR updates the Vue apps on the issues show page to use the same apollo client.

It also extracts apollo cache update code to a separate client mutation so we can reuse this in an upcoming MR.

Screenshots or screen recordings

How to set up and validate locally

  1. Visit any issue page such as http://127.0.0.1:3000/h5bp/html5-boilerplate/-/issues/1
  2. Go to the Tasks widget
  3. Test adding and removing a task from the widget, as well as undoing task removal from the toast and deleting a task from the task modal that appears when clicking on the task title

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Coung Ngo

Merge request reports