UI tweaks to expandable highlights section
Categories
(Firefox :: Shopping, defect)
Tracking
()
People
(Reporter: Gijs, Assigned: Gijs)
References
Details
(Whiteboard: [fidefe-shopping])
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
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 theborder-radius
'dshopping-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).
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
(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.
Comment 2•1 year ago
|
||
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!
Assignee | ||
Comment 3•1 year ago
|
||
(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 | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
Depends on D189765
Comment 6•1 year ago
|
||
bugherder |
Assignee | ||
Comment 7•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D189818
Updated•1 year ago
|
Comment 8•1 year ago
|
||
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
Comment 9•1 year ago
|
||
Comment on attachment 9356423 [details]
Bug 1856057 - fix highlights card issues with colour/padding/borders, r?#shopping-reviewers
Approved for 119.0b5
Updated•1 year ago
|
Comment 10•1 year ago
|
||
uplift |
Updated•1 year ago
|
Comment 11•1 year ago
|
||
This issue is verified as fixed in our latest Nightly build 120.0a1 (2023-10-03) and our latest beta 119.0b5.
Description
•