Closed
Bug 898151
Opened 11 years ago
Closed 11 years ago
The new customise search engine page lacks an informational graphic.
Categories
(Firefox for Android Graveyard :: Add-on Manager, defect)
Tracking
(fennec25+)
RESOLVED
FIXED
Firefox 26
Tracking | Status | |
---|---|---|
fennec | 25+ | --- |
People
(Reporter: ckitching, Assigned: ckitching)
References
Details
Attachments
(1 file, 7 obsolete files)
22.80 KB,
patch
|
Details | Diff | Splinter Review |
According to the graphics provided:
https://bug891115.bugzilla.mozilla.org/attachment.cgi?id=772318
There should be a nifty "Tip" graphic illustrating how to add new search providers present on the customise search providers page. There is not - let's fix that.
Assignee | ||
Comment 1•11 years ago
|
||
Ian - do you have an appropriate graphic to use for this in the appropriate size(s)?
tracking-fennec: --- → ?
Flags: needinfo?(ibarlow)
Comment 2•11 years ago
|
||
Here you go Chris! http://cl.ly/0C221W2o1L3T
And the string should read:
TIP: Add any website to your list of search providers by long-pressing on its search field.
Flags: needinfo?(ibarlow)
Assignee | ||
Comment 3•11 years ago
|
||
A patch adding the shiny feature. Depends on all three patches from 892113.
Attachment #782899 -
Flags: review?(liuche)
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 4•11 years ago
|
||
Comment on attachment 782899 [details] [diff] [review]
Add informational graphic
Review of attachment 782899 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/locales/en-US/android_strings.dtd
@@ +74,5 @@
> <!ENTITY pref_category_vendor "&vendorShortName;">
> <!ENTITY pref_category_datareporting "Data choices">
> <!ENTITY pref_category_installed_search_engines "Installed search engines">
> +<!ENTITY pref_category_add_search_providers "Add more search providers">
> +<!ENTITY pref_search_tip "TIP: Add any website to your list of search providers by long-pressing on its search field.">
Drive-by: Let's add a localization note here to explain how this string is used. I'm concerned that that "TIP:" bit might confuse localizers.
Comment 5•11 years ago
|
||
Comment on attachment 782899 [details] [diff] [review]
Add informational graphic
Review of attachment 782899 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, but definitely add a localization note like mfinkle suggests, that "tip" is synonymous with hint and is only all-capitalized for emphasis.
::: mobile/android/base/resources/xml/preferences_search.xml
@@ +17,5 @@
> android:title="@string/pref_category_installed_search_engines"/>
> +
> + <PreferenceCategory android:title="@string/pref_category_add_search_providers"/>
> +
> + <Preference android:layout="@layout/preference_search_tip" android:enabled="false" android:selectable="false"/>
Can you break these with newlines?
Attachment #782899 -
Flags: review?(liuche) → review+
Assignee | ||
Comment 6•11 years ago
|
||
A build for Ian's possible perusal:
https://www.dropbox.com/s/v6t2h710dw9cf5v/protip.apk
Breaking with newlines is inconsistently applied throughout the various resource files. Of course I can oblige, but determining exactly when it is appropriate to do so in general isn't obvious.
Comment 7•11 years ago
|
||
This looks great Chris. Let's ship it :)
Comment 8•11 years ago
|
||
> Breaking with newlines is inconsistently applied throughout the various
> resource files. Of course I can oblige, but determining exactly when it is
> appropriate to do so in general isn't obvious.
Huh, I mostly observe resource files being broken at every attribute. There's also a vague ordering for the attrs, but you'll have to pick sriram's brain for that.
Updated•11 years ago
|
tracking-fennec: ? → 25+
Assignee | ||
Comment 9•11 years ago
|
||
Ah, yes, my bad. Restyled those XML tags. Good to go, methinks.
Attachment #782899 -
Attachment is obsolete: true
Comment 10•11 years ago
|
||
Comment on attachment 784671 [details] [diff] [review]
Add informational graphic V2 - Tidy up the XML
Review of attachment 784671 [details] [diff] [review]:
-----------------------------------------------------------------
Two nits, then I think we're good to go, one more bounce should do it!
::: mobile/android/base/locales/en-US/android_strings.dtd
@@ +71,5 @@
> <!ENTITY pref_category_vendor "&vendorShortName;">
> <!ENTITY pref_category_datareporting "Data choices">
> <!ENTITY pref_category_installed_search_engines "Installed search engines">
> +<!ENTITY pref_category_add_search_providers "Add more search providers">
> +<!ENTITY pref_search_tip "TIP: Add any website to your list of search providers by long-pressing on its search field.">
Localization note?
::: mobile/android/base/resources/xml/preferences_search.xml
@@ +15,5 @@
>
> <org.mozilla.gecko.preferences.SearchPreferenceCategory
> android:title="@string/pref_category_installed_search_engines"/>
> +
> + <PreferenceCategory android:title="@string/pref_category_add_search_providers"/>
I missed this end-tag the first time, but you caught it when we were looking over your code. PrefCategory should enclose the tip preference.
Attachment #784671 -
Flags: review-
Assignee | ||
Comment 11•11 years ago
|
||
Ah, sorry about that. Here's a revised patch - added localisation note and made the XML be correctly nested.
Attachment #784671 -
Attachment is obsolete: true
Attachment #784727 -
Flags: review?(liuche)
Comment 12•11 years ago
|
||
Comment on attachment 784727 [details] [diff] [review]
Add informational graphic V3 - Localisation note
Review of attachment 784727 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. Unbitrot the patch, and then upload a patch for landing on inbound.
Attachment #784727 -
Flags: review?(liuche) → review+
Assignee | ||
Comment 13•11 years ago
|
||
The bitrot is just because this one was built atop the patches from bug 892113. I'll mark the dependancy and hopefully things will land in the right order... (That one should be landing imminently, too)
Assignee | ||
Comment 14•11 years ago
|
||
Attachment #784727 -
Attachment is obsolete: true
Assignee | ||
Comment 15•11 years ago
|
||
Attachment #785220 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Whiteboard: checkin to fx-team
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Updated•11 years ago
|
Whiteboard: checkin to fx-team
Assignee | ||
Comment 16•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #785235 -
Attachment is obsolete: true
Comment 17•11 years ago
|
||
Landed in fx-team: https://hg.mozilla.org/integration/fx-team/rev/aa3a115f998b
Target Milestone: --- → Firefox 25
Comment 18•11 years ago
|
||
Backed out together with bug 892113:
https://hg.mozilla.org/integration/fx-team/rev/a1d3cff2fc98
Assignee | ||
Comment 19•11 years ago
|
||
Attachment #785303 -
Attachment is obsolete: true
Assignee | ||
Comment 20•11 years ago
|
||
As for Bug 892113, seperating out the string changes out so there is still hope of getting this out in 25.
Assignee | ||
Updated•11 years ago
|
Attachment #785491 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #785492 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #785303 -
Attachment is obsolete: false
Comment 21•11 years ago
|
||
Comment 22•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 25 → Firefox 26
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•