Closed
Bug 1195602
Opened 9 years ago
Closed 9 years ago
[GPS] Support SUPL NI case in Gaia
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(feature-b2g:2.2r+, b2g-v2.2 wontfix, b2g-v2.2r fixed)
RESOLVED
FIXED
feature-b2g | 2.2r+ |
People
(Reporter: lchang, Assigned: lchang)
References
Details
User Story
As a FxOS user, I want to be notified of a SUPL Network Initiated request for my location that gives me the ability to approve or cancel it, so that I can control my location privacy. As an Operator, I want to SUPL notify-verify call flow to be supported on my devices, so that I can deploy network location services in compliance with specs which mandate ni notify-verify call flow.
Attachments
(4 files, 1 obsolete file)
+++ This bug was initially created as a clone of Bug #853703 +++
For the sake of convenience, this bug is cloned for reviewing the associated patch in Gaia part.
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8649087 [details]
[gaia] luke-chang:1195602_v2.2_supl_ni > mozilla-b2g:v2.2
Hi John,
Could you take a look at this patch? I can demo the whole scenario to you face to face.
Attachment #8649087 -
Flags: review?(im)
Assignee | ||
Comment 3•9 years ago
|
||
Hi Harly,
Please refer to the attached screenshots. I can demo it on real device if necessary. Thanks a lot.
Attachment #8650339 -
Flags: ui-review?(hhsu)
Assignee | ||
Comment 4•9 years ago
|
||
Sorry, I forgot to explain the screenshots in comment 3.
- 01.png & 02.png are for notification.
- 03.png is for verification.
- 04.png is also for verification but happens only when screen is locked.
It triggers notification first and will show the dialog (the same as what in 03.png) right after clicking the notification manually.
Comment 5•9 years ago
|
||
Hi Luke,
After consulting with the visuals, we think it is kind of strange not to have an icon beside the notification, do you think we can design a icon and placed on notification?
Flags: needinfo?(lchang)
Assignee | ||
Comment 6•9 years ago
|
||
Sure, it would be much better if there is an icon. Thanks in advance.
Flags: needinfo?(lchang)
Comment 7•9 years ago
|
||
Helen, could you provide the icon for the notification? Thanks
Flags: needinfo?(hhuang)
Comment 8•9 years ago
|
||
Comment on attachment 8649087 [details]
[gaia] luke-chang:1195602_v2.2_supl_ni > mozilla-b2g:v2.2
looks good to me. Please add some comments to code to tell us more.
Attachment #8649087 -
Flags: review?(im) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Helen, Thanks a lot.
Harly, Please take a look at these updated screenshots. Thanks.
Attachment #8650339 -
Attachment is obsolete: true
Attachment #8650339 -
Flags: ui-review?(hhsu)
Attachment #8652195 -
Flags: ui-review?(hhsu)
Comment 11•9 years ago
|
||
According to the building blocks guideline defined here :https://developer.mozilla.org/en-US/Apps/Design/Firefox_OS_building_blocks/Dialog
The dialog with only a single OK button should use grey color instead of blue.
Assignee | ||
Comment 12•9 years ago
|
||
According to the document, I think it should be fixed on master branch as well. However, this patch may not be landed on master. Since Modal Dialog is a stand-alone module, I would suggest filing another bug to fix the color of the button and review the rest here. What do you think?
Flags: needinfo?(hhsu)
Comment 13•9 years ago
|
||
After an offline discussion with Luke, I agree that this is a modal dialog bug and we should probably address this in another bug.
Flags: needinfo?(hhsu)
Comment 14•9 years ago
|
||
Comment on attachment 8652195 [details]
screenshots_v2
Looks good to me, thanks for the awesome work!
Attachment #8652195 -
Flags: ui-review?(hhsu) → ui-review+
Assignee | ||
Comment 15•9 years ago
|
||
Harly, Thanks.
Bug 1199537 is filed for the color issue of the button.
Comment 16•9 years ago
|
||
Assignee | ||
Comment 17•9 years ago
|
||
Cherry-picked the patch to v2.2r since we've decided not to land this feature on v2.2. Will land it after tests are all passed.
status-b2g-v2.2r:
--- → affected
Updated•9 years ago
|
Blocks: red-square
feature-b2g: --- → 2.2r+
Assignee | ||
Comment 18•9 years ago
|
||
According to Bug 1195872, gaia-try on v2.2r is totally broken now. I'd suggest landing this patch after that is fixed if not urgent.
Hi Wesly, what do you think?
Depends on: 1195872
Flags: needinfo?(wehuang)
Comment 19•9 years ago
|
||
Agree w/ Luke, even the plan is to implement this feature in 2.2r we don't need to rush for it when gaia-try is broken. We can wait for some time before landing it. Thanks.
(In reply to Luke Chang [:lchang] from comment #18)
> According to Bug 1195872, gaia-try on v2.2r is totally broken now. I'd
> suggest landing this patch after that is fixed if not urgent.
>
> Hi Wesly, what do you think?
Flags: needinfo?(wehuang)
Assignee | ||
Comment 20•9 years ago
|
||
Comment on attachment 8655945 [details]
[gaia] luke-chang:1195602_v2.2r_supl_ni > mozilla-b2g:v2.2r
Bug 1195872 has resolved. Let's try again.
Assignee | ||
Comment 21•9 years ago
|
||
The gaia-try has recovered but one of the lockscreen tests is still failed (bug 1204859).
Depends on: 1204859
Assignee | ||
Comment 22•9 years ago
|
||
Finally, tests are all passed:
https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=89b6e84d7dcee2996e28dd18e9aa3c1c39164ee2
landed on v2.2r:
https://github.com/mozilla-b2g/gaia/commit/d52d714afd14c6253ddac8fab63f29b8bcf59f2b
Please note that this patch needs to work with the Gecko patch in bug 853703.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•