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)
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)
773.78 KB,
image/png
|
Details | |
764.80 KB,
image/png
|
Details | |
9.08 KB,
patch
|
sfoster
:
review+
|
Details | Diff | Splinter Review |
10.97 KB,
patch
|
sfoster
:
review+
|
Details | Diff | Splinter Review |
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 :)
Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(ywang)
Flags: needinfo?(madhava)
Updated•12 years ago
|
Blocks: metrov1backlog
Updated•12 years ago
|
Whiteboard: [triage] → [block28]
Updated•12 years ago
|
Assignee: nobody → rsilveira
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
Updated•12 years ago
|
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
Updated•12 years ago
|
Assignee: rsilveira → mmaslaney
QA Contact: jbecerra
Updated•12 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•12 years ago
|
||
Clearing 'need info' tags for Yuan and Madhava as Michael is taking lead right now.
Flags: needinfo?(ywang)
Flags: needinfo?(madhava)
Comment 2•12 years ago
|
||
User Flow Part 1: User selects "Search" from the settings menu.
Comment 3•12 years ago
|
||
User Flow Part 2: User selects their default search provider.
Updated•12 years ago
|
Assignee: mmaslaney → jmathies
QA Contact: jbecerra
![]() |
Assignee | |
Comment 4•12 years ago
|
||
![]() |
Assignee | |
Comment 5•12 years ago
|
||
![]() |
Assignee | |
Updated•12 years ago
|
Attachment #8341727 -
Flags: review?(sfoster)
![]() |
Assignee | |
Updated•12 years ago
|
Attachment #8341728 -
Flags: review?(sfoster)
![]() |
Assignee | |
Comment 6•12 years ago
|
||
(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 7•12 years ago
|
||
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 8•12 years ago
|
||
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+
![]() |
Assignee | |
Comment 9•12 years ago
|
||
> 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.
![]() |
Assignee | |
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bf8935bf5847
https://hg.mozilla.org/mozilla-central/rev/d8c647479ec1
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.
Description
•