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

Replayable Action Log! #112

Closed
nelsonic opened this issue Jul 20, 2022 · 4 comments
Closed

Replayable Action Log! #112

nelsonic opened this issue Jul 20, 2022 · 4 comments
Labels
discuss Share your constructive thoughts on how to make progress with this issue enhancement New feature or enhancement of existing functionality question A question needs to be answered before progress can be made on this issue technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@nelsonic
Copy link
Member

At present the MVP is deliberately simple.
There is no version history for item.text so if you update something the previous version is gone.
How do we implement the ability to replay all actions taken in the App?
So that we have an undo button for every change that is made.

Is there anything in https://github.com/dwyl/alog we can use?
Or do we need to rethink this from first principals.

#discuss! 💬 🙏

@nelsonic nelsonic added enhancement New feature or enhancement of existing functionality question A question needs to be answered before progress can be made on this issue technical A technical issue that requires understanding of the code, infrastructure or dependencies discuss Share your constructive thoughts on how to make progress with this issue labels Jul 20, 2022
@SimonLab
Copy link
Member

I'll have to look again at alog and do some research first on how to implement/use an history of actions.

@nelsonic
Copy link
Member Author

It's possible that alog was over-complicated. (100% my fault!) 🤦‍♂️
So we might end up doing something more like this: https://github.com/dwyl/postgres-history-spike
Essentially we want the full history of an item but without the complexity of querying ... 🤔
Very keen to do this in the most offline-friendly way possible. 🕸️
Hence my curiosity with using a cid ("content id") for each version see: https://github.com/dwyl/cid 💭

@nelsonic
Copy link
Member Author

Related to: dwyl/app#276

@nelsonic
Copy link
Member Author

nelsonic commented Aug 8, 2022

Closing in favour of dwyl/app#276 💭

@nelsonic nelsonic closed this as completed Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Share your constructive thoughts on how to make progress with this issue enhancement New feature or enhancement of existing functionality question A question needs to be answered before progress can be made on this issue technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
None yet
Development

No branches or pull requests

2 participants