Closed
Bug 922658
Opened 11 years ago
Closed 11 years ago
[Settings] Lazy load subpanels
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 973432
People
(Reporter: vingtetun, Assigned: kgrandon)
References
Details
(Keywords: perf, Whiteboard: [c=progress p= s=2014.06.06.t u=])
With bug 920623 the transition in the settings apps are coming back, but currently in settings when a panel is opened all subpanels are loaded at the same time. It ends up beeing very heavy and prevent the animation happens the first time it is opened and it also ends up consuming unuseful resources since some panels may never be used.
So changing the current panel loading logic to load one panel at a time and don't load the subpanels until the user try to access it should make the situation much better.
Comment 1•11 years ago
|
||
Most panels put the logic of sub panels in one script file. We should also separate the scripts and lazy load/execute them.
Assignee | ||
Comment 2•11 years ago
|
||
I'll take this one. Seems like it may be a non-trivial amount of work to split up all of the panels, so I may end up turning this into a meta bug and opening a bug for each panel.
Assignee: nobody → kgrandon
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Updated•11 years ago
|
Whiteboard: [c= p= s= u=] → [c= p= s= u=][ucid:SystemPlatform30, 1.4:p2, ft:system-platform]
Updated•11 years ago
|
Blocks: 1.4-system-platform
Comment 3•11 years ago
|
||
Remove whiteboard keyword for user story since we no longer use this one for settings app refactoring. Please refer to bug 969265 for more detail
Whiteboard: [c= p= s= u=][ucid:SystemPlatform30, 1.4:p2, ft:system-platform] → [c= p= s= u=]
Updated•11 years ago
|
No longer blocks: 1.4-system-platform
Priority: -- → P3
Updated•11 years ago
|
Whiteboard: [c= p= s= u=] → [c=progress p= s= u=]
Assignee | ||
Comment 4•11 years ago
|
||
Settings is being handled differently now, so we should be good.
Updated•11 years ago
|
Whiteboard: [c=progress p= s= u=] → [c=progress p= s=2014.06.06.t u=]
You need to log in
before you can comment on or make changes to this bug.
Description
•