Skip to content
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

fix: skip window.ipfs #845

Merged
merged 3 commits into from
Oct 4, 2018
Merged

fix: skip window.ipfs #845

merged 3 commits into from
Oct 4, 2018

Conversation

olizilla
Copy link
Member

@olizilla olizilla commented Oct 2, 2018

blocked on

Web UI wants all the privileges. With window.ipfs the files view
gets silo'd to the files added in this origin so it's gonna
cause confusion.

This PR updates thing to use the new ipfs-redux-bundle and skips
window.ipfs in the provider checks.

Also adds an identity bundle as we no longer use /id as the
ipfs connection test, to move us towards supporting the read-only
api where it is all that is available.

fixes #787
fixes #837

License: MIT
Signed-off-by: Oli Evans [email protected]

Web UI wants all the privileges. With window.ipfs the files view
gets silo'd to the files added _in this origin_ so it's gonna
cause confusion.

This PR updates thing to use the new ipfs-redux-bundle and skips
window.ipfs in the provider checks.

Also adds an identity bundle as we no longer use /id as the
ipfs connection test, to move us towards supporting the read-only
api where it is all that is available.

License: MIT
Signed-off-by: Oli Evans <[email protected]>
Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with ipfs-inactive/ipfs-redux-bundle#15 and works as expected 👍

Small nitpick:
Previously, window.ipfs was a link to companion repo, but the new label is no longer clickable:

2018-10-03--00-46-08

Was that on purpose, or just lost in refactor? I think it was quite useful, hinting at users to learn more etc ;)

@olizilla
Copy link
Member Author

olizilla commented Oct 3, 2018

Good point! I need to update the providers list.

@hacdias
Copy link
Member

hacdias commented Oct 3, 2018

@olizilla I'm just wondering: going directly to IPFS Companion's instance of IPFS is easy. Won't other apps be able to do the same?

@olizilla
Copy link
Member Author

olizilla commented Oct 3, 2018

@hacdias the "direct from companion" option only works if your app as been bundled with companion.

@hacdias
Copy link
Member

hacdias commented Oct 3, 2018

@olizilla awesome then 😄

also add provider info for ipfs-companion

License: MIT
Signed-off-by: Oli Evans <[email protected]>
License: MIT
Signed-off-by: Oli Evans <[email protected]>
@olizilla olizilla merged commit 3da649a into master Oct 4, 2018
@olizilla olizilla deleted the skip-window-ipfs branch October 4, 2018 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants