Comments (10)
Thanks @ungoldman! It looks like the replication is working, but the textarea isn't updating when the indexer finishes its job. I'm currently rewriting the sync mechanism -- removing live sync for now until I can fix more fundamental structural issues -- so I'll ping you again here once I have something working!
from hyperpad.
Great work by the way :)
from hyperpad.
Rad! Thank you.
from hyperpad.
Hey! Thank you for trying out hyperpad. 🙏
You're totally right: it's not reading the hyper-string from indexeddb! It's working on localhost though, so I wonder if it's something related to the domain & access. I'll dig on this -- thanks for reporting!
from hyperpad.
@ungoldman Hey Nate! It's been a while, but I spent some time today fixing some bugs across the module stack. (It probably also helped that I'm running my own signalhub now.) Feel like taking it for a spin again?
from hyperpad.
Looks like in a single chrome tab things are persisting! However, still some unexpected behavior:
- I open a window, load http://hyperpad.io/?doc=hi-nate. Stuff is there. I edit, close, reopen, my edits are still there. Yay!
- I open an incognito window, load http://hyperpad.io/?doc=hi-nate. Nothing is here. Hmm...
- I reload the incognito window, stuff from (1) is now showing up and changes are syncing between the two. Yay!
from hyperpad.
Awesome! I'm glad (1) is working at least. Thank you for trying this again.
If you try (2) again but wait for ~10 seconds, does anything appear? It takes a while for peers to connect to the signalling server, hook up to each other, and perform sync. I'll enable logging now, so if you try again you ought to see a bit more information in the web console.
from hyperpad.
Hi @noffle! Catching up on issues...
Had a chance to try what you asked, still not seeing text replicate on first visit in incognito mode, but it DOES look like there's a lot of activity from what's happening in the console.
Here's a dump of the log: https://gist.github.com/ungoldman/9c86965509b26a3af4294dc6cdb635c8
Note this is all happening within the first few seconds of loading the page.
from hyperpad.
Heya @ungoldman, things should be in much better shape now if you feel like taking this for a spin again. 😎
from hyperpad.
LGTM 👍
from hyperpad.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperpad.