-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pages Editor: implement Delete Page action #7046
Conversation
PR Update
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I like the clever use of experimentalQuickSetup(). It made me think about testing strategy once this gets plopped over into FEM. Might be useful to create a document of interesting edge cases / concerns / outline of all useful tests to be written when this gets migrated to FEM.
Thanks Travis! 👍
Ooo good point, I'm going to need to bring up the idea of starting this doc, to Sam & Sean next Monday. |
a0361b0
to
0257819
Compare
PR Overview
Part of: Pages Editor MVP project and FEM Lab super-project
Follows #6991
Staging branch URL: https://pr-7046.pfe-preview.zooniverse.org/lab/1982/workflows/editor/3711?env=staging
This PR adds the ability to delete a Step/Page.
cleanupTasksAndSteps()
helper function has been added to remove orphaned references in branching tasks, (this has been implemented). This maaay be updated in the future to also remove Tasks that aren't associated with any Steps, and remove Steps that have 0 Tasks. We'll see.Other changes:
Notes:
Status
Ready for review!