Closed
Bug 984315
Opened 11 years ago
Closed 11 years ago
Follow-up Bug 947189. Polish contact button content according to the length of operator, tel number and SIM indicator
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(blocking-b2g:1.4+, b2g-v1.4 fixed, b2g-v2.0 fixed)
People
(Reporter: jmcf, Assigned: mbudzynski)
Details
Attachments
(2 files, 1 obsolete file)
See attached screen with the issue described. Some UX input needed
Reporter | ||
Comment 1•11 years ago
|
||
issue captured
Reporter | ||
Comment 2•11 years ago
|
||
The issue is that if the operator name is too long or tel number itself the operator name /tel number and the SIM descriptor can overlap. This is a visual issue
Reporter | ||
Updated•11 years ago
|
blocking-b2g: --- → 1.4?
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(cawang)
Comment 3•11 years ago
|
||
ni? Jose on visual issue. Thanks!
Flags: needinfo?(cawang) → needinfo?(vittone)
Comment 4•11 years ago
|
||
Hi guys, please check out the DSDS visual specs for contacts, the carrier should be moved next to the phone type.
Check it out:
https://bug947186.bugzilla.mozilla.org/attachment.cgi?id=8374186
Best,
Jose
Flags: needinfo?(vittone)
Comment 5•11 years ago
|
||
triage: 1.4+, the strings can be easily overlaping in DSDS devices
blocking-b2g: 1.4? → 1.4+
Comment 6•11 years ago
|
||
To fix this, you can do something like this:
<button>
<div style="display: flex">
<div style="flex: 1">
<span>012345</span>
<span>, Jamon networks</span>
</div>
<div class="sim-indication">SIM 1</div>
</div>
</button>
The extra wrapping div is because Gecko doesn't seem to support flex on buttons (I opened bug 984869).
An alternative is to use a <div style="display: flex" role="button" tabindex="0">.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mbudzynski
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #8393567 -
Flags: review?(francisco.jordano)
Comment 10•11 years ago
|
||
Comment on attachment 8393567 [details] [review]
Patch
Removing the review flag until we have unit tests here, please ask for r? again when ready to go :)
Thanks a lot!
Attachment #8393567 -
Flags: review?(francisco.jordano)
Assignee | ||
Updated•11 years ago
|
Attachment #8393567 -
Flags: review?(francisco.jordano)
Assignee | ||
Comment 11•11 years ago
|
||
Tests updated, patch ready to r.
Comment 12•11 years ago
|
||
Comment on attachment 8393567 [details] [review]
Patch
Almost there Michal!
Left some comments in github:
- Use mozL10n for appending the carrier value (specially the separator).
- Unit test can be improved a bit, checking for the carrier value.
- CSS rules, looking a bit weird to me, we are moving the phone number away from the phone icon.
Thanks a lot!
Attachment #8393567 -
Flags: review?(francisco.jordano) → review-
Assignee | ||
Updated•11 years ago
|
Attachment #8393567 -
Flags: review-
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #8393567 -
Attachment is obsolete: true
Attachment #8394224 -
Flags: review?(francisco.jordano)
Assignee | ||
Comment 14•11 years ago
|
||
Fixed, ready for r again!
Comment 15•11 years ago
|
||
Comment on attachment 8394224 [details] [review]
Final Patch
Nice, please merge once travis is green.
Attachment #8394224 -
Flags: review?(francisco.jordano) → review+
Assignee | ||
Comment 16•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 17•11 years ago
|
||
v1.4: b09bf796d82ca7aa00d141a0cb705ee9cabfab47
Comment 18•11 years ago
|
||
One silly question: is there a missing space somewhere between number and carrier? Space is not in the string or the code either.
Updated•11 years ago
|
Flags: needinfo?(mbudzynski)
Assignee | ||
Comment 19•11 years ago
|
||
Francesco,
Carrier name is now above the number, next to th phone type, so there is no space between them.
Flags: needinfo?(mbudzynski)
Comment 20•11 years ago
|
||
Thanks for the explanation.
You need to log in
before you can comment on or make changes to this bug.
Description
•