Closed Bug 941292 Opened 12 years ago Closed 12 years ago

[l10n] Change - Add 'search settings' to the 'settings' menu

Categories

(Firefox for Metro Graveyard :: General, defect, P2)

x86_64
Windows 8.1
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 28

People

(Reporter: krudnitski, Assigned: jimm)

References

Details

(Whiteboard: [l10n] [block28] feature=change c=tbd u=tbd p=2)

Attachments

(4 files)

User should be able to set / choose their default search provider. It would be expected that this option is served in Metro Settings. Yuan added to provide a design that fits into the current settings template to provide this choice (envisioning a list of available search providers and being able to select which becomes your default). Use styling that befits overall design principles :)
Flags: needinfo?(ywang)
Flags: needinfo?(madhava)
Whiteboard: [triage] → [block28]
Assignee: nobody → rsilveira
Blocks: metrov1it20
No longer blocks: metrov1backlog
Priority: -- → P2
QA Contact: jbecerra
Summary: Add 'search settings' to the 'settings' menu → Change - Add 'search settings' to the 'settings' menu
Whiteboard: [block28] → [block28] feature=change c=tbd u=tbd p=2
Summary: Change - Add 'search settings' to the 'settings' menu → [l10n] Change - Add 'search settings' to the 'settings' menu
Whiteboard: [block28] feature=change c=tbd u=tbd p=2 → [l10n] [block28] feature=change c=tbd u=tbd p=2
Assignee: rsilveira → mmaslaney
QA Contact: jbecerra
Status: NEW → ASSIGNED
Clearing 'need info' tags for Yuan and Madhava as Michael is taking lead right now.
Flags: needinfo?(ywang)
Flags: needinfo?(madhava)
User Flow Part 1: User selects "Search" from the settings menu.
User Flow Part 2: User selects their default search provider.
Assignee: mmaslaney → jmathies
QA Contact: jbecerra
Attachment #8341727 - Flags: review?(sfoster)
Attachment #8341728 - Flags: review?(sfoster)
(In reply to mmaslaney from comment #3) > Created attachment 8340876 [details] > Windows8-i03-SearchDefault_2-2.png > > User Flow Part 2: User selects their default search provider. Note I used radio buttons vs. checkboxes here, since radios imply single selection.
Comment on attachment 8341727 [details] [diff] [review] re-org settings charm code Review of attachment 8341727 [details] [diff] [review]: ----------------------------------------------------------------- Tidy
Attachment #8341727 - Flags: review?(sfoster) → review+
Comment on attachment 8341728 [details] [diff] [review] add search options v.1 Review of attachment 8341728 [details] [diff] [review]: ----------------------------------------------------------------- Looks good and works well ::: browser/metro/base/content/flyoutpanels/SearchFlyoutPanel.js @@ +6,5 @@ > +"use strict"; > + > +Components.utils.import("resource://gre/modules/Services.jsm"); > + > +const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; nit: trailing whitespace @@ +19,5 @@ > + } > + > + Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); > + this._isInitialized = true; > + let self = this; nit: if you use an arrow function in the forEach below, you can use 'this' as-is. @@ +51,5 @@ > + this._engines = Services.search.getVisibleEngines(); > + let defaultEngine = Services.search.defaultEngine; > + > + let index = 0; > + this._engines.forEach(function (anEngine) { nit: The 2nd param to your function is an index, no need to declare and manually increment 'index' here
Attachment #8341728 - Flags: review?(sfoster) → review+
> nit: if you use an arrow function in the forEach below, you can use 'this' > as-is. I was going to do this but realized we didn't need the _elements variable. So I just clipped all this code out.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 28
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: