GUI fails silently on various browsers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-gui |
Fix Released
|
High
|
Benji York |
Bug Description
The GUI works smoothly on recent chrome/chromium browsers. However, other browsers fail silently, giving potentially bad impressions. We should warn users, and help them around known problems.
Example solution:
- we browser sniff
- If we see a recent Chrome, we proceed with no new behavior. Otherwise...
- If we see Firefox and we are on HTTPS with a self signed certificate (yeah, this implies smarts from the charm as well) we warn the user that they must also accept the WSS cert, with a link to make this easy (see bug 1104098)
- If we see anything else, including old Chrome/chromium (I don't know what "old" means here; TBD) we warn that the GUI may not work as desired, and encourage use of Chrome (or Firefox).
When we add IE 10 support, of course, we include this in the "good" path.
Related branches
- Juju GUI Hackers: Pending requested
-
Diff: 499 lines (+215/-53)12 files modified.bzrignore (+2/-0)
Makefile (+33/-15)
app/app.js (+1/-1)
app/index.html (+85/-8)
app/templates/login.handlebars (+3/-3)
app/views/login.js (+4/-4)
lib/merge-files.js (+4/-1)
lib/views/stylesheet.less (+19/-18)
test/index.html (+1/-0)
test/test_login.js (+3/-3)
test/test_startup.js.bottom (+50/-0)
test/test_startup.js.top (+10/-0)
Changed in juju-gui: | |
assignee: | nobody → Benji York (benji) |
milestone: | none → 0.2.0+build.366 |
status: | Triaged → In Progress |
Changed in juju-gui: | |
status: | In Progress → Fix Released |
Graphical assets/discussion: https:/ /drive. google. com/a/canonical .com/?tab= co#folders/ 0B1IM-- 9A1RkTdlJhX3ozb 0hBaDA