Closed Bug 1971321 Opened 1 year ago Closed 1 year ago

Newtab sections refined cards fixes

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

VERIFIED FIXED
141 Branch
Tracking Status
firefox140 --- verified
firefox141 --- verified

People

(Reporter: thecount, Assigned: thecount)

References

Details

Attachments

(3 files)

To test:

  1. Set "browser.newtabpage.activity-stream.discoverystream.sections.enabled" to true
  2. Set "browser.newtabpage.activity-stream.discoverystream.refinedCardsLayout.enabled" to true

Expected: Should look like the attached screenshot.
Expected: Regression testing too, cards without these prefs, and various combinations, should also look not broken.

Needing to fix these issues:

  1. Height issues on medium cards caused by bug 1970206, which if you have a row of 4 cards and ads, the images are not all the same height.
  2. Some card margin changes
  3. Some more refined card image size changes
  4. If the hidedescriptions pref is turned on, it also hides descriptions in large cards, which we don't want.
  5. Thumbs in large cards is no longer positioned properly because of image size changes
  6. Small card meta is being weird in some cases, looks like medium card specificity
  7. There is some extra margin above the large card meta
Assignee: nobody → sdowne
Attached image image(56).png
Blocks: 1971205
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch

firefox-beta Uplift Approval Request

  • User impact if declined: Delay to sections experiment
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Steps to test in bugzilla
  • Risk associated with taking this patch: Low
  • Explanation of risk level: Css only to a preffed off feature
  • String changes made/needed: None
  • Is Android affected?: no
Flags: qe-verify+

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

Attachment #9493945 - Flags: approval-mozilla-beta?
Attachment #9493945 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [uplift] [qa-ver-done-c141/b140]

I have verified this issue using Firefox Nightly 141.0a1, build id: 20250618211250, Firefox Nightly 142.0a1, build id: 20250625215831 and Firefox RC 140, build id: 20250616215311 and I can confirm that the images from the cards have the following sizes:

  • Big cards: 190x 250
  • Default cards: 300 x 160
  • Small cards: 110 x 117

Marking this enhancement as Verified Fixed.

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

Attachment

General

Created:
Updated:
Size: