Opened on 11/15/2017 at 05:12:22 PM

Closed on 11/22/2017 at 12:03:02 PM

Last modified on 12/03/2017 at 03:06:11 PM

#6042 closed change (fixed)

Introduce ui_warn_tracking boolean preference and updated adbockplusui dependency to #bb9b1b67aedf9

Reported by: saroyanm Assignee: saroyanm
Priority: P3 Milestone: Adblock-Plus-3.0.2-for-Firefox
Module: Platform Keywords:
Cc: wspee, greiner, kzar, sebastian Blocked By:
Blocking: #6031 Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Ross Verified working: yes
Review URL(s):

https://codereview.adblockplus.org/29613772/

Description (last modified by kzar)

Background

If a user has both EasyPrivacy and Acceptable Ads enable at the same time it's important we explain the inherent conflict between those lists to them (#6031). Whitelisting filters take precendence over blacklisting ones, and so the user might be subject to some tracking that way.

Once the user has seen the explanation we need a way to remember not to keep displaying it, which will be the ui_warn_tracking preference.

What to change

Add ui_warn_tracking to the preferences, make it default to true:

/**
 * Whether to show tracking warning in options page when both Acceptable Ads and subscription of type "Privacy" are enabled
 * @type {boolean}
 */
defaults.ui_warn_tracking = true;

And update adblockplusui dependency to bb9b1b67aedf9 in order to include the changes below:

  • #5872 - Style changes
  • #5990 - Chrome broken icons fix
  • #6031 - Acceptable Ads Notification

Hint for testers

  • The icons should not misbehave anymore for Chrome
    • Hovering Trash/Close/Gear icons should change the color
    • Toggle icon in the advanced tab filter lists table should change it state when clicked
    • Acceptable Ads checkbox should change the state on click
  • Acceptable Ads notification should behave as following
    • When Acceptable Ads and Block additional tracking are both selected show the notification
    • When user click on X or OK, got it button, this notification shouldn't be shown anymore.

Note: The styles are slightly different, but that's just a cosmetic change, to reflect new colors and styles.

Attachments (0)

Change History (19)

comment:1 Changed on 11/15/2017 at 05:12:42 PM by saroyanm

  • Blocking 6031 added

comment:2 follow-up: Changed on 11/16/2017 at 05:44:53 PM by greiner

@saroyanm The JSDoc type says that this is a boolean but the default value you specify in the ticket description is a string. Based on the implementation in #6031 the default value should be changed to true.

comment:3 in reply to: ↑ 2 Changed on 11/16/2017 at 05:53:30 PM by saroyanm

  • Description modified (diff)

Replying to greiner:

@saroyanm The JSDoc type says that this is a boolean but the default value you specify in the ticket description is a string. Based on the implementation in #6031 the default value should be changed to true.

Thanks for noticing, was a bad copy-past.
Fixed.

Last edited on 11/16/2017 at 05:53:52 PM by saroyanm

comment:4 Changed on 11/21/2017 at 11:28:26 AM by saroyanm

  • Cc kzar sebastian added

@Kzar, @Sebastian: Can you please have a look and mark this as ready if applicable.

I can also provide a patch after that.

comment:5 follow-up: Changed on 11/21/2017 at 01:11:37 PM by kzar

  • Description modified (diff)
  • Owner set to saroyanm
  • Priority changed from Unknown to P3
  • Ready set

Perhaps do the dependency update to include the adblockplusui changes at the same time as a part of this issue?

comment:6 Changed on 11/21/2017 at 01:17:18 PM by kzar

  • Description modified (diff)

comment:7 in reply to: ↑ 5 Changed on 11/21/2017 at 03:02:17 PM by saroyanm

Replying to kzar:

Perhaps do the dependency update to include the adblockplusui changes at the same time as a part of this issue?

Okey, I think the other review should be ready soon as well.

comment:8 Changed on 11/21/2017 at 03:12:53 PM by saroyanm

  • Description modified (diff)

Changed notification to warning in the description, as we reference to this as a warning currently.

comment:9 Changed on 11/21/2017 at 03:25:56 PM by saroyanm

  • Description modified (diff)

I updated the description in order more properly describe the usage, as it's in general for the subscription of type="privacy" we are using/recommending.

comment:10 Changed on 11/21/2017 at 03:27:58 PM by saroyanm

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:11 Changed on 11/22/2017 at 11:24:30 AM by saroyanm

  • Description modified (diff)

comment:12 Changed on 11/22/2017 at 11:32:41 AM by saroyanm

  • Description modified (diff)
  • Summary changed from Introduce ui_warn_tracking boolean preference to Introduce ui_warn_tracking boolean preference and updated adbockplusui dependency to #bb9b1b67aedf9

comment:13 Changed on 11/22/2017 at 11:34:18 AM by saroyanm

Updated the description in order to provide hint to the testers and include dependency update as well

comment:14 Changed on 11/22/2017 at 11:36:57 AM by kzar

  • Description modified (diff)

comment:15 Changed on 11/22/2017 at 12:01:57 PM by abpbot

comment:16 Changed on 11/22/2017 at 12:03:02 PM by saroyanm

  • Resolution set to fixed
  • Status changed from reviewing to closed

comment:17 Changed on 11/22/2017 at 12:08:39 PM by kzar

  • Milestone set to Adblock-Plus-for-Chrome-Opera-Firefox-next

comment:18 Changed on 11/22/2017 at 12:39:25 PM by saroyanm

Filled an issue, as a regression to this, but it's easy to fix #6074

comment:19 Changed on 11/30/2017 at 12:49:06 PM by Ross

  • Tester changed from Unknown to Ross
  • Verified working set

Done. Works as expected.

ABP 3.0.1.1939
Firefox 51 / 57 / Windows 7
Chrome 52 / 62 / Windows 7
Opera 38 / 49 / Windows 7

Last edited on 12/03/2017 at 03:06:11 PM by Ross

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from saroyanm.
 
Note: See TracTickets for help on using tickets.