openvibers/openvibe.inventory Commits

Home: the "Part of OpenVibe" section (Shared 4.13) (#82)

OP OpenVibers committed 18 days ago · 7c388d4b56 · 2 files, +3 −2

* Home: the "Part of OpenVibe" section (Shared 4.13 showcase.network)

* Budget: htmlRawKB 33.3, htmlBrotliKB 8.2 with the Part of OpenVibe section (Shared 4.13, 2026-10-26)

Changes

ddiff --git a/server/http/pages.js b/server/http/pages.js
iindex 6d7a334..85bc413 100644
---- a/server/http/pages.js
++++ b/server/http/pages.js
@@@ -127,6 +127,7 @@ ${raw(showcase.steps({
{ title: 'Or make one', text: 'In the Workshop you make a badge, staff review it, and you give it to the people you choose.', href: '/workshop' },
],
}))}
++${raw(showcase.network({ service: 'inventory' }))}
${raw(showcase.cta({ title: me ? 'See what you have' : 'Already earned something?', text: me ? 'Your items and what you are wearing, on one page.' : 'Sign in with your OpenVibe account to see your inventory and choose what to wear.', actions: me ? [{ label: 'Your inventory', href: '/me' }] : [{ label: 'Sign in with OpenVibe', href: '/auth/login?next=%2Fme' }, { label: 'The API', href: '/api/v1/kinds' }] }))}`,
});
});
ddiff --git a/test/perf-budget.test.js b/test/perf-budget.test.js
iindex 8f98c2a..b7f85a8 100644
---- a/test/perf-budget.test.js
++++ b/test/perf-budget.test.js
@@@ -14,8 +14,8 @@ const { measure, check, format } = require('openvibe-shared/perf-budget');
// Budgets are set from the numbers measured on 2026-10-08 (the real ones, fresh database), rounded up with about 10%
// headroom; file counts are the measured counts and external files stay at 0.
const BUDGETS = {
-- htmlRawKB: 32, // 27.6 with Shared 4.13.0 (2026-10-26: account links); measured 24.9 (the home page: hero, features, steps, cta, JSON-LD)
-- htmlBrotliKB: 6.9, // 6.2
++ htmlRawKB: 38, // 33.3 with the Part of OpenVibe section (Shared 4.13, 2026-10-26); 27.6 with Shared 4.13.0 (2026-10-26: account links); measured 24.9 (the home page: hero, features, steps, cta, JSON-LD)
++ htmlBrotliKB: 10, // 8.2 with the Part of OpenVibe section (Shared 4.13, 2026-10-26); 6.2
jsFiles: 5, // 5 (theme-loader, web-runtime, navbar, footer, boost: openvibe-shared/shell)
jsRawKB: 269, // 264.3 with Shared 4.13.0 (2026-10-26: account links); 239.8
jsBrotliKB: 67, // 65.3 Shared 4.12.0: the light/dark switch, the seasonal mark and the theme pairs; 56.5