From 3761326e085d5546cd25374afa26b18d9c6ac56a Mon Sep 17 00:00:00 2001 From: vahid-ahmadi Date: Wed, 18 Nov 2026 17:09:30 +0000 Subject: [PATCH 01/10] =?UTF-8?q?Add=20PolicyEngine=E2=80=93NEF=20benefits?= =?UTF-8?q?-in-kind=20collaboration=20deck?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A 16-slide deck at /slides/nef-bik-2026 for a scoping meeting with the New Economics Foundation on modelling employer-provided benefits in kind in PolicyEngine UK: what a benefit in kind is and how big, what the model covers today (company cars, car fuel, Class 1A on both, pension salary sacrifice), the data available, the gap, three phases and example questions. - Every figure is pinned in content.ts to the source it was read from: a URL and date for HMRC, Budget, OBR, ONS and UK Data Service pages; a repo, commit and path for policyengine-uk, microcosm and policyengine-uk-data; the calibration dashboard for the certified build of 15 November 2026. - Status chips (Done, Partly done, Not yet) on each pipeline stage and each row of the coverage map, with a key; SPEAKER-NOTES.md says what each rests on. - Viewer: brings over counter: "slides" and hideControlsHint from the NEF macro deck's branch (lib/types.ts, components/core/SlideshowViewer.tsx, lib/types.test.ts), without the one test that needs that deck registered. Co-Authored-By: Claude Fable 5.2 --- components/core/SlideshowViewer.tsx | 12 +- lib/slideshows.ts | 2 + lib/types.test.ts | 26 +- lib/types.ts | 21 + slideshows/nef-bik-2026/README.md | 109 + slideshows/nef-bik-2026/SPEAKER-NOTES.md | 225 ++ slideshows/nef-bik-2026/config.ts | 54 + slideshows/nef-bik-2026/content.ts | 553 +++++ slideshows/nef-bik-2026/slides/BuildScope.tsx | 81 + slideshows/nef-bik-2026/slides/CountUp.tsx | 57 + .../nef-bik-2026/slides/deck.module.css | 2067 +++++++++++++++++ slideshows/nef-bik-2026/slides/index.tsx | 1004 ++++++++ 12 files changed, 4205 insertions(+), 6 deletions(-) create mode 100644 slideshows/nef-bik-2026/README.md create mode 100644 slideshows/nef-bik-2026/SPEAKER-NOTES.md create mode 100644 slideshows/nef-bik-2026/config.ts create mode 100644 slideshows/nef-bik-2026/content.ts create mode 100644 slideshows/nef-bik-2026/slides/BuildScope.tsx create mode 100644 slideshows/nef-bik-2026/slides/CountUp.tsx create mode 100644 slideshows/nef-bik-2026/slides/deck.module.css create mode 100644 slideshows/nef-bik-2026/slides/index.tsx diff --git a/components/core/SlideshowViewer.tsx b/components/core/SlideshowViewer.tsx index eefe977a..9e6bed0d 100644 --- a/components/core/SlideshowViewer.tsx +++ b/components/core/SlideshowViewer.tsx @@ -3,7 +3,7 @@ import { useState, useEffect, useMemo, Suspense } from 'react'; import { useSearchParams } from 'next/navigation'; import { SlideshowProvider, SlideshowContextValue } from './SlideshowContext'; -import { SlideshowConfig, flattenSlides, getSlideComponent } from '@/lib/types'; +import { SlideshowConfig, counterLabel, flattenSlides, getSlideComponent } from '@/lib/types'; import { buildSlideUrl, exportSettleMs, isExportMode, parseSlideParam } from '@/lib/slide-url'; import { MAX_SETTLE_MS, releaseExportHold } from '@/lib/export-hold'; @@ -138,9 +138,11 @@ function SlideshowViewerClient({ config }: SlideshowViewerProps) { {!isFullscreen && !exportMode && (
- - Click or arrow keys · F for fullscreen - + {!config.hideControlsHint && ( + + Click or arrow keys · F for fullscreen + + )}
@@ -153,7 +155,7 @@ function SlideshowViewerClient({ config }: SlideshowViewerProps) { - {currentStep + 1} / {totalSteps} + {counterLabel(steps, currentStep, config.counter)}