Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Save changes button #6

Open
AlexW00 opened this issue May 9, 2023 · 1 comment
Open

Save changes button #6

AlexW00 opened this issue May 9, 2023 · 1 comment
Labels
feature A new feature or request property editor
Milestone

Comments

@AlexW00
Copy link
Collaborator

AlexW00 commented May 9, 2023

As a user, I want to save the changes I made to the graph so that I can continue where I left off the next time.

@AlexW00 AlexW00 added the feature A new feature or request label May 9, 2023
@AlexW00 AlexW00 added this to the MVP milestone May 9, 2023
@AlexW00
Copy link
Collaborator Author

AlexW00 commented May 9, 2023

To get the changes from cytoscape (array of nodes & edges) into WikiBase, there are two options:

  • diff the original graph with the final one and get the changes, then create API calls to apply them
  • use the atomic actions from the Undo system #5, compress them (filter out irrelevant stuff etc) and then translate them to API calls

I think the second option would be better, since we need to define atomic actions for #5 anyways and it's cleaner to implement.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature A new feature or request property editor
Projects
None yet
Development

No branches or pull requests

1 participant