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)

ARM
Android
defect
Not set
normal

Tracking

(fennec25+)

RESOLVED FIXED
Firefox 26
Tracking Status
fennec 25+ ---

People

(Reporter: ckitching, Assigned: ckitching)

References

Details

Attachments

(1 file, 7 obsolete files)

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.
See Also: → 892113
Ian - do you have an appropriate graphic to use for this in the appropriate size(s)?
tracking-fennec: --- → ?
Flags: needinfo?(ibarlow)
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: nobody → ckitching
Blocks: 892094
Attached patch Add informational graphic (obsolete) — Splinter Review
A patch adding the shiny feature. Depends on all three patches from 892113.
Attachment #782899 - Flags: review?(liuche)
Status: NEW → ASSIGNED
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 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+
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.
This looks great Chris. Let's ship it :)
> 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.
tracking-fennec: ? → 25+
Ah, yes, my bad. Restyled those XML tags. Good to go, methinks.
Attachment #782899 - Attachment is obsolete: true
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-
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 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+
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)
No longer blocks: 892094
Depends on: 892113
Blocks: 895423
Attachment #784727 - Attachment is obsolete: true
Attachment #785220 - Attachment is obsolete: true
Keywords: checkin-needed
Whiteboard: checkin to fx-team
Keywords: checkin-needed
Whiteboard: checkin to fx-team
Attachment #785235 - Attachment is obsolete: true
Target Milestone: --- → Firefox 25
Attachment #785303 - Attachment is obsolete: true
Attached patch String changes only. (obsolete) — Splinter Review
As for Bug 892113, seperating out the string changes out so there is still hope of getting this out in 25.
Attachment #785491 - Attachment is obsolete: true
Attachment #785492 - Attachment is obsolete: true
Attachment #785303 - Attachment is obsolete: false
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 25 → Firefox 26
Blocks: 902258
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: