peer-base / peer-pad

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

Feature: show saved status in pads #245

Closed victorb closed 6 years ago

victorb commented 6 years ago

This commits add a simple status indicator that currently shows the following states:

However, this commit has a issue where sometimes the stage change event happens multiple times in a row, and the pinned event happens in the middle of those, but not in the end, leading to the Receiving state to be shown until another event happens. Currently trying to reproduce this directly in peer-star-app

See example of bug happening in peerpad here: https://ipfs.io/ipfs/QmUBh45vMG1axbhKdfYqcZqFBU3CM1eVwm6SBdRUPNFri1/stuck-on-receiving.ogv

License: MIT Signed-off-by: Victor Bjelkholm git@victor.earth

pgte commented 6 years ago

@victorb this is great! About the pinned events, I've opened this issue: https://github.com/ipfs-shipyard/peer-star-app/issues/167 I've opened another regarding the state changed event: https://github.com/ipfs-shipyard/peer-star-app/issues/168

jimpick commented 6 years ago

Good stuff!