Closed Bug 1046736 Opened 6 years ago Closed 6 years ago

[MobileID] Set default country code in phone number manual selection.

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.0+, b2g-v2.0 fixed, b2g-v2.1 fixed)

RESOLVED FIXED
2.1 S1 (1aug)
blocking-b2g 2.0+
Tracking Status
b2g-v2.0 --- fixed
b2g-v2.1 --- fixed

People

(Reporter: ferjm, Assigned: ferjm)

References

Details

(Whiteboard: ft:loop)

Attachments

(1 file)

We are currently not setting any default value for the country code manual selection within the MobileID dialog and we force the user to scroll through the huge list of country codes, which is alphabetically ordered. This is quite a painful UX, specially if you live in Zimbabwe.

We should instead default to the country code of the available SIM card if possible.
The change itself is quite short, but I had to make a little bit of refactoring of the UI.init function to be able to add tests for this fix. I also took the chance to fix a few linter errors on the css.
Assignee: nobody → ferjmoreno
Attachment #8465409 - Flags: review?(alive)
Blocks: Loopmov_1_1
[Blocking Requested - why for this release]:
blocking-b2g: --- → 2.0?
Whiteboard: ft:loop
[Blocking Requested - why for this release]: for the user, it's quite annoying select a country in such a huge list.
(In reply to Maria Angeles Oteo (:oteo) PTO 4th-25th Aug from comment #3)
> [Blocking Requested - why for this release]: for the user, it's quite
> annoying select a country in such a huge list.

Is this a one time setup annoyance or does the user have to select from this list regularly while using the loop client?
Flags: needinfo?(oteo)
(In reply to Lawrence Mandel [:lmandel] from comment #4)
> (In reply to Maria Angeles Oteo (:oteo) PTO 4th-25th Aug from comment #3)
> > [Blocking Requested - why for this release]: for the user, it's quite
> > annoying select a country in such a huge list.
> 
> Is this a one time setup annoyance or does the user have to select from this
> list regularly while using the loop client?

The user has to do it the first time he registers via MobileID with a specific SIM or telephone number, if he changes the SIM or wants to enter another phone number to register in Loop will have to repeat the process/registration.
Flags: needinfo?(oteo)
Attachment #8465409 - Flags: review?(alive) → review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S1 (1aug)
Blocking due to poor UX in Loop workflows.
blocking-b2g: 2.0? → 2.0+
You need to log in before you can comment on or make changes to this bug.