dokieli
dokieli copied to clipboard
Replica Viewer with Diff/Merge
I think it'd be cool to have a hamburger menu item that opens a list of derivative or parent replicas of the current document.
It'd be even cooler if a user could see a side-by-side diff of any replica to their current version (with changes highlighted and summarized), and even automatically merge the replica.
The end goal would be to enable seamless collaboration / co-authoring, while allowing each co-author to maintain their own private copy of the document (a la Git).
I think this may be related to the more general RDF Diff problem? https://www.w3.org/DesignIssues/Diff
I originally suggested this feature under a different issue: https://github.com/linkeddata/dokieli/issues/120#issuecomment-462068397
re listing and being able to open versions of the current resource is already possible in dokieli from the menu. See explanation here https://github.com/linkeddata/dokieli/issues/41#issuecomment-462123797 .
What's not implemented is the remaining part of the issue you're raising for viewing diffs and taking actions.
My initial thoughts: a basic line-based diff view would be relatively straight forward to implement to graph-based diff. Both options would be useful. We ultimately want the graph diff but the interface will eventually show what's in the DOM for HTML+RDFa (at least for articles) for the user to see and take action.
Related issues (some overlap): https://github.com/linkeddata/dokieli/issues/100 , https://github.com/linkeddata/dokieli/issues/120 . Leaving this issue open until there is more progress on how to implement exactly.
Has Pijul ever been considered for versioning?