Closed Bug 1856057 Opened 1 year ago Closed 1 year ago

UI tweaks to expandable highlights section

Categories

(Firefox :: Shopping, defect)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox119 --- verified
firefox120 --- verified

People

(Reporter: Gijs, Assigned: Gijs)

References

Details

(Whiteboard: [fidefe-shopping])

Attachments

(2 files)

There are three minor UI issues with the highlights section:

  • the separator line should be changed from --in-content-box-border-color to --in-content-border-color (a subtler grey
  • the separator line should continue across the full width of the container (right now there is a transparent 1px border on shopping-card, I believe because of accessibility, which is causing a 1px gap either side).
  • the absolute-positioned "show more" footer element is cutting square corners into the border-radius'd shopping-card ancestors. It should probably just get the same border radius as its ancestor, on the bottom left and right hand corner (not the others or it'll affect the separator line which is implemented as a top border).

(In reply to :Gijs (he/him) from comment #0)

  • the separator line should be changed from --in-content-box-border-color to --in-content-border-color (a subtler grey

Oops, got cut off here. But also, https://searchfox.org/mozilla-central/rev/2f5b657343ce18e4b8a56417f707022550f4b742/toolkit/themes/shared/in-content/common-shared.css#29 suggests this is still really dark, not the #f0f0f4 which is in the figma. So I'm confused. What colour is supposed to be used here?

  • the separator line should continue across the full width of the container (right now there is a transparent 1px border on shopping-card, I believe because of accessibility, which is causing a 1px gap either side).

Actually, the spec appears to have a 1px border on (all) the cards that isn't transparent (e.g. here). But as far as I can tell this has never been brought up. Julian, could you clarify? Looks like if we made these borders match, the problem would also go away.

Flags: needinfo?(julianwels)

Hi!
So, in Figma, we have the color token Border/Overlay, and that's the one we've been using for the card borders and the separator line. In light mode that is #F0F0F4 and in dark mode #52525E.

Ideally, both the card borders and the separator line would match the Figma color!

Flags: needinfo?(julianwels)

(In reply to :Gijs (he/him) from bug 1856060 comment #2)

Talking to Julian, there are 2 other things that UX would like to change here:

  • <snip>
  • the "show more"/"show less" button should have an 8px gap above it instead of 12px.

I'll move the second one to bug 1856057.

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/5502331146fe fix highlights card issues with colour/padding/borders, r=shopping-reviewers,niklas
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Attachment #9356423 - Flags: approval-mozilla-beta?

Uplift Approval Request

  • Risk associated with taking this patch: low
  • String changes made/needed: no
  • Steps to reproduce for manual QE testing: Check that comment 0 issues have been addressed
  • Is Android affected?: no
  • Needs manual QE test: yes
  • Fix verified in Nightly: no
  • Explanation of risk level: CSS only fixes, still have some beta runway
  • Code covered by automated testing: no
  • User impact if declined: visual design of fakespot looks unpolished
Flags: qe-verify+

Comment on attachment 9356423 [details]
Bug 1856057 - fix highlights card issues with colour/padding/borders, r?#shopping-reviewers

Approved for 119.0b5

Attachment #9356423 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

This issue is verified as fixed in our latest Nightly build 120.0a1 (2023-10-03) and our latest beta 119.0b5.

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

Attachment

General

Created:
Updated:
Size: