WuTheFWasThat / vimflowy

An open source productivity tool drawing inspiration from workflowy and vim
https://www.wuthejeff.com/vimflowy
MIT License
1.6k stars 111 forks source link

switch to more proper data model #270

Open WuTheFWasThat opened 7 years ago

WuTheFWasThat commented 7 years ago

with firestore https://firebase.googleblog.com/2017/10/introducing-cloud-firestore.html, a client-side app can more easily have proper transactions. sqlite backend can also support the same, of course

molikto commented 6 years ago

I've been looking into operational transformation recently. This seems to be a good model for collaborative editing. I implemented it for Node = {String, List [Node]}, but got distracted by wanting to generalize it to arbitrary data types

WuTheFWasThat commented 6 years ago

cool - this is discussed in https://github.com/WuTheFWasThat/vimflowy/issues/166

What are the types of operations your implementation supports? I would be curious to see it. I think there would need to be some rearchitecture before it would be possible to add to vimflowy, though. A lot of code is client-side, for historical reasons.