Closed
Bug 972573
Opened 10 years ago
Closed 10 years ago
[B2G][SMS] The selection screen for adding a contact with multiple phone numbers to a SMS message lacks a cancel, back, or 'x' button
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(b2g-v1.2 affected, b2g-v1.3 affected, b2g-v1.4 affected)
RESOLVED
FIXED
2.0 S4 (20june)
People
(Reporter: rpribble, Assigned: ta-matsuura)
References
Details
(Whiteboard: permafail)
Attachments
(6 files)
90.41 KB,
image/png
|
Details | |
69.98 KB,
image/png
|
Details | |
46 bytes,
text/x-github-pull-request
|
arcturus
:
review-
|
Details | Review |
46 bytes,
text/x-github-pull-request
|
mbudzynski
:
feedback-
|
Details | Review |
46 bytes,
text/x-github-pull-request
|
Details | Review | |
46 bytes,
text/x-github-pull-request
|
mbudzynski
:
review+
arcturus
:
review+
|
Details | Review |
Description: When adding a contact with multiple phone numbers listed to a SMS message, there is no cancel, back, or 'x' button on the phone number selection screen. Tapping 'okay' without selecting a number will take the user back to the previous screen, but it is not an immediately obvious selection to the user. Repro Steps: 1) Updated buri to BuildID: 20140212004003 2) Tap the contacts icon 3) Tap the + sign to create a new contact 4) Create and save a new contact with two phone numbers 5) Tap the home button 6) Tap the SMS icon 7) Tap the button in the upper right to create a new message 8) Tap the + sign to add a contact to the sms 9) Tap the new created contact with two numbers 10) Observe the lack of cancel option on the phone number selection screen that appears Actual: No cancel option on the phone number selection screen. Expected: No confusing UI. Environmental Variables: Device: buri v13 moz ril BuildID: 20140212004003 Gaia: ce17d5eae7b1893ae4397c814b10ae598fcbdb58 Gecko: ab07e61c2eb0 Version: 28.0 Firmware Version: v1.2-device.cfg Notes: Repro frequency: 100% Link to failed test case: https://moztrap.mozilla.org/manage/cases/?filter-id=5009 See attached: Screenshot
Updated•10 years ago
|
Component: Gaia::SMS → Gaia::Contacts
Flags: needinfo?(francisco.jordano)
Comment 1•10 years ago
|
||
Thanks Julien, taking care of this
Assignee: nobody → francisco.jordano
Flags: needinfo?(francisco.jordano)
Comment 2•10 years ago
|
||
Thanks Julien, taking care of this
Updated•10 years ago
|
status-b2g-v1.4:
--- → affected
Whiteboard: burirun1.3-3 → burirun1.3-3, burirun1.4-1
Updated•10 years ago
|
Whiteboard: burirun1.3-3, burirun1.4-1 → permafail
Comment 3•10 years ago
|
||
No cancel option on the phone number selection screen appears on 1.4 Buri following the STR in Comment 0. Environmental Variables: Device: Buri 1.4 MOZ BuildID: 20140324000202 Gaia: 730670951e40b2317a167fcd07c398bb662d6e87 Gecko: a44f8b39c2c8 Version: 30.0a2 Base image: v1.2-device.cfg
Assignee | ||
Comment 4•10 years ago
|
||
Tap "cancel" -> close selector screen. Tap "item" -> close selector screen.
Assignee | ||
Comment 5•10 years ago
|
||
Hi Francisco, I am working for this bug. Could you assign me if you don't mind. Attached file is draft Im making.
Comment 6•10 years ago
|
||
(don't know if Francisco reads the bugmail without a needinfo :) )
Flags: needinfo?(francisco.jordano)
Comment 7•10 years ago
|
||
Thanks Julien! Definitely the needinfo helps a lot! Thanks Taichi for taking care of this, I'm assigning to you, if you need help ping me (flag me with needinfo). Will be happy to help!
Assignee: francisco.jordano → ta-matsuura
Flags: needinfo?(francisco.jordano)
Assignee | ||
Comment 8•10 years ago
|
||
Hi Francisco, I have sent PR, if you are not proper person to review, could you announce this to someone else? https://github.com/mozilla-b2g/gaia/pull/18200 Thanks, Taichi
Flags: needinfo?(francisco.jordano)
Comment 10•10 years ago
|
||
Attachment #8405438 -
Flags: review?(francisco.jordano)
Comment 11•10 years ago
|
||
Comment on attachment 8405438 [details] [review] Pointer to PR 18200 Hi, Great work here! The patch is a bit bigger than I expected, but I'm amazed by the work done. Left some comments on the github PR, mainly: - No need to add a new web activity - If using value selector, try to lazyload from a template - Reuse shared style for value selector in shared Thanks a lot!
Attachment #8405438 -
Flags: review?(francisco.jordano) → review-
Assignee | ||
Comment 12•10 years ago
|
||
Big thanks for reviewing Francisco. I have quick question and some comments. > - No need to add a new web activity We need new activity for massage app. It'll support "mms to email address" and contacts app need to return what user choose (phone number or email address) back to message app. In this case message app does not know which value selected, thus "result" contains an exact user selected value using new web activity. We also consider other app which already using "webcontacts/tel", "webcontacts/email" so on. Im afraid they will get the impact from my changes. I dont mind changing the naming, please tell me. > - If using value selector, try to lazyload from a template Do you mean that we prepare value_selector.html, then do what details.js does. > - Reuse shared style for value selector in shared I loaded value_selector.css in shared but it made the broken screen. We need own value selector right?
Flags: needinfo?(francisco.jordano)
Comment 13•10 years ago
|
||
(In reply to Taichi Matsuura from comment #12) > Big thanks for reviewing Francisco. > I have quick question and some comments. > > > - No need to add a new web activity > We need new activity for massage app. It'll support "mms to email address" > and contacts app need to return what user choose (phone number or email > address) back to message app. > In this case message app does not know which value selected, thus "result" > contains an exact user selected value using new web activity. My point is that MMS doesn't support sending to email yet, so it shouldn't be in contacts, until we have the feature in message app. > > We also consider other app which already using "webcontacts/tel", > "webcontacts/email" so on. > Im afraid they will get the impact from my changes. > I dont mind changing the naming, please tell me. > > > - If using value selector, try to lazyload from a template > Do you mean that we prepare value_selector.html, then do what details.js > does. Exactly, have a specific html view that is lazy loaded as details.html + details.js > > > - Reuse shared style for value selector in shared > I loaded value_selector.css in shared but it made the broken screen. We need > own value selector right? Oh, damn it! If it's not possible to reuse I'm ok then. In general we are adding a lot of complexity, this bug was for adding a cancel option, not for adding extra functionality like adding emails. That's my concern, I would like to have that functionality once sms supports sending to email. Thanks a lot!
Flags: needinfo?(francisco.jordano)
Assignee | ||
Comment 14•10 years ago
|
||
Hi Francisco, Please review https://github.com/mozilla-b2g/gaia/pull/18582. (In reply to Francisco Jordano [:arcturus] from comment #13) > My point is that MMS doesn't support sending to email yet, so it shouldn't > be in contacts, until we have the feature in message app. I understood and deleted some code with regard to MMS. > Exactly, have a specific html view that is lazy loaded as details.html + > details.js Yes, I used lazy load. Hope this PR will be merged quickly. Thanks, Taichi
Flags: needinfo?(francisco.jordano)
Comment 15•10 years ago
|
||
Hi Taichi, so are we ready for a second review round? When ever you are, just setup the flag review? to myself.
Flags: needinfo?(francisco.jordano)
Assignee | ||
Comment 16•10 years ago
|
||
There is a couple of errors in travis test, but I dont know how to re-run travis.
Attachment #8412357 -
Flags: review?(francisco.jordano)
Comment 17•10 years ago
|
||
Comment on attachment 8412357 [details] [review] PR review : Bug 972573 - Add cancel button on the selection screen Hi Michal, could you take a look to this as well? Would appreciate your feedback here.
Attachment #8412357 -
Flags: feedback?(mbudzynski)
Comment 18•10 years ago
|
||
I'm on it now. Taichi, I reruned Travis tests and start to reviewing your patch now.
Comment 19•10 years ago
|
||
Comment on attachment 8412357 [details] [review] PR review : Bug 972573 - Add cancel button on the selection screen Taichi, great work, thanks for your patch. However, I have one main concern - Why do you need out own Value Selector? Can't we use the Action menu [1] from building blocks? It has everything we need - list of elements & cancel button. Using it will simplify your changes in the code and we will keep consistency among the apps. [1] http://buildingfirefoxos.com/building-blocks/action-menu.html
Attachment #8412357 -
Flags: feedback?(mbudzynski) → feedback-
Flags: needinfo?(ta-matsuura)
Comment 20•10 years ago
|
||
Comment on attachment 8412357 [details] [review] PR review : Bug 972573 - Add cancel button on the selection screen Hi, we are still waiting for feedback requested by Michal, he did a feedback round and looking for solving some problems. Thanks, F.
Attachment #8412357 -
Flags: review?(francisco.jordano)
Assignee | ||
Comment 21•10 years ago
|
||
Thanks Michal for your feedback and sorry to have kept you waiting. I was bit busy for other stuff and I will start this again!
Flags: needinfo?(ta-matsuura)
Updated•10 years ago
|
Target Milestone: --- → 2.0 S4 (20june)
Comment 23•10 years ago
|
||
Hi, Michal. I have modified to use the Action menu. Please review it. https://github.com/mozilla-b2g/gaia/pull/20051
Attachment #8434835 -
Flags: review?(mbudzynski)
Comment 24•10 years ago
|
||
Thanks Kotaro, I'm traveling today so I'll review the patch at the beginning of next week. Cheers.
Comment 25•10 years ago
|
||
(In reply to Michał Budzyński (:michalbe) from comment #24) > Thanks Kotaro, > I'm traveling today so I'll review the patch at the beginning of next week. > Cheers. Hi Michał. > I'm traveling today so I'll review the patch at the beginning of next week. I see. This Bug has blocking bug(Bug974864). I want to fix it, so please review ASAP. Thanks in advance.
Comment 26•10 years ago
|
||
Hey Kotaro, I'm on it now. Thanks
Comment 27•10 years ago
|
||
Comment on attachment 8434835 [details] [review] PR review: Bug972573 Comments in the pull request on Github.
Attachment #8434835 -
Flags: review?(mbudzynski)
Comment 28•10 years ago
|
||
(In reply to Michał Budzyński (:michalbe) from comment #27) > Comment on attachment 8434835 [details] [review] > PR review: Bug972573 > > Comments in the pull request on Github. Thank you for review. I have left some comments on GitHub. Please check it.
Flags: needinfo?(mbudzynski)
Comment 29•10 years ago
|
||
Kotaro, I made some comments on GH. Thanks for your work!
Flags: needinfo?(mbudzynski)
Comment 30•10 years ago
|
||
Hi Michał, Thank you for review. I have fixed all issues in https://github.com/mozilla-b2g/gaia/pull/20051. Please review new PR. Thanks.
Attachment #8439167 -
Flags: review?(mbudzynski)
Comment 31•10 years ago
|
||
I'm siting to this now. For the record - next time pls just update the old pull request, I'll be able to see my comments on your changes, and your responses to them if you'll have any. Opening a new PR & new branch for every proposal is painful.
Comment 32•10 years ago
|
||
Comment on attachment 8439167 [details] [review] 2nd PR review: Bug972573 Small, mostly cosmetic changes requested on Github. Please update the same PR with changes and ask for review again. Thanks Kotaro, great job!
Attachment #8439167 -
Flags: review?(mbudzynski)
Comment 33•10 years ago
|
||
(In reply to Michał Budzyński (:michalbe) from comment #31) > I'm siting to this now. > > For the record - next time pls just update the old pull request, I'll be > able to see my comments on your changes, and your responses to them if > you'll have any. Opening a new PR & new branch for every proposal is painful. Sorry for inconvenient. I will do the next time. (In reply to Michał Budzyński (:michalbe) from comment #32) > Comment on attachment 8439167 [details] [review] > 2nd PR review: Bug972573 > > Small, mostly cosmetic changes requested on Github. Please update the same > PR with changes and ask for review again. Thanks Kotaro, great job! I have confirmed and fixed. And update the same PR(https://bugzilla.mozilla.org/attachment.cgi?id=8439167). Please review again. Thanks.
Updated•10 years ago
|
Attachment #8439167 -
Flags: review?(mbudzynski)
Comment 34•10 years ago
|
||
Comment on attachment 8439167 [details] [review] 2nd PR review: Bug972573 r+ from me, thanks Kotaro, it was my pleasure to work with you on this. Please stash your commits into one (we have one commit per feature policy at Mozilla), and even if we put big effort in reviewing & fixing this patch, I would like :arcturus to take a look on it as well since he is the mighty owner of the Contacts App. Thanks one more time!
Attachment #8439167 -
Flags: review?(mbudzynski)
Attachment #8439167 -
Flags: review+
Attachment #8439167 -
Flags: feedback?(francisco)
Comment 35•10 years ago
|
||
Comment on attachment 8439167 [details] [review] 2nd PR review: Bug972573 Left some comments that would like to be addressed before landing, specially the lack of unit tests for the action_menu.js. Also some other nit. Thanks for the great work!
Attachment #8439167 -
Flags: feedback?(francisco)
Comment 36•10 years ago
|
||
(In reply to Francisco Jordano [:arcturus] [:francisco] from comment #35) > Comment on attachment 8439167 [details] [review] > 2nd PR review: Bug972573 > > Left some comments that would like to be addressed before landing, specially > the lack of unit tests for the action_menu.js. > > Also some other nit. > > Thanks for the great work! Hi Francisco, I have confirmed and fixed. Please review again. I do not know what the Flags do I set. So I check the NI. Thanks.
Flags: needinfo?(francisco)
Comment 37•10 years ago
|
||
Hi Kotaro, thanks for the work, I'll assing the review flags on the PR to myself.
Flags: needinfo?(francisco)
Updated•10 years ago
|
Attachment #8439167 -
Flags: review?(francisco)
Comment 38•10 years ago
|
||
Comment on attachment 8439167 [details] [review] 2nd PR review: Bug972573 Great work! Such an amazing work here, tested and working like charm, code wise all the suggestions are implemented, so I'm pretty happy with this. This is almost ready, just left a tiny tiny comment regarding style of the l10n strings, once fixed, please ping me back againg for reviewing and we merge, after that change we won't do any more code review, we will merge the feature :D
Attachment #8439167 -
Flags: review?(francisco)
Comment 39•10 years ago
|
||
Hi Francisco, I have confirmed and fixed. Please review it. I hope this is last review request. Thank you a lot.
Updated•10 years ago
|
Attachment #8439167 -
Flags: review?(francisco)
Comment 40•10 years ago
|
||
Comment on attachment 8439167 [details] [review] 2nd PR review: Bug972573 Yeah! Great work, thanks a lot for adding all the changes, I'm r+ and merging this functionality!
Attachment #8439167 -
Flags: review?(francisco) → review+
Comment 41•10 years ago
|
||
Landed in gaia: https://github.com/mozilla-b2g/gaia/commit/b3d25641cfeb7ab34e7294185ced6fa61ba727a9 Great work folks!
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•