Skip to content
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

Automatically handling page deletions and heirarchy changes #59

Open
stevejalim opened this issue Oct 12, 2020 · 2 comments
Open

Automatically handling page deletions and heirarchy changes #59

stevejalim opened this issue Oct 12, 2020 · 2 comments

Comments

@stevejalim
Copy link

stevejalim commented Oct 12, 2020

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

@stevejalim
Copy link
Author

stevejalim commented Oct 12, 2020

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.

@stevejalim
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant