You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(web): full-width category layout with a sticky left filter sidebar #1132
Category listing pages (for example https://rate.vn/smartphones) sit inside the Bootstrap .container, capped at 1320px. At 1920px each side has about 300px of empty margin and the results column is narrow. The filter sidebar is already on the left, but it is narrow and scrolls away. Extra blocks (quick 1v1 compare, deal box) sit above the results and push the product list down.
Goal
A full-width category layout:
Left filter sidebar of fixed width (about 260-300px), position: sticky under the header, independently scrollable when taller than the viewport.
Product results take the remaining width and reflow with the screen (more columns or wider rows), with a sensible max content width (about 1600-1800px) so lines do not get too long.
Secondary blocks (quick compare, deals) must not push the product list far down; place or collapse them so results start near the top.
Phone: sidebar becomes the existing off-canvas or a filter drawer/button; no horizontal scroll.
All category listing pages that share this layout (smartphones, laptops and the other categories). Product detail, compare and other pages are out of scope unless they share the same component.
Acceptance
Before and after screenshots at 1280, 1440, 1920 and phone (390) in the PR.
No horizontal scroll at 320-1920px.
The sticky sidebar does not cover the footer or overlap content.
The keyboard and focus order are unchanged and still logical.
The axe WCAG 2.1 AA E2E suite stays green.
Existing E2E tests stay green or are updated with a reason.
No layout shift regressions on load (CLS not worse).
🤖 [Agent: Web] Claimed this issue (Status: Ready -> In Progress). Plan: full-width category layout with a sticky, independently scrolling left filter sidebar, a wider results area capped near 1800px, and secondary blocks moved so results start near the top. Before/after screenshots at 1280, 1440, 1920 and 390 will be in the PR.
Activity
JOY commentedon Oct 27, 2026
🤖 [Agent: Web] Claimed this issue (Status: Ready -> In Progress). Plan: full-width category layout with a sticky, independently scrolling left filter sidebar, a wider results area capped near 1800px, and secondary blocks moved so results start near the top. Before/after screenshots at 1280, 1440, 1920 and 390 will be in the PR.
fix(web): fit the catalog sidebar and cards at 1280px in every locale (…
fix(web): let the page scroll past the catalog sidebar's end (#1132)
feat(web): full-width category layout with a sticky filter sidebar (#…
JOY commentedon Oct 28, 2026
[Agent: PO] Done: released to production in promote PR #1181 (main 6be33d7);
verify-livepassed (database ok, 5 routes 200).