Closed
Bug 1078128
Opened 10 years ago
Closed 10 years ago
[Settings] remove try_show_homescreen_section.js and move this logic into root.js
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(tracking-b2g:+)
RESOLVED
FIXED
tracking-b2g | + |
People
(Reporter: eragonj, Assigned: eragonj)
References
Details
Attachments
(1 file)
In order to make code clean and robust, it would be better to move try_show_homescreen_scetion.js logic into root.js (with AMD style).
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
Arthur,
in this patch I did remove try_* script and added an important manager - AppsManager. With this, we can easily fetch out apps from cache and this would make the performance better I think !
I will keep adding the unit tests and please help me check whether this implementation is okay to you or not.
Any feedback / idea would be really appreciated and welcome.
Thanks !!
Attachment #8500834 -
Flags: feedback?(arthur.chen)
Assignee | ||
Comment 3•10 years ago
|
||
Just rebased to latest master and will file a following bug to remove redundant calls to mgmt.
Comment 4•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
Thanks for the patch! f=me.
Attachment #8500834 -
Flags: feedback?(arthur.chen) → feedback+
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
Arthur,
I addressed all your comments just now and also update tests, so I think we are good to have a proper review process now !
Thanks !
Attachment #8500834 -
Flags: review?(arthur.chen)
Comment 6•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
The original implementation delay the query of all apps so I think we should keep that. And there are some comments regarding the async function design, please check them in github, thanks!
Attachment #8500834 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
Arthur, just updated the patch and I think it looks better now, please help me review again to see whether we are on the right way or not.
Thanks !!
Attachment #8500834 -
Flags: review?(arthur.chen)
Comment 8•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
Please check my comments regarding the init function in github, thanks.
Attachment #8500834 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
Nice, with this new update, I think appsCache is more reliable and stable now. I also updated all test cases with new design and did manual test already, Arthur, please help to find some time review this part. Thanks !!
Attachment #8500834 -
Flags: review?(arthur.chen)
Comment 10•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
Please check my comments regarding tests, thanks.
Attachment #8500834 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
Thanks Arthur, all comments were addressed !
Attachment #8500834 -
Flags: review?(arthur.chen)
Assignee | ||
Comment 12•10 years ago
|
||
+ manual tests already
Comment 13•10 years ago
|
||
Comment on attachment 8500834 [details] [review]
patch on master
Awesome! r=me, thanks.
Attachment #8500834 -
Flags: review?(arthur.chen) → review+
Assignee | ||
Comment 14•10 years ago
|
||
Merged into Gaia/master (2.2): https://github.com/mozilla-b2g/gaia/commit/2d5f30e687591581586cf80b7c4ea290ece0fea8
Thanks Arthur !
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•