openvibers/openvibe.inventory Commits
Home: the "Part of OpenVibe" section (Shared 4.13) (#82)
Changes
@@@ -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' }] }))}`,});});@@@ -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.2jsFiles: 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.8jsBrotliKB: 67, // 65.3 Shared 4.12.0: the light/dark switch, the seasonal mark and the theme pairs; 56.5
@@ -127,6 +127,7 @@ ${raw(showcase.steps({
@@ -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' },
{ 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' }] }))}`,
${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' }] }))}`,
});
});
});
});
@@ -14,8 +14,8 @@ const { measure, check, format } = require('openvibe-shared/perf-budget');
@@ -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%
// 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.
// headroom; file counts are the measured counts and external files stay at 0.
const BUDGETS = {
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)
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
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
jsBrotliKB: 67, // 65.3 Shared 4.12.0: the light/dark switch, the seasonal mark and the theme pairs; 56.5