Create main sidebar container
Categories
(Firefox Graveyard :: Shopping, task, P2)
Tracking
(firefox117 fixed)
| Tracking | Status | |
|---|---|---|
| firefox117 | --- | fixed |
People
(Reporter: niklas, Assigned: niklas)
References
Details
(Whiteboard: [fidefe-shopping])
Attachments
(2 files)
The main sidebar container should contain the header with title and Firefox icon and the close button.
Animation can potentially be coped from HNT settings panel (TBD)
Sidebar will push content over, not overlay the content page
See figma for design
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Note the header is sticky: it remains visible at the top of the sidebar even if the user scrolls through sidebar content.
See also a11y annotations in figma: https://www.figma.com/file/Wu4kaHSfKSQnzkym7qek3R/Shopping-Experience-MVP?type=design&node-id=1-265&mode=design&t=s4GFkPNxsyXbFQRZ-0
Comment 2•2 years ago
|
||
Figma shows lots of different content inside the main container, but the key bit is the stuff in the header and the X to hide the sidebar, which is shown in the screenshot.
The text in the header is TBD.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 3•2 years ago
|
||
Updated•2 years ago
|
Hi emilio, can you please see https://phabricator.services.mozilla.com/D182932#inline-1015075 and suggest a solution so that the scrollbar won't consume part of the padding, in a way that the widths specified there will still apply?
You can test this by flipping browser.shopping.experience2023.enabled to true and opening an amazon product page, and then navigating to chrome://browser/content/shopping/shopping.html
Comment 5•2 years ago
|
||
I mean, the scrollbar needs to consume some of the space, the reason it doesn't seem to is because of the hard-coded width: 288px in the shopping-card. I think that should be removed, then stuff works as you expect, because the shopping card shrinks as needed. Or what else am I missing? Otherwise there's no other way of placing the scrollbar.
Comment 7•2 years ago
|
||
| bugherder | ||
Updated•8 months ago
|
Description
•