stealth icon indicating copy to clipboard operation
stealth copied to clipboard

Browser: Fix Request Error page

Open cookiengineer opened this issue 5 years ago • 3 comments

The stealth:fix-request error page needs integration to download cached URLs from connected Peers - and in case no Peer is available - the Web Archive.

  • [ ] Integrate download from the URL scheme https://web.archive.org/<original url> which will redirect the request to the latest known and scraped archive entry.
  • [ ] Integrate button with the UI flow.
  • [ ] Integrate local peers and query their cache for the current URL. If available, offer to download from Peer's cache(s) with information about their latest timestamp.

cookiengineer avatar Mar 05 '20 10:03 cookiengineer

In order to ease up UX, when a Website was successfully downloaded via Peers, the BROWSER.back() method should be called, so that the correct URL is being rendered in the Webview.

  • [ ] Add BROWSER.back() call on successful downloads via Peers.
  • [ ] Add BROWSER.navigate('https://web.archive.org/' + url); call when an entry was found in the Web Archive.

cookiengineer avatar Dec 06 '20 12:12 cookiengineer

The fix-request error page now has to be renamed to fix-connection, as the Connection refactor led to multiple error scenarios that all transport protocols now may trigger.

The list off error events as of now are these:

  • [x] { type: 'connection' }
  • [x] { type: 'connection', cause: 'socket-trust' }
  • [x] { type: 'connection', cause: 'socket-stability' }
  • [x] { type: 'connection', cause: 'socket-proxy' }
  • [x] { type: 'connection', cause: 'headers' }
  • [x] { type: 'connection', cause: 'payload' }
  • [x] { type: 'host' }

cookiengineer avatar Jul 03 '21 08:07 cookiengineer

The new Browser Page was successfully renamed and has been integrated as browser/internal/fix-connection.html.

Still missing is the Web Archive Integration, which is temporarily on hold until the Multicast Peering Refactor has been implemented.

cookiengineer avatar Jul 31 '21 12:07 cookiengineer