question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use full page explainer for unconfigured ipfs:// loads instead of loading content with an infobar

See original GitHub issue

Description

For new IPFS users that load ipfs:// or ipns:// URLs, show a webui page that gives an explainer instead of loading content through a gateway with an infobar.

The infobar is pretty packed, and we’d rather not use the gateway by default without user consent.

We currently load the content + have this infobar: Screen Shot 2021-01-19 at 9 53 36 AM

Instead we should show a full page webui explainer page. If the user goes in settings and selects Ask we’d just show this page again.

Designs

image

  • Learn more link goes to https://support.brave.com/hc/en-us/sections/360010974932-InterPlanetary-File-System-IPFS-
  • Settings links goes to brave://settings, scrolled to the IPFS section

When the user clicks “Use local node”, show a loading spinner to indicate the node is being installed before redirecting to the requested content: image

image

Assets

Figma: https://www.figma.com/file/tLXWGCpNoiJxDZDdpfordj/?node-id=94%3A7772

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
jessicaschillingcommented, Jan 20, 2021

This is awesome! Would love to request a few text changes just for consistency with IPFS-land in general?

  • In the explanatory graf, InterPlanetary File System (IPFS) is the public network -> IPFS (InterPlanetary File System) is the public network
  • First option text: and content you're requesting -> and any content you're requesting
  • First option text: Content is verified -> Content you request over IPFS is verified
  • First option text: before being served. -> before being served to you.
  • Second option text: from everyone else -> from potential third-party observers
  • Second option text: The operator is responsible for serving you the correct requested content. -> The gateway operator is responsible for ensuring that the content served to you over a gateway is the content you requested.
  • Second option text: to the public network -> to the public IPFS network
1reaction
stephendonnercommented, Mar 11, 2021

Verified FIXED using nightly on macOS Big Sur (11.2.1) with:

Brave 1.22.39 Chromium: 89.0.4389.58 (Official Build) nightly (x86_64)
Revision 1a139f28ecc27719439e37c6b1533cee999cb802-refs/branch-heads/4389@{#1134}
OS macOS Version 11.2.1 (Build 20D74)

ipfs-install-new Screen Shot 2021-02-22 at 2 50 16 PM

Verified that the links go to the correct URLs, that brave://settings/ipfs options are present and work, and that the text from https://github.com/brave/brave-browser/issues/13655#issuecomment-763946365 was updated and reflected in the UI.

The spinner on the “Installing…” orange button isn’t present; will file a new bug for that and cross-reference it here.


Verification passed on


Brave | 1.22.56 Chromium: 89.0.4389.72 (Official Build) dev (64-bit)
-- | --
Revision | 3f345f156bfd157bd1bea06310e55f3fb2490359-refs/branch-heads/4389@{#1393}
OS | Windows 10 OS Version 2004 (Build 19041.804)

Enable IPFS

image image image


Verification passed on

Brave 1.22.58 Chromium: 89.0.4389.86 (Official Build) beta (64-bit)
Revision 0c2dac31bc21e806a791641316e99920f84ea52c-refs/branch-heads/4389@{#1472}
OS Ubuntu 18.04 LTS

Verified test plan from the description

image image image image

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Practical Explainer for IPFS Gateways - Part 1
The Interplanetary File System (IPFS) is a peer-to-peer protocol for storing and accessing files and websites.
Read more >
IPFS Support in Brave
If Brave has been configured to use the public gateway, the IPFS node is never loaded. Users can troubleshoot IPFS by navigating to...
Read more >
A Technical Guide to IPFS – the Decentralized Storage of Web3
First of all, the IPFS is decentralized because it loads the content from thousands of peers instead of one centralized server. Every piece...
Read more >
How to Use IPFS With the Brave Browser - YouTube
With the latest desktop browser update (v1.19), Brave is the first browser to offer a native IPFS integration, enabling users to seamlessly ...
Read more >
How to integrate IPFS with Ethereum explained - QuickNode
1. It can be costly to store massive files on a blockchain mainnet, and this is where decentralized file... 2. The web that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found