From 900407a466d3d7bebe2c5033e82fcd5969050dc5 Mon Sep 17 00:00:00 2001 From: Brian Schwartz Date: Tue, 7 Jul 2026 19:35:38 +0000 Subject: [PATCH 01/15] test+impl: stylePdfEnabled export config flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Zero (no override defaults false), One (explicit true wins), Boundary (explicit false matches absent field) — proves resolveExportStyle merges the new flag correctly before wiring it into the Settings > Export UI. Adds a Styled PDF resume toggle to app/settings/export alongside the existing DOCX style controls, gated separately from ENABLE_PLAYWRIGHT_FALLBACK (deployment capability vs user preference). --- app/settings/export/page.tsx | 20 ++++++++++++++++++++ data/config.sample.json | 3 ++- lib/__tests__/config.test.ts | 35 +++++++++++++++++++++++++++++++++++ lib/config.ts | 2 ++ 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 lib/__tests__/config.test.ts diff --git a/app/settings/export/page.tsx b/app/settings/export/page.tsx index d1aef8d..df3887c 100644 --- a/app/settings/export/page.tsx +++ b/app/settings/export/page.tsx @@ -176,6 +176,26 @@ export default function ExportSettings() {

+
+

Styled PDF resume (beta)

+ +

+ Renders a design-forward PDF resume (Inter, custom colors) alongside the DOCX export. Requires a + self-hosted deployment with ENABLE_PLAYWRIGHT_FALLBACK=true — + it will not work on Vercel or other serverless hosts. +

+
+