Closed Bug 811283 Opened 12 years ago Closed 12 years ago

[BB] [Dialer] Unify the mechanism to show information messages (confirm dialogs) to the user

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gtorodelvalle, Assigned: gtorodelvalle)

References

Details

Attachments

(2 files, 1 obsolete file)

The custom_dialog.js from the Shared context should not be used any longer in the Communications app. Consequently, instead of using the CustomObject object, the corresponding BB should be used, basically the Confirm one to send informative messages to the user.
Assignee: nobody → gtorodelvalle
Blocks: 796509
Summary: [BB] [Dialer] Remove all the appearances of CustomDialog and use the Confirm BB instead → [BB] [Dialer] Unify the mechanism to show information messages (confirm dialogs) to the user
Basically, the idea is to use something similar to the deprecated custom_dialog.js but at a Communications app level dealing with the fact that in the case of the Contacts app, it may run as an iFrame of the whole Communications app or independently. The new custom_dialog.js will be at a /contacts/js level but will be linked from the main /dialer main app.
Attached patch Associated PR diff file. (obsolete) — Splinter Review
NOTE: If blocking-basecamp+ is set, just land it for now.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): 
User impact if declined: 
Testing completed: 
Risk to taking this patch (and alternatives if risky):
Attachment #681489 - Flags: review?(jmcf)
Attachment #681489 - Flags: approval-gaia-master?(francisco.jordano)
Attachment #681489 - Flags: review?(jmcf) → review+
Attachment #681489 - Flags: review?(etienne)
Hi German, just commented directly on the pull request, always happy to review your code :)
Comment on attachment 681489 [details] [diff] [review]
Associated PR diff file.

German :etienne is ok with merging so please go ahead
Attachment #681489 - Flags: approval-gaia-master?(francisco.jordano) → approval-gaia-master+
FTR we still have some un-addressed comments on the PR here:
https://github.com/mozilla-b2g/gaia/pull/6404

But nothing that should block for too long :)
Component: Gaia → Gaia::Dialer
Flags: approval-gaia-master+
New PR, since I had some issues with the rebasing ;-999 : https://github.com/mozilla-b2g/gaia/pull/6545
NOTE: If blocking-basecamp+ is set, just land it for now.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): 
User impact if declined: 
Testing completed: 
Risk to taking this patch (and alternatives if risky):
Attachment #683922 - Flags: review?(igonzaleznicolas)
Attachment #683922 - Flags: approval-gaia-master?(francisco.jordano)
Comment on attachment 683922 [details] [diff] [review]
Associated new PR diff file.

r+ from my side for CSS and markup
Attachment #683922 - Flags: review?(igonzaleznicolas) → review+
Attachment #683922 - Flags: review?(etienne)
Comment on attachment 683922 [details] [diff] [review]
Associated new PR diff file.

Hi German, please merge this once you get the r+ from :etienne.

Thanks
Attachment #683922 - Flags: approval-gaia-master?(francisco.jordano) → approval-gaia-master+
Attachment #681489 - Attachment is obsolete: true
Attachment #681489 - Flags: review?(etienne)
Comment on attachment 683922 [details] [diff] [review]
Associated new PR diff file.

Don't forget the bug number and r= in the commit message.

Thanks for all the hard work!
Attachment #683922 - Flags: review?(etienne) → review+
- PR successfully merged ;-)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reopened to fix some misbehavior regarding the use of element.addEventListener('click',... versus element.onclick = ... with need further investigation. For time being we are fixing this misbehavior in the particular case of the messages shown to the user in the Comms app.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
NOTE: If blocking-basecamp+ is set, just land it for now.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): 
User impact if declined: 
Testing completed: 
Risk to taking this patch (and alternatives if risky):
Attachment #684011 - Flags: review?(jmcf)
Attachment #684011 - Flags: approval-gaia-master?(francisco.jordano)
Comment on attachment 684011 [details]
Associated new PR diff file.

Please merge once the you address the comments from :etienne and :jmcf

Thanks.
Attachment #684011 - Flags: approval-gaia-master?(francisco.jordano) → approval-gaia-master+
- New PR successfully landed in Gaia ;-)
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Blocks: 808183
Attachment #684011 - Flags: review?(jmcf)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: