ipfs / service-worker-gateway

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

ux: keep topbar at all times #309

Open lidel opened 4 days ago

lidel commented 4 days ago

Problem

We have different UI on redirect pages, the main landing page, and error pages:

Landing page (foo.localhost:3000) Redirect / subdomain landing (http://specs-ipfs-tech.ipns.foo.localhost:3000/) Error page (http://error-test.ipns.foo.localhost:3000/)
Screen Shot 2024-06-28 at 20 34 17 Screen Shot 2024-06-28 at 20 35 44 Screen Shot 2024-06-28 at 20 37 16

This makes navigation and configuration difficult, especially on mobile / PWA context.

Proposed improvement

Let's unify all three screens to follow the main landing page. Keep the top bar with button that allows editing configuration:

image

Other improvements:

SgtPooki commented 4 days ago

the error page will be the challenging one because the html is served by the service worker. so we could probably set a hash router page something like ipfs-sw-error or fudge in all the CSS and stuff