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

Prompt user to switch to native ipfs:// or ipns:// when on IPFS resource #31203

Closed
lidel opened this issue Jun 21, 2023 · 1 comment
Closed

Comments

@lidel
Copy link

lidel commented Jun 21, 2023

filled this based on the SOW document and verbal from last sync

When user is on IPFS page that is a known IPFS resource (has X-Ipfs-Path header, or URL is matching public gateway URL, or website with valid DNSLink), we show the purple button:

2023-06-21_19-44

Then clicked, it opens native ipns:// in a new tab (and if user has no IPFS enabled, opens onboarding page UI).

How to improve user onboarding

The idea here is to go beyond purple button and add interactive prompt when IPFS support is not enabled yet OR when it is enabled, but redirect to local node is disabled. This way, users have opportunity to opt-in to loading IPFS resources over native protocol, when possible.

"Would you like to load this webpage over native IPFS?"

  • Don't ask again (checkbox)
  • Only this time (button, opens via native URI, but does not enable redirect)
  • Always, all IPFS pages (button, opens via native URI and enables redirect)

There is some prior art interface in Chromium already, it is used for DRM opt-in, perhaps this UI pattern could be reused:

2023-06-21_19-44_1

cc @cypt4 @autonome

@cypt4
Copy link

cypt4 commented Sep 19, 2023

IPFS promo infobar was added here #32010

@lidel lidel closed this as completed Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants