Automatically handling page deletions and heirarchy changes
stevejalim opened this issue · comments
At the moment, the planner only handles create or update actions for pages. It would be desirable to have support for moving pages within the tree and also executing a delete as part of a transfer if a page has been deleted.
I understand that some private work has been done by some users of WT to support some form of this, so any other solution would need to be disabled via configuration for those cases.
This ticket is to discuss approaches that might fit into the project as a whole
One option might be to have a table of deferred actions, which are turned into tasks when a transfer takes place (and then marked as complete so they don't get re-executed).
The upside of this approach would be that any rearranging of the page tree etc will remain on the source site up to the moment of transfer.
Another option would be to use signals to trigger API calls to a destination site from a source site to immediately execute the page shuffle or deletion. However this would be changing the WT mental model from "pull" to "push" so may no suit all workflows