Panoptes-Front-End icon indicating copy to clipboard operation
Panoptes-Front-End copied to clipboard

fix(lab): clear references to a task key after deleting a task

Open eatyourgreens opened this issue 9 months ago • 2 comments

A small helper function which iterates through workflow.tasks and deletes references to a given task key. It's called after deleting a task, so that other tasks no longer link to the deleted task.

  • Fixes #7011.
  • Fixes https://github.com/zooniverse/front-end-monorepo/issues/5807.

Required Manual Testing

  • [ ] Does the non-logged in home page render correctly?
  • [ ] Does the logged in home page render correctly?
  • [ ] Does the projects page render correctly?
  • [ ] Can you load project home pages?
  • [ ] Can you load the classification page?
  • [ ] Can you submit a classification?
  • [ ] Does talk load correctly?
  • [ ] Can you post a talk comment?

Review Checklist

  • [ ] Does it work in all major browsers: Firefox, Chrome, Edge, Safari?
  • [ ] Does it work on mobile?
  • [ ] Can you npm ci and app works as expected?
  • [ ] If the component is in coffeescript, is it converted to ES6? Is it free of eslint errors? Is the conversion its own commit?
  • [ ] Are the tests passing locally and on GitHub Actions?

Optional

eatyourgreens avatar May 10 '24 13:05 eatyourgreens