Closed Bug 825862 Opened 12 years ago Closed 12 years ago

Importing SIM contacts from FTU doesn't block

Categories

(Firefox OS Graveyard :: Gaia::First Time Experience, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

RESOLVED FIXED
B2G C4 (2jan on)
blocking-basecamp +

People

(Reporter: julienw, Assigned: kgrandon)

Details

Attachments

(1 obsolete file)

STR:
* have a SIM with a lot of contacts
* launch FTU
* at the "import contacts" page, import SIM contact
* then go on without waiting
* launch the contact app
=> no contact is displayed

Expected:
* the user should not be able to finish the FTU if the contacts are still being imported. Or it should work in the background and the Contact app could display a message stating that it is still importing stuff.

For v1, I'd suggest blocking at the "import" screen during import, much like the import in the Contact app works.
Blocking + late-l10n if message must be localized
blocking-basecamp: ? → +
Keywords: late-l10n
Priority: -- → P3
I don't mind taking this one, unless someone really wants it :)
Assignee: nobody → kgrandon
I think Vivien began working on this today but I'm sure he won't mind if you take this ;)
This does seem like a blocker given:

*User has contacts on their SIM
*Initiates the import, but because they don't wait, the contacts aren't imported
*User can't start using the phone given they don't have any contacts

If we can have this happen in the background with minimal to no impact to the user, that'd be ideal.  Or if we have to wait with 'loading...' that's acceptable as well.
Assignee: kgrandon → nobody
+ CC Vivien, in case he is working on it

I actually already have a fix ready for this one - so wondering why you unassigned it? Re-assigning it to myself. Please let me know if I'm not following the correct process.
Assignee: nobody → kgrandon
Attached file Github pull request pointer (obsolete) —
Intiial pull request. This reuses styles and strings from the contacts part of the communications app.
l10n not needed as we already have a string for this.
Keywords: late-l10n
Comment on attachment 697230 [details]
Github pull request pointer

Looking for a review on this.
Attachment #697230 - Flags: review?(ehung)
Attachment #697230 - Flags: review?(21)
Note: this pull request also fixes a case where a user could not import contacts in FTU when the sim card does not have a pin.
Comment on attachment 697230 [details]
Github pull request pointer

I'd be more comfortable if you disable the next button during import too.

Otherwise it seems good (didn't try it on a device yet though) !
Julien - is that really necessary? We use the same logic here as in several other critical blocking places. (This is also the same as all of the dialogs in Contacts for example)
I'd say yes. Maybe the logic is not correct elsewhere...

The more obvious reason to me is accessibility: the overlay could not be "seen" by some users.

I agree this is not our primary concern today but let's do this correctly on the first time, don't you think ?
Comment on attachment 697230 [details]
Github pull request pointer

Julien - Updated the pull request to now disable the nav bar with aria-disabled (Similar approach as to what we do elsewhere in the app).

Are you able to review this one?
Attachment #697230 - Flags: review?(felash)
Target Milestone: --- → B2G C4 (2jan on)
Comment on attachment 697230 [details]
Github pull request pointer

r=julienw

tested both with sim security or without sim security, this works very well !

I'm not sure you need to wait for the other reviews for this patch (as it is still quite simple).

thanks !
Attachment #697230 - Flags: review?(felash) → review+
Landed pull request: https://github.com/mozilla-b2g/gaia/pull/7272. Thanks for the help on this one!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #697230 - Attachment is obsolete: true
Attachment #697230 - Flags: review?(ehung)
Attachment #697230 - Flags: review?(21)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: