peer-base / peer-pad

📝 Online editor providing collaborative editing in really real-time using CRDTs and IPFS.
https://peerpad.net
MIT License
678 stars 56 forks source link

Feature: needs saving status #255

Closed pgte closed 5 years ago

pgte commented 5 years ago

Instead of indicating "Saving..." when changes are made, this now displays the more accurate "Needs saving...". Once the "pinning" event comes along, the status turns to "Saving...", eventually becoming "Saved" once the "pinned" event comes.

Also upgrades to latest peer-star-app, which allows sub-collaborations state changed to propagate to the root collaboration.

pgte commented 5 years ago

Here is a proposal for some additions to the persistence API (RFC):

https://github.com/ipfs-shipyard/peer-star-app/issues/189

jimpick commented 5 years ago

Trying out the branch, I get:

doc.replication.pinnerPeers is not a function

I see that in master of peer-star-app - I'll hold off merging until the next release of peer-star-app is out.

pgte commented 5 years ago

@jimpick correct, it's pending waiting a peer-star-app release..

pgte commented 5 years ago

@jimpick should be ok now...

pgte commented 5 years ago

@jimpick do you think this could be merged today? Would love to try this out over the weekend..

jimpick commented 5 years ago

Looks good. I'll merge.