Closed
Bug 879558
Opened 11 years ago
Closed 11 years ago
Add entry point to about:healthreport in Settings > Data choices on Android
Categories
(Firefox Health Report Graveyard :: Client: Android, defect, P2)
Tracking
(firefox23 fixed, firefox24+ fixed)
RESOLVED
FIXED
Firefox 24
People
(Reporter: nalexander, Assigned: liuche)
References
Details
(Whiteboard: [qa+])
Attachments
(5 files, 10 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
rnewman
:
review+
bajaj
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details |
per Arun: we would like to centralize FHR control in Settings > Data choices on Android. This would be a link or a button of some type in the Settings panel.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → liuche
Comment 1•11 years ago
|
||
Arun and I settled on changing the title into a link, like in the attached mockup
Comment 2•11 years ago
|
||
(Arun: I follow this whole product, so no need to CC me! Thanks though.)
Status: NEW → ASSIGNED
Priority: -- → P3
Assignee | ||
Comment 3•11 years ago
|
||
Styling the link is simple. Making that link clickable is the hard part, because clicks get swallowed up by the Preference, and end up changing the preference state rather than launching the link.
Will poke around this later. Alternatively, we might be able to use a long-click, if that's acceptable.
Comment 4•11 years ago
|
||
Thanks, Chenxia.
Long tap might be very difficult for people to understand particularly in this context (they would assume that the link is not working after tapping). We are shipping on June 25 to the beta release (just fyi)
Let us know how it goes :)
Comment 5•11 years ago
|
||
Is this underway, Chenxia? Need to know if it can hit 23 or not.
Updated•11 years ago
|
Priority: P3 → P2
Assignee | ||
Comment 6•11 years ago
|
||
Getting a click to register on the link is going to require a lot more work, along the lines of making a custom preference layout, which is not going to get done by merge.
To get into 23, I can add another item into the list called "View health report" to launch about:healthreport, would that work?
Flags: needinfo?(abc)
Assignee | ||
Comment 7•11 years ago
|
||
Assignee | ||
Comment 8•11 years ago
|
||
Assignee | ||
Comment 9•11 years ago
|
||
test apk: http://people.mozilla.com/~liuche/bug-879558/
(You need to hit back one more time after clicking "View health report", but I'll fix that after lunch.)
A few notes:
- We probably need some summary text. Feel free to suggest title changes too.
- Will it be confusing to have the link if FHR is not enabled? We should include that in the summary text.
Comment 10•11 years ago
|
||
paging the grammar nitpicking police :-) (no idea who that would be, who does enforce text UX?) Should "View health report" have the same capitalization as "Firefox Health Report" ?
Comment 11•11 years ago
|
||
(In reply to Roland Tanglao :rolandtanglao from comment #10)
> paging the grammar nitpicking police :-) (no idea who that would be, who
> does enforce text UX?) Should "View health report" have the same
> capitalization as "Firefox Health Report" ?
IMO yes, but this is Ian's call.
Flags: needinfo?(ibarlow)
Comment 12•11 years ago
|
||
Proposing to go with this:
https://bugzilla.mozilla.org/attachment.cgi?id=765534
with the following changes:
(1) title change from "Firefox Health Report" to "Firefox Health Report sharing" (data sharing would make it too long?)
(2) title change from "View health report" to "View Firefox Health Report"
(3) Also, include following subtext to "View Firefox Health Report" only when "Firefox Health Report sharing" is turned off:
option #1 "You can view this even if you have data sharing turned off."
option #2 "You can view this even if data sharing is turned off."
Flags: needinfo?(abc)
Comment 13•11 years ago
|
||
needs?info'ing Ian & Verdi to make the calls on this.
Flags: needinfo?(mverdi)
Assignee | ||
Comment 14•11 years ago
|
||
Hm, I don't really like "FHR sharing" - it seems inconsistent with the other data choices strings (and they're all under Data Choices anyways), and it's likely the string will be too long to display for a lot of phones.
I understand that there might be some confusion between "View FHR" and simply "FHR." What about changing "View FHR" to "My FHR"? May be inconsistent with the other data strings.
For subtext strings, I also like:
"You can always view this, even if you have sharing turned off."
Comment 15•11 years ago
|
||
The other option is to visually distinguish the "view" option -- make it vertically shorter, and align the text to the right, say.
----------------------------------
Telemetry
Shares performance… [ ]
----------------------------------
Nightly Health Report
Helps you understand… [ ]
----------------------------------
View your Health Report >>
----------------------------------
Crash Reporter
Nightly submits… [ ]
----------------------------------
Re appending "sharing": better, I think, to reword the *explanatory* text to put "Shares" first, just like Telemetry:
-----
Firefox Health Report
Shares data with Mozilla about your browser health to help you fix problems and understand your browser's performance.
-----
After that, showing "View your Health Report" seems to make plenty of sense.
I should note that we cannot add strings to 23, so if we're adding a new string for viewing, we can reword the rest.
Given that, Ian: is it enough for 23 to show:
----------------------------------
Nightly Health Report
Helps you understand… [ ]
----------------------------------
Nightly Health Report >>
----------------------------------
?
Comment 16•11 years ago
|
||
(In reply to Chenxia Liu [:liuche] from comment #14)
> Hm, I don't really like "FHR sharing" - it seems inconsistent with the other
> data choices strings (and they're all under Data Choices anyways), and it's
> likely the string will be too long to display for a lot of phones.
>
> I understand that there might be some confusion between "View FHR" and
> simply "FHR." What about changing "View FHR" to "My FHR"? May be
> inconsistent with the other data strings.
>
> For subtext strings, I also like:
> "You can always view this, even if you have sharing turned off."
Yup… Thanks for coming up with the strings – I like this one too!
Comment 17•11 years ago
|
||
(In reply to Arun Balachandran Ganesan [:abc] from comment #12)
> Proposing to go with this:
> https://bugzilla.mozilla.org/attachment.cgi?id=765534
>
> with the following changes:
>
> (1) title change from "Firefox Health Report" to "Firefox Health Report
> sharing" (data sharing would make it too long?)
This makes sense to me because it is the sharing that you are turning on or off. FHR is still there (and viewable) no matter the state of the check box. That makes the explanatory text a little strange though. It may be better to say something like, "Shares data with Mozilla about your browser health."
>
> (2) title change from "View health report" to "View Firefox Health Report"
Sounds good.
>
> (3) Also, include following subtext to "View Firefox Health Report" only
> when "Firefox Health Report sharing" is turned off:
>
> option #1 "You can view this even if you have data sharing turned off."
> option #2 "You can view this even if data sharing is turned off."
If we were to change the explanatory text under "Firefox Health Report sharing" like I suggest above, then I think you don't have to explain that you can view this at any time. Instead you can include the rest of the original text, "Understand your browser performance." But to answer the question, I think option #2 is better.
So to recap, what about something like this?
----------------------------------
Nightly Health Report sharing
Shares data with Mozilla about
your browser health [ ]
----------------------------------
View Nightly Health Report >>
Understand your browser performance
----------------------------------
Updated•11 years ago
|
Flags: needinfo?(mverdi)
Assignee | ||
Comment 18•11 years ago
|
||
Patch for option 2: Adding a new "View FHR" list item. Downsides: we won't be able to uplift this to 23 because new strings.
Assignee | ||
Updated•11 years ago
|
Attachment #765269 -
Attachment description: Patch: WIP link styling → Patch: [Option 1 - Title Link] WIP link styling
Assignee | ||
Comment 19•11 years ago
|
||
Do we have an icon for the ">" in a list item? I can't think of or find any examples in Android in the wild; I assume we want it to look like the "<" in the Android ActionBar.
Comment 20•11 years ago
|
||
(In reply to Chenxia Liu [:liuche] from comment #19)
> Do we have an icon for the ">" in a list item? I can't think of or find any
> examples in Android in the wild; I assume we want it to look like the "<" in
> the Android ActionBar.
themes/core/images/arrowright-16.png
base/resources/drawable*/{menu_item_more,ic_menu_forward,ic_awesomebar_go}.png
Assignee | ||
Comment 21•11 years ago
|
||
Assignee | ||
Comment 22•11 years ago
|
||
Assignee | ||
Comment 23•11 years ago
|
||
Comment 24•11 years ago
|
||
Comment on attachment 766138 [details]
Screenshot: [alt 2] right-align View on 4.0 phone
Can we right-align the text, too?
Assignee | ||
Comment 25•11 years ago
|
||
Needs tweaking on padding.
Assignee | ||
Comment 26•11 years ago
|
||
Assignee | ||
Comment 27•11 years ago
|
||
Added a custom pref with an icon. Needs some pixel pushing.
Assignee | ||
Comment 28•11 years ago
|
||
Pike, some input from you about strings: can I add a "»" in strings.xml.in instead of the localized strings without breaking string freeze?
See <Screenshot: [alt 3] no subtext, aurora strings>: I'd like to use a "»" instead of the single arrow. Since I'd also like to leave open the option of uplifting to 23 aurora without breaking strings, I was thinking of something like the following:
<!ENTITY datareporting_fhr_title "&brandShortName; Health Report"> (already exists in 23)
and adding the "»" in strings.xml.in
<string name="datareporting_viewfhr_title">&datareporting_fhr_title; »</string>
We'll be changing the strings for 24 to be slightly clearer about what FHR is, and viewfhr_title will probably become "View my Health Report", so up to you if you'd prefer the chevron to be in the localizable string or not.
Flags: needinfo?(l10n)
Comment 29•11 years ago
|
||
Hardcoding both glyphs and whitespace is not a good idea. For some languages, » might look like the default quote, and that's odd. Also, IIRC, at least the Chinese languages don't use whitespace for separation of latin text.
Flags: needinfo?(l10n)
Assignee | ||
Comment 30•11 years ago
|
||
So it looks like the we won't be able to uplift to aurora if we want to use » in the strings. I'm going to use the preference with a > icon then, so that we can uplift to 23, and for consistency, stick that into 24.
We can file a bug later if desired to change it to something else.
Assignee | ||
Comment 31•11 years ago
|
||
This patch adds a small list item into the preferences for navigating to about:healthreport.
Also not, it makes a small change to the subtext string for Data Choices > FHR
Attachment #765269 -
Attachment is obsolete: true
Attachment #765965 -
Attachment is obsolete: true
Attachment #766209 -
Attachment is obsolete: true
Attachment #766210 -
Attachment is obsolete: true
Assignee | ||
Comment 32•11 years ago
|
||
No string changes.
https://tbpl.mozilla.org/?tree=Try&rev=9c1f9984c184
Assignee | ||
Comment 33•11 years ago
|
||
Comment on attachment 766252 [details] [diff] [review]
Patch: "View my Health Report" about:healthreport entry v1
try: https://tbpl.mozilla.org/?tree=Try&rev=802fe055a078
Attachment #766252 -
Flags: review?(rnewman)
Assignee | ||
Updated•11 years ago
|
Attachment #766253 -
Flags: review?(rnewman)
Assignee | ||
Comment 34•11 years ago
|
||
Haven't done tablet testing with this, so please take a look and make sure all the pixels are playing nicely.
Assignee | ||
Comment 35•11 years ago
|
||
Screenshot for Firefox 24, with updated strings.
Specifically, small changes to the FHR subtext, and new strings for the about:healthreport entry.
Attachment #765532 -
Attachment is obsolete: true
Attachment #765534 -
Attachment is obsolete: true
Attachment #766136 -
Attachment is obsolete: true
Attachment #766138 -
Attachment is obsolete: true
Attachment #766139 -
Attachment is obsolete: true
Attachment #766207 -
Attachment is obsolete: true
Attachment #766259 -
Flags: review?(abc)
Comment 37•11 years ago
|
||
Chenxia:
Thank you! If it's still possible to change, I would like the arrow to be center aligned with the checkbox. Looks fine to me otherwise.
Have a good weekend!
Arun
Comment 38•11 years ago
|
||
Comment on attachment 766253 [details] [diff] [review]
Aurora patch: "* Health Report" about:healthreport entry v1
Review of attachment 766253 [details] [diff] [review]:
-----------------------------------------------------------------
I think this is good… testing shortly.
::: mobile/android/base/GeckoPreferences.java
@@ +73,5 @@
> private static String PREFS_MP_ENABLED = "privacy.masterpassword.enabled";
> private static String PREFS_UPDATER_AUTODOWNLOAD = "app.update.autodownload";
> + private static String PREFS_HEALTHREPORT_LINK = NON_PREF_PREFIX + "healthreport.link";
> +
> + private static int PREF_SCREEN_REQCODE = 5;
Would prefer REQUEST_CODE_PREF_SCREEN.
@@ +285,5 @@
> continue;
> + } else if (PREFS_HEALTHREPORT_LINK.equals(key) && !AppConstants.MOZ_SERVICES_HEALTHREPORT) {
> + preferences.removePreference(pref);
> + i--;
> + continue;
Indenting is wrong for Fennec. And we could actually roll this into the previous clause.
Attachment #766253 -
Flags: review?(rnewman) → review+
Comment 39•11 years ago
|
||
Comment on attachment 766253 [details] [diff] [review]
Aurora patch: "* Health Report" about:healthreport entry v1
This looks great on tablet and phone.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
New work to provide discoverable access to FHR.
User impact if declined:
Need to know the secret "about:healthreport" incantation.
Testing completed (on m-c, etc.):
Tested by hand on m-a.
Risk to taking this patch (and alternatives if risky):
Slim: new code path and new pref fragment.
String or IDL/UUID changes made by this patch:
None.
Attachment #766253 -
Flags: approval-mozilla-aurora?
Comment 40•11 years ago
|
||
Running a build for the inbound bit now. Will flag r+ when I'm ready to land my modified version.
Comment 41•11 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #39)
> Comment on attachment 766253 [details] [diff] [review]
> Aurora patch: "* Health Report" about:healthreport entry v1
>
> This looks great on tablet and phone.
Yaay!
Comment 42•11 years ago
|
||
Comment on attachment 766252 [details] [diff] [review]
Patch: "View my Health Report" about:healthreport entry v1
https://hg.mozilla.org/integration/mozilla-inbound/rev/38244599c282
Attachment #766252 -
Flags: review?(rnewman) → review+
Updated•11 years ago
|
Flags: needinfo?(ibarlow)
Whiteboard: [qa+]
Target Milestone: --- → Firefox 24
Comment 43•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 44•11 years ago
|
||
Richard, you're not supposed to change strings once they landed on mozilla-central (datareporting_fhr_summary)
https://developer.mozilla.org/en-US/docs/Making_String_Changes
Unfortunately this happened way to close to merge day.
Pike, suggestions? Should we leave the string as it is and warn localizers?
Flags: needinfo?(l10n)
Comment 45•11 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #44)
> Richard, you're not supposed to change strings once they landed on
> mozilla-central (datareporting_fhr_summary)
Drat, sorry I didn't spot that in Chenxia's patch. Didn't expect it _not_ to have changed, if that makes sense, because we've been through this before!
> Pike, suggestions? Should we leave the string as it is and warn localizers?
This is an easy thing for me to fix, if 8 hours on m-c isn't too long. (And of course this doesn't affect the stringless Aurora patch that I hope to land tomorrow.)
Comment 46•11 years ago
|
||
Let's fix this, and if it misses the merge, get it uplifted.
akeybl is doing the merge, flagging this to be on his radar.
tracking-firefox24:
--- → ?
Flags: needinfo?(l10n)
Comment 47•11 years ago
|
||
Thanks Pike.
Richard: I opened bug 886231 to keep track of this change, at least we can set flags or keywords there if needed.
Comment 48•11 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #11)
> (In reply to Roland Tanglao :rolandtanglao from comment #10)
> > paging the grammar nitpicking police :-) (no idea who that would be, who
> > does enforce text UX?) Should "View health report" have the same
> > capitalization as "Firefox Health Report" ?
>
> IMO yes, but this is Ian's call.
Agree with everyone's decision to capitalize View Health Report. Nice design solutions, too, for 23 and 24 :)
Comment 49•11 years ago
|
||
Comment on attachment 766253 [details] [diff] [review]
Aurora patch: "* Health Report" about:healthreport entry v1
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined:
Testing completed (on m-c, etc.):
Risk to taking this patch (and alternatives if risky):
String or IDL/UUID changes made by this patch:
Attachment #766253 -
Flags: approval-mozilla-aurora? → approval-mozilla-beta?
Comment 50•11 years ago
|
||
Comment on attachment 766253 [details] [diff] [review]
Aurora patch: "* Health Report" about:healthreport entry v1
Needed for fhr on android, the aurora/beta does not have string changes.
Attachment #766253 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•11 years ago
|
status-firefox24:
--- → fixed
Assignee | ||
Comment 51•11 years ago
|
||
status-firefox23:
--- → fixed
Assignee | ||
Updated•11 years ago
|
Attachment #766259 -
Flags: review?(abc)
Assignee | ||
Updated•11 years ago
|
Attachment #766261 -
Flags: review?(abc)
Updated•6 years ago
|
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•