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)

x86
macOS
defect
Not set
normal

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).
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)
Just rebased to latest master and will file a following bug to remove redundant calls to mgmt.
Comment on attachment 8500834 [details] [review] patch on master Thanks for the patch! f=me.
Attachment #8500834 - Flags: feedback?(arthur.chen) → feedback+
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 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)
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 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)
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 on attachment 8500834 [details] [review] patch on master Please check my comments regarding tests, thanks.
Attachment #8500834 - Flags: review?(arthur.chen)
Comment on attachment 8500834 [details] [review] patch on master Thanks Arthur, all comments were addressed !
Attachment #8500834 - Flags: review?(arthur.chen)
+ manual tests already
Comment on attachment 8500834 [details] [review] patch on master Awesome! r=me, thanks.
Attachment #8500834 - Flags: review?(arthur.chen) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
[Tracking Requested - why for this release]:
tracking-b2g: --- → ?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: