Closed Bug 1212407 Opened 9 years ago Closed 9 years ago

[TV 2.5] Implement the functionalities of the client-side page of TV remote control

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lchang, Assigned: lchang)

References

Details

(Whiteboard: [partner-cherry-picked<2015/11/10>])

Attachments

(1 file)

Implement the functionalities of the client-side page of TV remote control.
Comment on attachment 8671296 [details] [review]
[gaia] luke-chang:1212407_TV_remote_control_client > mozilla-b2g:master

Hi Evelyn,

Please take a look at this. It's the client-side page of TV remote control.

In this patch, I've achieved following tasks:

- a remote-control-client app whose role is "system" so it won't show on App Deck.
- l10n function by importing l20n.js library
- a general touchPanel library that can detect mouse, touch and swipe events.
- input field for input function
- touch panel for mouse event funtcion
- scroll panel for scroll event function
- buttons for key event function

The only task remains is to apply the visual spec in Bug 1212403.

Note that the remote-control-client app is not developed for Gaia but for client-side browsers so you can only test it via HTTP server.

Also, this patch avoids using ES6 syntax because our purpose is to support all modern browsers on current mobile devices.

Thanks.
Attachment #8671296 - Flags: review?(ehung)
Status: NEW → ASSIGNED
Please refer to Wiki page [1] for the AJAX protocol definition.

[1] https://wiki.mozilla.org/Firefox_OS/Remote_Control#Ajax_Protocol
Attachment #8671296 - Flags: review?(ehung) → review?(rexboy)
Comment on attachment 8671296 [details] [review]
[gaia] luke-chang:1212407_TV_remote_control_client > mozilla-b2g:master

r=me with some comments. Please consider changing them before landing. See github.
( https://github.com/luke-chang/gaia/commit/340d36ae93fc5a803df2f2ce4d85c5e5b540dbf8 in case you can't see the comments since i didn't commented them on PR)
Attachment #8671296 - Flags: review?(rexboy) → review+
Tests are passed: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=907fbee8ba18046169ec9c4c7408677978ff8e72

landed on master: https://github.com/mozilla-b2g/gaia/commit/72b14d606740667fe48f702f6d7390738aecb8cc
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [partner-cherry-pick]
Whiteboard: [partner-cherry-pick] → [partner-cherry-picked<2015/11/10>]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: