ipfs / service-worker-gateway

[WIP EXPERIMENT] IPFS Gateway implemented in Service Worker
https://inbrowser.link
Other
17 stars 8 forks source link

feat: landing & config page UX improvements #235

Closed SgtPooki closed 1 month ago

SgtPooki commented 2 months ago

Title

feat: landing & config page UX improvements

Description

Fixes https://github.com/ipfs-shipyard/service-worker-gateway/issues/58

Summary of changes

  1. Add explainer with links to helper-ui (landing page)
  2. Allow setting dnsResolvers in config.
  3. Shows default urls in config
  4. Requires at least 1 dns resolver/router/gateway
  5. Adds "reset" button so users can get back to defaults if they bork things (TODO: need to fix this so it doesn't require a refresh, which will not work on first-hit for subdomain this todo is done.)

Landing page view

image

Config page view

image

Notes & open questions

FYI that inputs are still JSON based for now.

Change checklist

SgtPooki commented 1 month ago

@lidel that looks a lot cleaner. i'll fix up the CI and get this merged.