Closed Bug 1236852 Opened 8 years ago Closed 8 years ago

[Stingray] Network Error UI polish

Categories

(Firefox OS Graveyard :: Gaia::TV, defect, P1)

defect

Tracking

(blocking-b2g:2.5+, feature-b2g:2.5+, b2g-v2.5 fixed, b2g-master verified)

RESOLVED FIXED
2.6 S6 - 1/29
blocking-b2g 2.5+
feature-b2g 2.5+
Tracking Status
b2g-v2.5 --- fixed
b2g-master --- verified

People

(Reporter: jj.evelyn, Assigned: danhuang)

References

Details

(Whiteboard: [ft:conndevices][partner-cherry-pick][partner-blocker])

Attachments

(6 files, 1 obsolete file)

The net_error.html page in System app isn't polished for TV. It currently displays a phone's layout and isn't interact-able.

Since network error might be caused by different reasons, we current have some cases in phone[1], but I'm not sure if we want to support all of them.

[1] https://github.com/mozilla-b2g/gaia/blob/master/tv_apps/smart-system/locales/net_error.en-US.properties
Attached image no-connection.png
Attached image not-found.png
Attached image unable-reach.png
Blocks: TV_P1
Attached three different UI I see in phone's build. There might be more, but I can't enumerate them. Tori, could you check phone's UX spec to know all cases?
Flags: needinfo?(tchen)
feature-b2g: --- → 2.5+
Dan, we are waiting for UX spec but assign this bug to you first. Please ask Luke for more detail.
Assignee: nobody → dhuang
Hi Evelyn, I couldn't find the latest UX spec for phone since it hasn't updated for a long time. 

Forward the ni? to Jack.
Flags: needinfo?(tchen) → needinfo?(jalin)
Hi Evelyn,

Please see the spec as the link below,
https://drive.google.com/drive/u/0/folders/0BwbmH5cX2W6OWThiTmhhd3ZSUm8

Thank you 
Jack
Flags: needinfo?(jalin)
Hi Dan,
Do you have any update? Could you finish this before Jan/29?
Flags: needinfo?(dhuang)
Hi Josh,
code and layout are finished, wait for visual spec to finalize ui
Flags: needinfo?(dhuang)
Jack,
Please provide spec thanks.
Flags: needinfo?(jalin)
Hi Josh,

Visual spec is as the link below,
https://drive.google.com/open?id=0B4K8q1qWmtAvNTlPZGRZdXNzZnc

Thank you 
Jack
Flags: needinfo?(jalin)
QA Whiteboard: [COM=TV Browser]
blocking-b2g: --- → 2.5+
Comment on attachment 8713117 [details] [review]
[gaia] danhuang1202:1236852_network_error_ui_polish > mozilla-b2g:master

Hi Luke,
Please help review this patch. This patch revise network error according to UX and visual spec. Thanks.
Attachment #8713117 - Flags: review?(lchang)
Comment on attachment 8713117 [details] [review]
[gaia] danhuang1202:1236852_network_error_ui_polish > mozilla-b2g:master

Hi Yifan, please help review the browser part. This patch remove browser alert which shows when website content can't be displayed.
Attachment #8713117 - Flags: review?(yliao)
Attachment #8713117 - Flags: review?(yliao) → review+
Target Milestone: --- → 2.6 S6 - 1/29
Blocks: 1244016
Comment on attachment 8713117 [details] [review]
[gaia] danhuang1202:1236852_network_error_ui_polish > mozilla-b2g:master

Looks good except only a few comments. Remember to fix the linter errors before landing.
Attachment #8713117 - Flags: review?(lchang) → review+
Thanks for the review.
Merge in master: 
https://github.com/mozilla-b2g/gaia/commit/c7317c9d82af489a38218088abf9eb338b09c9a0
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment on attachment 8713117 [details] [review]
[gaia] danhuang1202:1236852_network_error_ui_polish > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Bug 1187806 
[User impact] if declined: The net error page not align to TV view
[Testing completed]:https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=4598c9986d6135cfe76ad7d35b25b0353f598744
[Risk to taking this patch] (and alternatives if risky): None
[String changes made]: None
Attachment #8713117 - Flags: approval-gaia-v2.5?
Depends on: 1239955
Comment on attachment 8713117 [details] [review]
[gaia] danhuang1202:1236852_network_error_ui_polish > mozilla-b2g:master

Approve for TV 2.5
Attachment #8713117 - Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
has problems uplifting to master: Tomcats-MacBook-Pro-2:gaia Tomcat$ git cherry-pick 4598c9986d6135cfe76ad7d35b25b0353f598744
error: could not apply 4598c99... Bug 1236852 - Network Error UI polish. r=lchang, yifan
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'

could you take a look and provide a 2.5 PR request thanks!
Flags: needinfo?(dhuang)
Attached file patch for v2.5 (obsolete) —
Attached patch patch for v2.5Splinter Review
Attachment #8715142 - Attachment is obsolete: true
Comment on attachment 8715167 [details] [review]
[gaia] danhuang1202:1236852_network_error_ui_polish_v2.5 > mozilla-b2g:v2.5

Hi Tomcat, please try this patch !
Flags: needinfo?(dhuang)
Comment on attachment 8715167 [details] [review]
[gaia] danhuang1202:1236852_network_error_ui_polish_v2.5 > mozilla-b2g:v2.5

Hi Tomcat, please try this patch !
Flags: needinfo?(cbook)
(In reply to Dan Huang[:danhuang] from comment #24)
> Comment on attachment 8715167 [details] [review]
> [gaia] danhuang1202:1236852_network_error_ui_polish_v2.5 > mozilla-b2g:v2.5
> 
> Hi Tomcat, please try this patch !

thanks Dan! pushed as https://github.com/mozilla-b2g/gaia/commit/8c68247e3045cde7445141e94e94104d617de03b
Flags: needinfo?(cbook)
Depends on: 1250815
This issue is verified on v2.6 latest build.
[Build Info]
2.6 TV Simulator
gaia:
https://github.com/mozilla-b2g/gaia/commit/5873698d660f3e8639ab55f9900a1de0f3e43998
gecko:
https://hg.mozilla.org/mozilla-central/rev/dd1abe874252e507b825a0a4e1063b0e1357828

The error string is incorrect on v2,5 latest build when network offline.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: