Export all ADN contacts in one call

NEW
Unassigned

Status

Firefox OS
Gaia::Contacts
P3
normal
3 years ago
3 years ago

People

(Reporter: cyang, Unassigned)

Tracking

({perf})

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(tracking-b2g:backlog)

Details

(Reporter)

Description

3 years ago
Currently, when exporting contacts from the Contacts app, the UI allows you to select multiple contacts to be exported to the SIM card. During this process, only one contact is updated at a time via updateContact: https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/contacts/js/export/sim.js#L138

I was curious what was the thought process behind doing the export this way rather than sending all contacts down in one call?

There could be added benefit to knowing how many total contacts would be updated at the very beginning of the export (or knowing when a call to updateContact would be the last one).

Comment 1

3 years ago
[Blocking Requested - why for this release]:
blocking-b2g: --- → 3.0?
Comms triage: Performance improvement. Let's backlog it.
blocking-b2g: 3.0? → ---
tracking-b2g: --- → backlog
Keywords: perf
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.