Closed Bug 971498 Opened 10 years ago Closed 10 years ago

[System2] Instantiable HomescreenLauncher

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alive, Assigned: dwi2)

References

Details

(Whiteboard: [in-bubble-tea])

Attachments

(2 files, 1 obsolete file)

We need homescreen_launcher.js to be instantiable and let bootstrap or its parent module to instantiate it.
Also jsdoc + unit test improvement wanted.
Assignee: nobody → tzhuang
Attached file WIP pull request (obsolete) —
Hi Alive,

I am halfway of refactoring HomescreenLauncher to be an instantiable one. I'd like to have your feedback if I am getting things right or not. Thanks


Things done:
1. Make HomescreenLauncher instantiable
2. Fix broken tests because of 1.
3. Run and pass jshint against homescreen_launcher.js


Things to do:
4. add jsdoc for HomescreenLauncher
5. improve unit tests of HomescreenLauncher
Attachment #8378833 - Flags: feedback?(alive)
Comment on attachment 8378833 [details] [review]
WIP pull request

See github commits.
Attachment #8378833 - Flags: feedback?(alive) → feedback+
Attached file pull request
I made a new pull request based on previous one because this patch should go to bubble-tea for now.

Hi Alive,
Please kindly help to review the patch, Thanks
Attachment #8378833 - Attachment is obsolete: true
Attachment #8381851 - Flags: review?(alive)
Comment on attachment 8381851 [details]
pull request

r+ with nit
Attachment #8381851 - Flags: review?(alive) → review+
two follow-ups: bug 976986 and bug 976998
seems this fails TBPL, https://tbpl.mozilla.org/?tree=Try&rev=1d5983643117

please backout it
Blocks: 979212
Tzu-Lin, though we plan to merge bubble-tea to master in order.
Due to many conflict occurred in this patch, please help create a PR, check travis is green and land it to master. Thanks.
Flags: needinfo?(tzhuang)
Flags: needinfo?(tzhuang)
landed on master
https://github.com/mozilla-b2g/gaia/commit/c544c37e9967c9d4ca84d1b1322ab72c12f5f382
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
See Also: → 1055981
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: