Closed
Bug 1093516
Opened 10 years ago
Closed 6 years ago
[System2] Migrate AppUpdate/InstallDialog to SystemDialog
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(tracking-b2g:backlog)
RESOLVED
WONTFIX
tracking-b2g | backlog |
People
(Reporter: alive, Unassigned)
References
Details
(Whiteboard: [ft:system-platform])
Attachments
(1 file)
No description provided.
Reporter | ||
Updated•10 years ago
|
blocking-b2g: --- → backlog
Reporter | ||
Comment 1•10 years ago
|
||
Backlog Triage: Move it become system dialog is valuable because we could manage the UI by system dialog manager.
Reporter | ||
Comment 2•9 years ago
|
||
Are you still on this? If yes, please assign it to yourself.
Flags: needinfo?(evanxd)
Comment 3•9 years ago
|
||
Sure. And looks like Bug 1111975 is a duplicate of this bug.
Flags: needinfo?(evanxd)
Updated•9 years ago
|
Assignee: nobody → evanxd
Updated•9 years ago
|
Whiteboard: [ft:system-platform]
Updated•9 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → 2.2 S4 (23jan)
Comment 6•9 years ago
|
||
Hi Tim, We will have a patch for review(feedback) this week. Let's do our best to land it next week. :)
Flags: needinfo?(evanxd)
Comment 7•9 years ago
|
||
WIP patch, and working on debugging issues of using system dialog module.
Comment 8•9 years ago
|
||
Fixed the issue listed in Comment 7. Continue to refactor `imeLayoutDialog`, `downloadCancelDialog`, `setupInstalledAppDialog` dialogs. Then remove the global dependencies with using `Service.request()`.
Comment 9•9 years ago
|
||
Finished `downloadCancelDialog` and `setupInstalledAppDialog` dialogs.
Comment 10•9 years ago
|
||
Finished the `imeLayoutDialog` dialog.
Comment 11•9 years ago
|
||
Comment on attachment 8550181 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/27456 Hi Alive, Could you give feedbacks for the patch? Currently, I created `AppInstallManager` module with `BaseModule`, and I used system dialog module for `AppInstallDialog`, `AppInstallCancelDialog`, `AppDownloadCancelDialog`, `SetupInstalledAppDialog`, and `ImeLayoutDialog` dialogs. That is our phase one for the refactor work. In the phase two, I will use `Service.request()` to remove the global object in the top of `app_install_manager.js`. Thanks.
Attachment #8550181 -
Flags: feedback?(alive)
Reporter | ||
Comment 12•9 years ago
|
||
Comment on attachment 8550181 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/27456 Okay, I did a rough review around. Basically fine but the biggest problem is the module responsibility is vague. Notes: * The manager should not know detail of each dialogs, e.g. dom elements * The _start function of AIM does too many things - split it using BaseModule.EVENTS * Think this: which event should be handled in the manager and which event should be handled in the dialog? * Lazy load all dialogs on demand. One proposal is: 1. AppInstallManager only loads/starts AppInstallDialog when getting mozChromeEvent with evt.detail.type=applicationinstall 2. AppInstallDialog will loads/starts AppInstallCancelDialog if cancel button is pressed 3. AppInstallManager only loads/starts AppDownloadCancelDialog if the user click cancel somewhere 4. AppInstallManager only loads/starts ImeLayoutDialog once a new input app is installed
Attachment #8550181 -
Flags: feedback?(alive)
Assignee | ||
Updated•9 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Comment 13•9 years ago
|
||
Evan, do you mind if I steal this bug? I have bandwidth to work on it now. Thanks!
Flags: needinfo?(evanxd)
Comment 14•9 years ago
|
||
Really sorry, Alberto, I'm working this. There is also a patch on review process. No update for a long time is because I was working on Bug 1100822. Sorry for that. How do you think if you help other refactor works[1]? [1]: https://wiki.mozilla.org/User:Alive/System_Refactor_Plan
Flags: needinfo?(evanxd)
Comment 15•9 years ago
|
||
Yeah, sounds good! Thanks!
Updated•9 years ago
|
Target Milestone: 2.2 S4 (23jan) → ---
Comment 16•9 years ago
|
||
Hi Alive, After I update the patch for the comments, could you help to review the patch? Thanks.
Flags: needinfo?(alegnadise+moz)
Reporter | ||
Comment 17•9 years ago
|
||
(In reply to Evan Tseng [:evanxd][:愛聞插低] from comment #16) > Hi Alive, > > After I update the patch for the comments, could you help to review the > patch? > > Thanks. Yes, please.
Flags: needinfo?(alegnadise+moz)
Updated•8 years ago
|
Assignee: evan → nobody
Status: ASSIGNED → NEW
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•