Closed
Bug 810237
Opened 12 years ago
Closed 12 years ago
[Homescreen] BB deleting apps
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(blocking-basecamp:-)
RESOLVED
FIXED
blocking-basecamp | - |
People
(Reporter: crdlc, Assigned: crdlc)
Details
(Keywords: polish)
Attachments
(1 file, 1 obsolete file)
188 bytes,
text/html
|
etienne
:
review+
vingtetun
:
approval-gaia-v1+
|
Details |
http://img10.imageshack.us/img10/2135/deleteapp.png http://img819.imageshack.us/img819/2765/removebookmark.png
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → crdlc
Status: NEW → ASSIGNED
blocking-basecamp: --- → ?
Assignee | ||
Comment 1•12 years ago
|
||
https://github.com/mozilla-b2g/gaia/pull/6319
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #680032 -
Flags: review?(21)
Attachment #680032 -
Attachment is patch: true
Assignee | ||
Comment 3•12 years ago
|
||
patch is true? sorry, what does it mean? thanks Vivien
Assignee | ||
Comment 4•12 years ago
|
||
ok I understand, I forgot to click on patch checkbox. Thanks
Comment 5•12 years ago
|
||
Is this feature work or applying BB ?
Flags: needinfo?(crdlc)
Keywords: polish
Updated•12 years ago
|
blocking-basecamp: ? → -
Comment 7•12 years ago
|
||
Comment on attachment 680032 [details] [diff] [review] The patch Review of attachment 680032 [details] [diff] [review]: ----------------------------------------------------------------- ::: apps/homescreen/js/request.js @@ +21,5 @@ > + */ > + show: function dialog_show(title, msg, cancel, confirm) { > + screen = document.createElement('form'); > + screen.setAttribute('role', 'dialog'); > + screen.dataset.type = 'confirm'; I thought the building blocks was about inlining the html directly? Let's redirect this review to Etienne since he works on it last week.
Attachment #680032 -
Flags: review?(21) → review?(etienne)
Comment 8•12 years ago
|
||
Comment on attachment 680032 [details] [diff] [review] The patch Review of attachment 680032 [details] [diff] [review]: ----------------------------------------------------------------- Recaping: the idea is to put the dialog in the index.html directly and just toggle the display. I think the homescreen is a great candidate for this since we have only 1 type of dialog to handle (the one displayed when removing an app/bookmark). It will probably end up being a simpler patch too! :) ::: apps/homescreen/js/request.js @@ -35,5 @@ > - screen.id = 'permission-screen'; > - > - dialog = document.createElement('div'); > - dialog.id = 'permission-dialog'; > - screen.appendChild(dialog); Yes the plan discussed with Ismael was to fade out CustomDialog in favor inlined BB-compliant markup + a simple css class toggle to show/hide.
Assignee | ||
Comment 9•12 years ago
|
||
perfect, got it, thanks friends
Assignee | ||
Comment 10•12 years ago
|
||
Attachment #682383 -
Flags: review?(etienne)
Comment 11•12 years ago
|
||
Comment on attachment 682383 [details]
confirm in html markup
Looking good!
r=me with the 2 nits listed on github addressed.
(The renaming of CustomDialog -> UninstallDialog is the most important)
Please squash/amend the commit with the right reviewer.
Attachment #682383 -
Flags: review?(etienne) → review+
Updated•12 years ago
|
Attachment #680032 -
Attachment is obsolete: true
Attachment #680032 -
Flags: review?(etienne)
Assignee | ||
Comment 12•12 years ago
|
||
done both tasks :)
Assignee | ||
Updated•12 years ago
|
Attachment #682383 -
Flags: approval-gaia-master?(21)
Comment 13•12 years ago
|
||
(In reply to crdlc from comment #12) > done both tasks :) Awesome thanks!
Comment 14•12 years ago
|
||
Comment on attachment 682383 [details]
confirm in html markup
It sounds a really sane code that removes a custom helper in Javascript to use the one from the building blocks which is definitively simpler.
a=me.
Attachment #682383 -
Flags: approval-gaia-master?(21) → approval-gaia-master+
Assignee | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 15•12 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/cf233387c8a286800f4fee9e06d32d2bb093a45e
You need to log in
before you can comment on or make changes to this bug.
Description
•