Closed Bug 1184188 Opened 9 years ago Closed 9 years ago

The in-content preferences tracking checkbox labels and Learn More links run together

Categories

(Firefox :: General, defect, P1)

42 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 42
Iteration:
42.3 - Aug 10
Tracking Status
firefox42 --- verified

People

(Reporter: stef, Assigned: stef)

References

Details

(Whiteboard: [fxprivacy] [campaign])

Attachments

(4 files)

Follow up to bug 1175920, see comment 24, 26 and https://bugzilla.mozilla.org/attachment.cgi?id=8634011

dntTrackingNotOkay.label2, trackingProtection.label and trackingProtectionPBM.label in browser/locales/en-US/chrome/browser/preferences/privacy.dtd need periods at the end, labels identifiers should be updated probably too
Flags: firefox-backlog?
Whiteboard: [fxprivacy]
Why only the tracking protection labels and not the rest of the checkbox labels within the preferences? This will create some internal inconsistency here.
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #1)
> Why only the tracking protection labels and not the rest of the checkbox
> labels within the preferences? This will create some internal inconsistency
> here.

Because only mentioned labels have "Learn more" links added at the end via styling, see attachment 8634011 [details].
To be absolutely honest my choice would be to move further away those links, so it's clear that they're not part of the string and we don't need to fix existing translations/strings.
Attached patch fixSplinter Review
Patch adding periods, as discussed in bug 1175920, excluded from original patch based on incorrect assumption (they are not at the end of checkbox labels anymore, learn more links are).
Attachment #8634702 - Flags: review?(jaws)
Assignee: nobody → splewako
Blocks: 1175000
Status: NEW → ASSIGNED
Rank: 9
Flags: qe-verify?
Flags: firefox-backlog?
Flags: firefox-backlog+
Priority: -- → P1
Summary: Add a periods to the in-content preferences tracking checkobox labels → Add a period to the in-content preferences tracking checkbox labels
Attachment #8634702 - Flags: review?(jaws) → review+
Keywords: checkin-needed
Hmm, I don't think this is the right fix.

Preference descriptions shouldn't be sentences. This is a pretty standard UI convention, and all other prefs in Firefox follow that convention.

It's a real problem that the "Learn More" links are too close (I've noticed this too and meant to file a bug). But I think a better fix would be to have a single "Learn More" link for the whole section, instead of placing one after each of the 3 items... Either as just a simple "Learn More" label at the bottom, or a more verbose "_Learn More_ about tracking protection and how Firefox keeps you safe." / "Learn more about _tracking protection_ and _DNT_." kind of thing.

We could just try fixing this with formatting (increase space between label/link, and make make the link text smaller). That might be enough for other cases we want to add a Learn More link, but having a bunch close together is going to be weird no matter how it's formatted.

NI phlsa for a UX decision.
Flags: needinfo?(philipp)
(In reply to Justin Dolske [:Dolske] from comment #6)
> Hmm, I don't think this is the right fix.
> 
> Preference descriptions shouldn't be sentences. This is a pretty standard UI
> convention, and all other prefs in Firefox follow that convention.
> 
> It's a real problem that the "Learn More" links are too close (I've noticed
> this too and meant to file a bug). But I think a better fix would be to have
> a single "Learn More" link for the whole section, instead of placing one
> after each of the 3 items... Either as just a simple "Learn More" label at
> the bottom, or a more verbose "_Learn More_ about tracking protection and
> how Firefox keeps you safe." / "Learn more about _tracking protection_ and
> _DNT_." kind of thing.
> 
> We could just try fixing this with formatting (increase space between
> label/link, and make make the link text smaller). That might be enough for
> other cases we want to add a Learn More link, but having a bunch close
> together is going to be weird no matter how it's formatted.
> 
> NI phlsa for a UX decision.

Forwarding to Ash who has more context here.

FWIW, I'd be fine with having just one learn more link for the entire section.

I think the reason for adding this had something to do with localization, but I'm blanking on what the exact issue was.
Flags: needinfo?(philipp) → needinfo?(agrigas)
(In reply to Philipp Sackl [:phlsa] please use needinfo from comment #7)
> (In reply to Justin Dolske [:Dolske] from comment #6)
> > Hmm, I don't think this is the right fix.
> > 
> > Preference descriptions shouldn't be sentences. This is a pretty standard UI
> > convention, and all other prefs in Firefox follow that convention.
> > 
> > It's a real problem that the "Learn More" links are too close (I've noticed
> > this too and meant to file a bug). But I think a better fix would be to have
> > a single "Learn More" link for the whole section, instead of placing one
> > after each of the 3 items... Either as just a simple "Learn More" label at
> > the bottom, or a more verbose "_Learn More_ about tracking protection and
> > how Firefox keeps you safe." / "Learn more about _tracking protection_ and
> > _DNT_." kind of thing.
> > 
> > We could just try fixing this with formatting (increase space between
> > label/link, and make make the link text smaller). That might be enough for
> > other cases we want to add a Learn More link, but having a bunch close
> > together is going to be weird no matter how it's formatted.
> > 
> > NI phlsa for a UX decision.
> 
> Forwarding to Ash who has more context here.
> 
> FWIW, I'd be fine with having just one learn more link for the entire
> section.
> 
> I think the reason for adding this had something to do with localization,
> but I'm blanking on what the exact issue was.

Philipp - when we reviewed this, you translated it into german and that's where it gets wierd to have no period between the pref label and the link since it all blends together. For english locales, no period is needed, I believed we were adding it in for international locales. If that distinction is too much overhead, than having periods to better differentiate between the label and the link - was the rationale for this change.

Agree we need more space between the label and link - it looks like its less than a full space now and if it is a full space - we should add a few more to give it some padding.

For now, we cannot create a unified FAQ page for both DNT and TP which is why we need both links. For most users, they will only see 2 prefs - 3 are only shown to users that through about:config enabled TP in regular mode (very small group). I don't think 2 learn more links necessitates a new formatting structure for this one instance of Tracking settings without thinking more holistically if our current treatment for Learn More across prefs should be re-considered...
Flags: needinfo?(agrigas)
Whiteboard: [fxprivacy] → [fxprivacy] [campaign]
https://hg.mozilla.org/mozilla-central/rev/56d2e2d60a60
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Hi Matt, do you believe this bug requires QE verification?
Iteration: --- → 42.2 - Jul 27
Flags: needinfo?(mwobensmith)
Sure. Added myself for this.
Flags: qe-verify?
Flags: qe-verify+
Flags: needinfo?(mwobensmith)
QA Contact: mwobensmith
Verified Fx42.0a1, 2015-07-22.
Status: RESOLVED → VERIFIED
Attached image Screenshot on Nightly
So, this still looks bad on Nightly.

(In reply to agrigas from comment #8)

> Philipp - when we reviewed this, you translated it into german and that's
> where it gets wierd to have no period between the pref label and the link
> since it all blends together. For english locales, no period is needed, I
> believed we were adding it in for international locales. If that distinction
> is too much overhead, than having periods to better differentiate between
> the label and the link - was the rationale for this change.

Each locale has its own string, so there's no need to add it to English. (But I'd suggest unless there's a compelling reason to add the period, they should follow existing convention.)

> Agree we need more space between the label and link - it looks like its less
> than a full space now and if it is a full space - we should add a few more
> to give it some padding.

I've written a patch to do so.
Attached image Screenshot with spacing
Screenshot with spacing instead.
Attachment #8640185 - Flags: ui-review?(agrigas)
Trivial change, might as well review in parallel with the ui-review.
Attachment #8640193 - Flags: review?(jaws)
(Note that bug 1183240 landed after this one and changed the strings again, so I just fixed the issue instead of attempting an actual backout + new fix.)
(In reply to Justin Dolske [:Dolske] from comment #15)
> Created attachment 8640193 [details] [diff] [review]
> Patch (for spacing)
> 
> Trivial change, might as well review in parallel with the ui-review.

With such spacing it will look bad in Polish (with or without period), exactly as in about:addons with "More" links.
(In reply to Stefan Plewako [:stef] from comment #17)

> With such spacing it will look bad in Polish (with or without period),
> exactly as in about:addons with "More" links.

What, exactly, makes it "look bad"?
(In reply to Justin Dolske [:Dolske] from comment #18)
> What, exactly, makes it "look bad"?

1.5em of margin, Polish doesn't really have a concept of separating sentences by random amount of space and it looks like one line as opposed to link in a new line (as in version before all the changes) or something aligned to the opposite side (button or imperfect but still better links in data choices in advanced) or help button.
Comment on attachment 8640193 [details] [diff] [review]
Patch (for spacing)

Review of attachment 8640193 [details] [diff] [review]:
-----------------------------------------------------------------

Kinda weird to be doing this patch in a VERIFIED-FIXED bug, especially since this patch is basically a mutated backout of the patch also in this bug. But code-wise, I'm fine with it.

I really wish we didn't use "Learn More". It's generic and doesn't really provide any differentiation between the three links, except that *maybe* they lead to different places. With the preferences being a XUL page, we don't show the URL of the link in the status-bar overlay, so users really have no idea what they're about to see even if they know how the browser works.

I would prefer that we went with "What is Do Not Track?" and "What is Tracking Protection?". And further, do we need a link on the non-private Tracking Protection row, considering it probably links to the same place as the private-browser tracking protection link?
Attachment #8640193 - Flags: review?(jaws) → review+
(In reply to Stefan Plewako [:stef] from comment #19)
> (In reply to Justin Dolske [:Dolske] from comment #18)
> > What, exactly, makes it "look bad"?
> 
> 1.5em of margin, Polish doesn't really have a concept of separating
> sentences by random amount of space and it looks like one line as opposed to
> link in a new line (as in version before all the changes) or something
> aligned to the opposite side (button or imperfect but still better links in
> data choices in advanced) or help button.

This seems like more of a stylistic objection than anything specifically regarding L10N limitations.

I don't think this UI is perfect, but adding space is an improvement. And given that other UI has also already been doing this, it's no worse than the status quo. UX may wish to consider a redesign, but that's fodder for a different bug.
Reopening since I'm effectively backing out the original patch as being incorrect. I'm going to go ahead and land the updated patch since per the above, and since it's consistent with what comment 8 was expecting.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Summary: Add a period to the in-content preferences tracking checkbox labels → The in-content preferences tracking checkbox labels and Learn More links run together
url:        https://hg.mozilla.org/integration/fx-team/rev/1b022f0cb2883fb54ee3db4986a40ce31cf5b13c
changeset:  1b022f0cb2883fb54ee3db4986a40ce31cf5b13c
user:       Justin Dolske <dolske@mozilla.com>
date:       Fri Jul 31 18:39:56 2015 -0700
description:
Bug 1184188 - Add spacing before "Learn More" links in Privacy prefs. r=jaws
Iteration: 42.2 - Jul 27 → ---
https://hg.mozilla.org/mozilla-central/rev/1b022f0cb288
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Iteration: --- → 42.3 - Aug 10
Verified latest fix, Nightly 42.0a1, 2015-08-05.
Status: RESOLVED → VERIFIED
Attachment #8640185 - Flags: ui-review?(agrigas)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: