Closed Bug 1981966 Opened 2 months ago Closed 2 months ago

A countdown date is displayed for events that are more than 30 days away

Categories

(Firefox :: Address Bar, task, P1)

Firefox 143
Desktop
All
task

Tracking

()

VERIFIED FIXED
143 Branch
Tracking Status
firefox143 --- verified

People

(Reporter: dlucaci, Assigned: mbeier)

References

Details

(Whiteboard: [sng])

Attachments

(2 files)

Found in

  • Nightly 143.a1

Affected versions

  • Nightly 143.a1

Tested platforms

  • Affected platforms: macOS 14, Windows 10, Ubuntu 22.04

Preconditions

  • browser.urlbar.quicksuggest.dynamicSuggestionTypes = important_dates
  • browser.urlbar.quicksuggest.enabled = true
  • browser.urlbar.suggest.quicksuggest.nonsponsored = true
  • Use remote-settings dev server

Steps to reproduce

  1. Set the system date to a day that is more than 30 days before a single-day event/an event that spans multiple days (e.g. for Lunar New Year - August 8, 2025 or for Hanukkah - November 15, 2025).
  2. Enter the name of the event (e.g. Lunar New Year/Hanukkah) in the address bar.
  3. Observe the Important Dates suggestion in the address bar drop-down.

Expected result

  • The address bar drop-down displays the suggestion with a formula-based date (e.g. Tuesday, February 17, 2026 - Lunar New Year)

Actual result

  • The address bar drop-down displays the suggestion with a countdown-based date (e.g. Tuesday, February 17, 2026 - Lunar New Year - In 193 days)

Regression range

  • Not a regression.

Notes

  • Countdown date should be displayed only for events that are less than 30 days away.
  • Please take a look at the attachment above.

UX decided to change the layout of the results. We will now drop the formulas for all dates and show the event name in the description. If the event is less than 30 days away, we will also show the countdown in the description, separated by a middot.

Assignee: nobody → mbeier
Severity: -- → N/A
Status: NEW → ASSIGNED
Type: defect → task
Priority: -- → P1
Whiteboard: [sng]
Pushed by mbeier@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/548d1b2b5097 https://hg.mozilla.org/integration/autoland/rev/58e894684ef4 Remove formula from important dates suggestions and adjust layout. r=adw,fluent-reviewers,urlbar-reviewers,bolsson