Closed Bug 2070270 Opened 2 months ago Closed 14 days ago

Standardize search UI across Weather, Stocks and Clocks widgets

Categories

(Firefox :: New Tab Page, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: maxx, Assigned: rhamoui)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt][hnt-wattle])

Attachments

(1 external file)

Please use the Stocks search implementation as reference for these updates. Enter.

Weather (content-src/components/Weather/LocationSearch.jsx, _Weather.scss)

  • Add the back button from Stocks search.
  • Shrink the search icon: it is larger than the Clocks and Stocks icons.
  • Add the clear ("x") button.
  • Align the placeholder text with Clocks/Stocks.
  • Fix the focus state: the outline weight/border does not match Clocks or Stocks.
  • Suggestion dropdown appears while typing. If suggestions cannot render inside the widget the way Stocks does, at minimum match the Clocks dropdown style.

Clocks (content-src/components/Widgets/Clocks/AddClockForm.jsx, _Clocks.scss)

  • Make the suggestions dropdown style consistent with Weather.
  • Round the nickname field's border radius to match the location field.

See Jira for full context and screenshots: https://mozilla-hub.atlassian.net/browse/HNT-3067

Summary: Standarize search UI across Weather, Stocks and Clocks widgets → Standardize search UI across Weather, Stocks and Clocks widgets
Assignee: nobody → rhamoui
Attachment #9658884 - Attachment description: WIP: Bug 2070270 - Standardize widgets search UI. → Bug 2070270 - Standardize widgets search UI. r=#home-newtab-wattle-reviewers-rotation
Status: NEW → ASSIGNED
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/61d08b3df422 https://hg.mozilla.org/integration/autoland/rev/023a996c9dad Revert "Bug 2070270 - Standardize widgets search UI. r=fluent-reviewers,nina-py,bolsson" for causing lint failures
Status: ASSIGNED → RESOLVED
Closed: 14 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
Flags: needinfo?(rhamoui)
QA Whiteboard: [qa-triage-done-c162/b161]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: