-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Fork wiki #8
base: master
Are you sure you want to change the base?
Conversation
Here is the source for the forked wiki: https://github.com/chrisekelley/dat-wysiwywiki-app |
Thinking about this issue - maybe it makes sense for the wiki to fork itself? I am assuming this is a sandbox issue. Pondering:
|
Note the change to the release script - it first assumes that you have already copied the .dat file to the root of your repo so that it doesn't get clobbered each time you build. |
@@ -0,0 +1,24 @@ | |||
// Setup storage to indexdb | |||
const DefaultManager = DatArchive.DefaultManager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to add code here to double check that DatArchive.DefaultManager
exists before trying to set the manager. (for when the code is loaded in beaker)
Oh dang, it seems IndexedDB just doesn't work in iframes. :( Luckily, I've basically finished my work on dat-polyfill which stores data in the parent frame's indexedb and as such de-duplicates all dats between origins. (Also provides support for DatArchive.selectArchive through hooks in the parent) Check out the demo code |
better logging on receiveMessage
Did you add all the sandbox parameters to the iframe that's contianing bunsen-ui? |
@RangerMauve thanks for the tip - Still working on this - the past week I created a vanilla js version of the shell - Angular was a bit overkill for what we need here. |
Nice! Always a good feeling to delete a bunch of code. :D |
fork dat feature is implemented; however, when you access the forked dat in the bunsen-ui iframe, you get the following error: