-
Notifications
You must be signed in to change notification settings - Fork 325
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
Detect and manage embedded go-ipfs in Brave #947
Comments
Quick mockup + temperature check on leveraging Brave colors (https://brave.com/brave-branding-assets/) to indicate when Node is controlled by the browser itself: Is there a more subtle way? |
How about a tiny Brave lion to the left of the box(es) in question? Otherwise the color looks a bit like an error state. Plus if we wanted to be really fancy the lion could be orange or purple, depending on if regular or nightly Brave. Would add a hover state for the icon, too: "Managed by Brave". |
@jessicaschilling I was playing with various versions and ended up with the lion inside the input (
Final version on the right. Thoughts? Should we keep the orange border, or is the lion enough? |
Muted background is great - and no need to keep the orange border. |
* feat: leverage IPFS node from Brave Adds "Provided by Brave" node type and closes #947 * feat: trigger Brave with proper onboarding page This replaces ipfs:// URI used for triggering activation dropbar with a page that can be updated by Companion to reflect the stage of activation. Co-authored-by: Jessica Schilling <[email protected]>
@jessicaschilling I've activated this in my brave browser and was a bit surprised about the low change in color between "installing" and "install completed" pages. And there was like no link to further information on what IPFS actually is or to the mentioned settings. Is there a chance to change this page a bit? :) |
@RubenKelevra That's already being worked on Brave's end - the page you're referring to is really intended as an interim measure. See brave/brave-browser#13655. |
Ah, wonderful - thanks! Wasn't sure where to put such a question so I didn't created a ticket. Just was reminded by your discussion here about this. If it's a temporary solution anyway its fine for me. It was just a little hard to catch that something has finished (: |
Brave Nightly will ship embedded go-ipfs soon and will expose some API endpoints for ipfs-companion to facilitate end-to-end integration. Custom WebExtension APIs will enable ipfs-companion to:
$IPFS_PATH/config
of embedded go-ipfs node managed by BraveWe should at the very minimum:
TBD:
Details
Excerpt from brave/brave-browser#10220:
chrome.ipfs.*
behavior in Brave Nightly @ v1.20.36getIPFSEnabled
is enabled by default in Nightly, but we should check it as a formalitygetResolveMethodType
is the actual hint of user's preferenceask
is the default on an empty profilelocal
– after "Enable IPFS" is clicked and go-ipfs daemon got installedlaunch
false
but also triggers install in the background, when claled later (after install is done) it starts node and returnstrue
, but does not changeresolveMethodType
(it is stillask
)shutdown
always returnstrue
(even if node was already off)getExecutableAvailableget
returns true after installReferences
The text was updated successfully, but these errors were encountered: