Closed Bug 940453 Opened 11 years ago Closed 3 years ago

[meta] Improve the UX for error pages

Categories

(Firefox for Android Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: wesj, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: meta)

Attachments

(1 file)

We should/could offer some helpful actions on net error pages. "Maybe you meant this instead?" (suggestions from Google if you've enabled them?) "Search for this term". "Turn on wifi".

Bug 482874 had some early work on this, but was conflated with adding support for 404 pages.
Attached patch WIPSplinter Review
DISCLAIMER: I was playing with this a bit this weekend and threw this together. This is just me trying this out from curiosity. Not necessarily anything we want to do. Just saving the patch :)

The idea was to just have a NetErrorHelper object that (in this case) is created on page load. The error helper can add widgets to the page. I avoided inserting any JS into the page, although I'm not fully aware of the security issues here (this detects events on the browser object and then correlates them with input widgets).

This needs to be abstracted more, but adds things like "Search for", suggestions, and a wifi toggle that could either toggle wifi, or on release should probably just open wifi settings. Example screenshots:

http://dl.dropboxusercontent.com/u/72157/wifi.png
http://dl.dropboxusercontent.com/u/72157/suggest.png

build: http://people.mozilla.com/~wjohnston/neterror.apk
Summary: Helper widgets for error pages → [meta] Improve the UX for error pages
Depends on: 1042196, 1042194
Depends on: 1042199
Depends on: 1042201
Depends on: 1042205
Depends on: 1049674
Keywords: meta
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: