Closed Bug 2044713 Opened 5 months ago Closed 5 months ago

[Homepage Sports Widget] [phase3] Phase 3 card is being displayed even though there are still 3 hours left on countdown

Categories

(Firefox for Android :: Homepage, defect)

All
Android
defect

Tracking

()

VERIFIED FIXED
153 Branch
Tracking Status
firefox151 --- verified
firefox152 --- verified
firefox153 --- verified

People

(Reporter: vtamas, Assigned: moyin)

References

Details

(Whiteboard: [fxdroid][group3][world-cup-phase2])

Attachments

(2 files, 3 external files)

Steps to reproduce

  1. Enable "Homepage Sports Widget" feature from Secret Settings.
  2. Set the device date to June 10 at 23:59.
  3. Wait a minute for it to become June 11th.
  4. Open a new page and return to homepage.
  5. Check the World Cup card.

Expected behavior

The countdown shows 00:00:00 and the Phase 3 card is automatically displayed after refreshing the homepage.

Actual behavior

Even though the countdown indicates 3 hours remaining, the Phase 3 card is displayed after refreshing the homepage.

Device information

  • Firefox version: Firefox for Android Nightly 153 (2026-06-02)
  • Android device model: Samsung S24 Ultra (Android 16)
Assignee: nobody → madeyemi
Status: NEW → ASSIGNED
Whiteboard: [fxdroid][group3][world-cup-phase2]

After the clock hits midnight, and the home page is resumed, the Keep tabs on the World Cup card is displayed.
{F71961561}

Original Revision: https://phabricator.services.mozilla.com/D304834

Attachment #9593736 - Flags: approval-mozilla-release?
Pushed by skhan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ee71cbf172a3 https://hg.mozilla.org/integration/autoland/rev/18fadf380ed9 Sync countdown pill timer logic with Keep tabs card logic r=android-reviewers,skhan

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: The FIFA World Cup kicks off June 11, 2026 and is the live window for the Homepage Sports Widget. These 8 patches are bug fixes and UX corrections on top of the already-shipped widget, needed before/early in the tournament: correct pager ordering so live/celebration cards lead; penalty-shootout scores actually display (the feed marks shootouts with "PEN"/penalty fields the old code ignored); the schedule pager doesn't lead with the Final/Third-Place weeks early during the group stage; API fetches are throttled to protect the Merino endpoint from refresh-spam; the country selector auto-closes on selection; error-card background, long-team-name flag squishing, and countdown-pill timer are fixed. Without these, release users see broken scores/ordering and the widget hammers the backend.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: With enableHomepageSportsWidget on and "Show sports widget" enabled (use the debug-drawer mock server to drive tournament states):
  1. Group stage: pager shows current round; Final/Third-Place are not jammed to the front.
  2. Knockout: a finished penalty match shows 2 - 2 · Penalties (3-5); a decided Final shows the Champion card first, Third-Place second.
  3. Live match leads the pager.
  4. Country selector closes automatically after selecting/deselecting a team.
  5. Long team names don't squish the flags; standalone error-card background renders correctly; countdown pill and "Keep tabs" card show consistent timing.
  • Risk associated with taking this patch: low
  • Explanation of risk level: The entire feature is gated by the Nimbus flag enableHomepageSportsWidget and the user-facing "Show sports widget" setting — it can be disabled remotely without a dot release if any regression appears. All changes are scoped to the homepage sports-widget code; no other surfaces are touched. Changes are unit-tested where logic-bearing and already baked on Nightly.
  • String changes made/needed?: No
  • Is Android affected?: yes
Flags: qe-verify+

After the clock hits midnight, and the home page is resumed, the Keep tabs on the World Cup card is displayed.
{F71961561}

Original Revision: https://phabricator.services.mozilla.com/D304834

Attachment #9593754 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: The FIFA World Cup kicks off June 11, 2026 and is the live window for the Homepage Sports Widget. These 8 patches are bug fixes and UX corrections on top of the already-shipped widget, needed before/early in the tournament: correct pager ordering so live/celebration cards lead; penalty-shootout scores actually display (the feed marks shootouts with "PEN"/penalty fields the old code ignored); the schedule pager doesn't lead with the Final/Third-Place weeks early during the group stage; API fetches are throttled to protect the Merino endpoint from refresh-spam; the country selector auto-closes on selection; error-card background, long-team-name flag squishing, and countdown-pill timer are fixed. Without these, release users see broken scores/ordering and the widget hammers the backend.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: With enableHomepageSportsWidget on and "Show sports widget" enabled (use the debug-drawer mock server to drive tournament states):
  1. Group stage: pager shows current round; Final/Third-Place are not jammed to the front.
  2. Knockout: a finished penalty match shows 2 - 2 · Penalties (3-5); a decided Final shows the Champion card first, Third-Place second.
  3. Live match leads the pager.
  4. Country selector closes automatically after selecting/deselecting a team.
  5. Long team names don't squish the flags; standalone error-card background renders correctly; countdown pill and "Keep tabs" card show consistent timing.
  • Risk associated with taking this patch: low
  • Explanation of risk level: The entire feature is gated by the Nimbus flag enableHomepageSportsWidget and the user-facing "Show sports widget" setting — it can be disabled remotely without a dot release if any regression appears. All changes are scoped to the homepage sports-widget code; no other surfaces are touched. Changes are unit-tested where logic-bearing and already baked on Nightly.
  • String changes made/needed?: No
  • Is Android affected?: yes
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
Attachment #9593754 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9593736 - Flags: approval-mozilla-release? → approval-mozilla-release+

This issue is verified as fixed on Firefox for Android Nightly 153 (2026-06-07) and Firefox 152 beta 8 on Samsung S24 ultra (Android 16) and Google Pixel 10 pro (Android 16).

This issue is verified as fixed on Firefox 151.0.4 under Oppo Find X3 Neo (Android 11).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: