Closed Bug 1205040 Opened 9 years ago Closed 9 years ago

[Settings] Add default setting for Tracking Protection

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.5+)

RESOLVED FIXED
blocking-b2g 2.5+

People

(Reporter: tif, Assigned: mikehenrty)

References

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

A new item needs to be added to Settings to enable the user to change their default Tracking Protection Setting.

Please see UX specs listed in the Meta Bug.
Blocks: 1180674
Depends on: 1207717
No longer blocks: 1180674
Blocks: 1207717
No longer depends on: 1207717
[Blocking Requested - why for this release]:
blocking-b2g: --- → 2.5+
Depends on: 1210740
Note, this bug will be used to track the additional toggle for Tracking Protection in the Browser Privacy panel. First we will need bug 1210740 to be able to control this from settings.
Whiteboard: [systemsfe]
Assignee: nobody → mhenretty
Comment on attachment 8669671 [details] [review]
[gaia] mikehenrty:bug-1205040-tracking-protection-setting > mozilla-b2g:master

Flagging Yura to review the Settings app changes.

Flagging Kevin for adding a link to gaia_switch.

Flagging Eric to see that the Learn More link looks okay, and redirects to the right place.
Attachment #8669671 - Flags: ui-review?(epang)
Attachment #8669671 - Flags: review?(yzenevich)
Attachment #8669671 - Flags: review?(kevingrandon)
The settings part looks fine, however you have a failing unit test.
Also it looks like switch styling regresses with this patch. I noticed styling issues in wi-di panel, were description is misplaced and sometimes the switch is cut-off from the bottom
Comment on attachment 8669671 [details] [review]
[gaia] mikehenrty:bug-1205040-tracking-protection-setting > mozilla-b2g:master

(In reply to Yura Zenevich [:yzen] from comment #5)
> The settings part looks fine, however you have a failing unit test.
> Also it looks like switch styling regresses with this patch. I noticed
> styling issues in wi-di panel, were description is misplaced and sometimes
> the switch is cut-off from the bottom

Ahh good catch! I'll fix these up before reflagging you.
Attachment #8669671 - Flags: ui-review?(epang)
Attachment #8669671 - Flags: review?(yzenevich)
Attachment #8669671 - Flags: review?(kevingrandon)
Comment on attachment 8669671 [details] [review]
[gaia] mikehenrty:bug-1205040-tracking-protection-setting > mozilla-b2g:master

Alright, addressed Yura and Kevin's comments and fixed the test (also added a test). This is ready for the next round.
Attachment #8669671 - Flags: ui-review?(epang)
Attachment #8669671 - Flags: review?(yzenevich)
Attachment #8669671 - Flags: review?(kevingrandon)
Comment on attachment 8669671 [details] [review]
[gaia] mikehenrty:bug-1205040-tracking-protection-setting > mozilla-b2g:master

Settings part looks good to me.
Attachment #8669671 - Flags: review?(yzenevich) → review+
Attachment #8669671 - Flags: ui-review?(tshakespeare)
It looks like you're linking to the Firefox desktop Tracking Protection sumo page. I know FxOS doesn't have a specific TP page yet (that's bug 1210155). 

Should we instead link it to the general security/privacy page for FxOS:
https://support.mozilla.org/en-US/products/firefox-os/privacy-and-security

And then open a new bug to update the link when the support page is ready?
Flags: needinfo?(mhenretty)
(In reply to Tiffanie Shakespeare [:tif] UX from comment #10)
> It looks like you're linking to the Firefox desktop Tracking Protection sumo
> page. I know FxOS doesn't have a specific TP page yet (that's bug 1210155). 
> 
> Should we instead link it to the general security/privacy page for FxOS:
> https://support.mozilla.org/en-US/products/firefox-os/privacy-and-security
> 
> And then open a new bug to update the link when the support page is ready?

Works for me, I updated the link to: https://support.mozilla.org/products/firefox-os/privacy-and-security
Flags: needinfo?(mhenretty)
Comment on attachment 8669671 [details] [review]
[gaia] mikehenrty:bug-1205040-tracking-protection-setting > mozilla-b2g:master

Thanks Michael!  Note that we've updated the 'Learn More' link styling to be consistent with other parts of the OS (see DNT and 'Improve Foxfood').

Looks like Tif has already commented on the link :)
Attachment #8669671 - Flags: ui-review?(epang) → ui-review+
Created bug 1211953 to update the link when the sumo page is ready.
Comment on attachment 8669671 [details] [review]
[gaia] mikehenrty:bug-1205040-tracking-protection-setting > mozilla-b2g:master

Looks good!
Attachment #8669671 - Flags: ui-review?(tshakespeare) → ui-review+
Comment on attachment 8669671 [details] [review]
[gaia] mikehenrty:bug-1205040-tracking-protection-setting > mozilla-b2g:master

This looks good, but I _really_ don't think we should add the link to the content insertion in the component. My reasoning is that I don't think we should be making one-off component changes, and that it would be better to wait for a second consumer of that insertion point. At that point it should be fairly simple to abstract.

I left an example on github that I think should work with a few small styling changes, please let me know what you think.
Flags: needinfo?(mhenretty)
Attachment #8669671 - Flags: review?(kevingrandon) → feedback+
Bug 1211738 gave us a second consumer for the link. I updated the PR to make the Private Browsing toggle also use the gaia-switch link feature. We will have a 3rd consumer soon when we implement the full privacy control panel spec which adds a TP toggle to the browser chrome doorhanger which has a "Learn More" link in it.
Flags: needinfo?(mhenretty) → needinfo?(kevingrandon)
Comment on attachment 8669671 [details] [review]
[gaia] mikehenrty:bug-1205040-tracking-protection-setting > mozilla-b2g:master

Looks good then in that case. Thanks!
Flags: needinfo?(kevingrandon)
Attachment #8669671 - Flags: feedback+ → review+
master: https://github.com/mozilla-b2g/gaia/commit/981ef5bc38d162ed2e30b27afb46db195ddc3f4a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: