Closed Bug 2074257 Opened 1 month ago Closed 1 month ago

Stocks widget: rename the user-facing name to Finance

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: gharp, Assigned: nina-py)

References

Details

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

Attachments

(1 external file)

Final changes from the product review of the Stocks widget ahead of the v1 experiment. Designs and final copy are in Figma, linked from the UX task https://mozilla-hub.atlassian.net/browse/HNT-3351.

Three changes:

  • Rename the user-facing widget name to "Finance". This covers newtab-stocks-widget-title, the customize panel toggle newtab-custom-widget-stocks-toggle, the options button newtab-stocks-widget-menu-button, and newtab-stocks-error-not-available. User-facing strings only: the prefs under widgets.stocks and the telemetry keys keep saying stocks..

  • Show the full company or fund name on hover in StockTicker.jsx, where stock-ticker-name is truncated.

  • Show the hover strings for the watchlist add and remove buttons.

  • Add an empty state to the search view for the point before a query is submitted. StockSearch.jsx currently only has newtab-stocks-search-no-results, which is the zero-results-after-a-query case.

Feel free to break this into different tasks if appropriate.

Summary: Stocks widget: rename to Finance, add name tooltips, and add a search empty state → Stocks widget: rename, add name tooltips, and add a search empty state

Narrowing this bug to the rename. The tooltip and the search empty state both landed in bug 2069512, and the watchlist buttons already had tooltips; bug 2076504 was a duplicate of it.

Remaining scope is the user-facing name, carried by five messages: newtab-stocks-widget-title, newtab-stocks-error-not-available, newtab-stocks-widget-menu-button, newtab-custom-widget-stocks-toggle, and home-prefs-stocks-header. Prefs under widgets.stocks and the telemetry keys keep saying stocks. The values change, so each message needs a new ID and the old translations must not carry over.

Summary: Stocks widget: rename, add name tooltips, and add a search empty state → Stocks widget: rename the user-facing name to Finance
Status: NEW → ASSIGNED

The widget's user-facing name has become "Finance", as the product review ahead
of the v1 experiment asked. The four messages that carried the old name have all
been given new ids, since the values changed and the old translations must not
carry over. The widget's internal name remains "stocks".

The context menu button's tooltip and accessible name have been normalised to
"Finance options" at the same time. Every other widget already used the shorter
form, without the word "widget".

Pushed by npypchenko@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/228840f836cf https://hg.mozilla.org/integration/autoland/rev/f4a3563e5e6a Stocks widget: rename the user-facing name to Finance. r=fluent-reviewers,Dre,flod
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: