openvibers/openvibe.deals Commits

Categories and stores as tiles (#175)

OP OpenVibers committed 12 days ago · 0a51fffe22 · 2 files, +14 −3

* Categories and stores as tiles, the whole tile a link

* Budget: 2026-11-01: category and store tiles

Changes

ddiff --git a/public/css/deals.css b/public/css/deals.css
iindex 8131279..fc8781a 100644
---- a/public/css/deals.css
++++ b/public/css/deals.css
@@@ -127,8 +127,19 @@ code { overflow-wrap: anywhere; }
.cf-group h3, .cf-campaign h3 { margin: 0 0 4px; font-size: 1.05rem; }
.cf-links { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-links .button { margin: 0; padding: 6px 12px; }
--.seller-list { columns: 3 220px; padding-left: 1.1rem; }
--.seller-list li { margin: 4px 0; break-inside: avoid; }
++/* Categories and stores as tiles: the whole tile is the link, the count on the right. A bulleted column of underlined
++ links read as a sitemap on a phone (phone sweep, 2026-11-01). */
++.seller-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
++.seller-list li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 48px; padding: 10px 14px;
++ border: 1px solid var(--border, #1f2d47); border-radius: 12px; background: var(--bg-card, var(--bg-secondary, #101828));
++ transition: border-color var(--ov-dur-1, .12s) var(--ov-ease-out, ease), background var(--ov-dur-1, .12s) var(--ov-ease-out, ease); }
++.seller-list li:hover { border-color: var(--accent, #3b82f6); }
++.seller-list li:has(a:focus-visible) { outline: 2px solid var(--accent, #3b82f6); outline-offset: 2px; }
++.seller-list a { min-width: 0; overflow-wrap: anywhere; font-weight: 600; color: var(--text-primary, #e6edf7); text-decoration: none; }
++.seller-list a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
++.seller-list a:focus-visible { outline: none; }
++.seller-list .meta { flex: none; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-variant-numeric: tabular-nums; white-space: nowrap;
++ background: color-mix(in srgb, var(--text-primary, #fff) 6%, transparent); color: var(--text-secondary, #96a7c2); }
/* The front page (server/render/home.js): stats beside the hero, then sections of deal cards, chips and questions. */
.hm-hero { padding-top: 32px; }
.hm-search { display: flex; gap: 8px; margin-top: 20px; max-width: 560px; }
ddiff --git a/test/perf-budget.test.js b/test/perf-budget.test.js
iindex add14d3..42246a4 100644
---- a/test/perf-budget.test.js
++++ b/test/perf-budget.test.js
@@@ -18,7 +18,7 @@ const BUDGETS = {
jsRawKB: 331, // 328.2 openvibe-shared 4.70.0 (2026-11-01: the app bar, busy(), skeletons, view transitions); 324.8 with openvibe-shared 4.66.0: the mark with depth and motion, ov-fx loaded on request (2026-10-31); 323.2 with openvibe-shared 4.59.0: the Pair mark beside the name, set in the brand face (2026-10-31); 321.1 with openvibe-shared 4.53.0: the footer's columns fold on phones (2026-10-30); 318.1 with openvibe-shared 4.52.0: the Dock's loader and its Chats tab (2026-10-30); 315.6 with openvibe-shared 4.48.0 (the site switcher on the mark, the menu's Start tab and quick tools; Kit's touch hit areas and the phone navbar fix, 4.44-4.47.3); 307.8 with openvibe-shared 4.43.0 (room.css carries the kit tokens, 4.39.1; the kit's 4.39.0 rules); 300.5 openvibe-shared 4.25.0: the menu's orb beside the brand, both balances on phones, messages, the account sheet on phones and the bar stepping away on phones; 293 openvibe-shared 4.22.0: the navbar's magnifier search button and More dropdown (search.js and loading.js load only when used); 287.2 Shared 4.17.0: OpenCoins and Vibes chips (wallet: true) in the navbar; 273.2 openvibe-shared 4.15 footer: the compact footer opens into the whole one, and the pulse line; 263.4 with shared 4.11.0's seasonal navbar; 254.1 with openvibe-shared 4.9.0 (status text twins in every theme, 2026-10-23); 239.1 (212.2 before web-runtime.js)
jsBrotliKB: 80.8, // 80.2 openvibe-shared 4.70.0 (2026-11-01: the app bar, busy(), skeletons, view transitions); 79.5 with openvibe-shared 4.59.0: the Pair mark beside the name, set in the brand face (2026-10-31); 78.2 with openvibe-shared 4.52.0: the Dock's loader and its Chats tab (2026-10-30); 77.6 with openvibe-shared 4.48.0 (the site switcher on the mark, the menu's Start tab and quick tools; Kit's touch hit areas and the phone navbar fix, 4.44-4.47.3); 76.1 with openvibe-shared 4.43.0 (room.css carries the kit tokens, 4.39.1; the kit's 4.39.0 rules); 74.2 openvibe-shared 4.25.0: the menu's orb beside the brand, both balances on phones, messages, the account sheet on phones and the bar stepping away on phones; 70.5 Shared 4.17.0: OpenCoins and Vibes chips (wallet: true) in the navbar; 67.9 openvibe-shared 4.15 footer: the compact footer opens into the whole one, and the pulse line; 65.3 Shared 4.12.0: the light/dark switch, the seasonal mark and the theme pairs; 61.7 with shared 4.11.0's seasonal navbar; 56.3 (49.9 before web-runtime.js)
cssFiles: 2, // 2 (deals.css, openvibe-shared showcase.css)
-- cssRawKB: 49, // 48.2 with the pick chips and fold rules (2026-10-30); 45.1 with openvibe-shared 4.48.0 (the site switcher on the mark, the menu's Start tab and quick tools; Kit's touch hit areas and the phone navbar fix, 4.44-4.47.3); 43.3 touch targets on phones (2026-10-29); 38.2 openvibe-shared 4.26.1 (hero visual); 30.4 with Shared 4.13.0 (2026-10-26: account links); 24.2 with the front page's stats, cards, chips and questions (19.0 before)
++ cssRawKB: 51, // 49.9 with 2026-11-01: category and store tiles (2026-11-01); 48.2 with the pick chips and fold rules (2026-10-30); 45.1 with openvibe-shared 4.48.0 (the site switcher on the mark, the menu's Start tab and quick tools; Kit's touch hit areas and the phone navbar fix, 4.44-4.47.3); 43.3 touch targets on phones (2026-10-29); 38.2 openvibe-shared 4.26.1 (hero visual); 30.4 with Shared 4.13.0 (2026-10-26: account links); 24.2 with the front page's stats, cards, chips and questions (19.0 before)
cssBrotliKB: 11, // 10.1 with the pick chips and fold rules (2026-10-30); 8.1 openvibe-shared 4.26.1 (hero visual); 6.5 with Shared 4.13.0 (2026-10-26: account links); 5.4 with the front page (2026-10-22); 4.7 with the crowdfunding rules; 1.5 before showcase.css
externalFiles: 1, // 0
};