Closed
Bug 1232345
Opened 9 years ago
Closed 9 years ago
[TV][2.5] Preview Website in Preview window.
Categories
(Firefox OS Graveyard :: Gaia::TV, defect, P1)
Tracking
(feature-b2g:2.5+, b2g-v2.5 fixed, b2g-master fixed)
People
(Reporter: jj.evelyn, Assigned: lchang)
References
Details
(Whiteboard: [ft:conndevices][partner-blocker][partner-cherry-pick])
User Story
As a user, I want to preview Websites from Marketplace.
Attachments
(2 files)
46 bytes,
text/x-github-pull-request
|
jj.evelyn
:
review+
jocheng
:
approval-gaia-v2.5+
|
Details | Review |
626.77 KB,
image/png
|
Details |
In bug 1225081 we added a PreviewWindow as a child window of marketplace. We should use it to display website content opened by Marketplace as well.
Reporter | ||
Comment 1•9 years ago
|
||
As a user, I want to preview Websites from Marketplace.
Assignee: nobody → lchang
No longer depends on: 1217771
Reporter | ||
Updated•9 years ago
|
User Story: (updated)
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8699872 [details] [review] [gaia] luke-chang:1232345_tv_preview_website > mozilla-b2g:master Hi Evelyn, Could you help review this patch? It contains five commits but only the last one is against this bug -- the others can be ignored. In this patch I changed the behavior of the BACK button and also fixed a "focus" bug in "app_install_dialogs.js".
Attachment #8699872 -
Flags: review?(ehung)
Updated•9 years ago
|
QA Whiteboard: [COM=TV::Marketplace]
Updated•9 years ago
|
Status: NEW → ASSIGNED
Updated•9 years ago
|
Target Milestone: --- → 2.6 S4 - 1/1
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8699872 [details] [review] [gaia] luke-chang:1232345_tv_preview_website > mozilla-b2g:master r+ with comments addressed. Thanks!
Attachment #8699872 -
Flags: review?(ehung) → review+
Assignee | ||
Comment 5•9 years ago
|
||
tests passed: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=3d1c163d29d918c3737a1587defd8ad94709ef1c landed on master: https://github.com/mozilla-b2g/gaia/commit/4742f8102bee9f41f3e107c5d8f020375e76d78f
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-b2g-master:
--- → fixed
Resolution: --- → FIXED
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8699872 [details] [review] [gaia] luke-chang:1232345_tv_preview_website > mozilla-b2g:master [Approval Request Comment] [Bug caused by] (feature/regressing bug #): TV feature: OWD [User impact] if declined: feature isn't complete. [Testing completed]: yes. [Risk to taking this patch] (and alternatives if risky): low, affect TV only. [String changes made]: yes.
Attachment #8699872 -
Flags: approval-gaia-v2.5?
Updated•9 years ago
|
status-b2g-v2.5:
--- → affected
Comment 7•9 years ago
|
||
Comment on attachment 8699872 [details] [review] [gaia] luke-chang:1232345_tv_preview_website > mozilla-b2g:master Approve for TV 2.5
Attachment #8699872 -
Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
Comment 8•9 years ago
|
||
for 2.5 https://github.com/mozilla-b2g/gaia/commit/b54eddf0e2e8c998041f26d455dd470fcbcd7ba8
Comment 9•9 years ago
|
||
In this patch you introduced a bad design regarding l10n labels: BrowserContextMenu is carrying `textRaw` which is resolved at creation time using mozL10n.get which is deprecated. Instead, you should carry l10nId around and resolve it by assigning data-l10n-id on the element in which the entity is used. I'm just writing here to encourage avoiding such decisions in the future :)
Assignee | ||
Comment 10•9 years ago
|
||
Hi Zibi, Thanks for your feedback. And yes, I do know it's a bad design. Actually, the context menu in TV, which is rendered by a smart component "smart-modal-dialog", support the “textL10nId” property indeed and will assign the "data-l10n-id" accordingly. However, its former version, which is being used in TV smart system, has a bug that it can't support "textL10nId" and "menuIcon" at the same time. Although it has been fixed in the latest version, its interface has also been changed so we can't apply it to TV smart system easily. Since TV 2.5 will code freeze soon, I intended to avoid too many changes on it and compromised with that bad design. I promise it'll be fixed in the master branch in the near future. Thanks again.
Comment 11•9 years ago
|
||
> I promise it'll be fixed in the master branch in the near future. Thanks again.
Cool! Thanks for the response! I understand the constrains :)
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Verify this issue on the latest build. A preview window as a child window is displayed on the upper-right corner of marketplace page. Please refer to the attachment(Screenshot from 2016-02-23 15_56_50.png) [Build Info] simulator 2.6.20160222133739 gaia: https://github.com/mozilla-b2g/gaia/commit/d9faad5c0f14fcd42f920c9104f0638f46a48b2a gecko: https://hg.mozilla.org/mozilla-central/rev/789a12291942763bc1e3a89f97e0b82dc1c9d00b
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•