Closed Bug 1060723 Opened 10 years ago Closed 10 years ago

Call info page isn't updated after a call dispatched from it ends

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.1 S4 (12sep)

People

(Reporter: drs, Assigned: rik)

References

Details

(Whiteboard: [c=3])

Attachments

(1 file)

STR:
1) Open call info page for any number or contact.
2) Place a call from a phone number on this page.
3) Wait any amount of time and then end the call.

Expected: The call appears in the call list.
Actual: The call does not appear in the call list.
We could fix this by calling CallInfo.show() when we receive a visibilitychange event. And remove the visibilitychange listener when we close the view.
Whiteboard: [planned-sprint c=]
We discussed in sprint planning that the best way to fix this is to listen to indexedDB events and recreate/update the view when the transaction is complete.

Gabriele says that there's no actual event for this. We'll come back to it once we have a real solution.
Target Milestone: 2.1 S4 (12sep) → 2.1 S5 (26sep)
Status: NEW → ASSIGNED
Whiteboard: [planned-sprint c=] → [c=3]
Target Milestone: 2.1 S5 (26sep) → 2.1 S4 (12sep)
Assignee: nobody → anthony
Attachment #8485826 - Flags: review?(drs+bugzilla)
Comment on attachment 8485826 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/23813

I really like the idea of using a custom DOM event here for communication as it's a nice and clean shortcut, and is reminiscent of the WC approach. Unfortunately, I don't agree with the specific pattern used, and there are a few more relatively minor nits I left comments for on the PR.
Attachment #8485826 - Flags: review?(drs+bugzilla) → review-
Comment on attachment 8485826 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/23813

I haven't addressed most of the comments but explained my reasons not to do so.
Attachment #8485826 - Flags: review- → review?(drs+bugzilla)
Comment on attachment 8485826 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/23813

Thanks for the explanations, and sorry for my mistake with the DOM event suggestion. I left a couple of comments, only one of which I think matters.
Attachment #8485826 - Flags: review?(drs+bugzilla) → review+
https://github.com/mozilla-b2g/gaia/commit/35a6d80022079905b8fd7bd05f062cd44efeca95
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: