Commit Graph
107 Commits
Author SHA1 Message Date
SluijsensandClaude Opus 5.5 498be43020 Adds the final measurement of the prerendering feature
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:51:44 +01:00
SluijsensandClaude Opus 5.5 6d4d01238a Hardens the upload path check and the deploy verification
A remote of . or .. could have made the cleanup pass delete the wrong folder, so
such paths are refused before anything runs. A connection error now ends in the
normal summary instead of aborting the check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:31:21 +01:00
SluijsensandClaude Opus 5.5 afd9923950 Stops the production upload when a pass fails
Each pass is now its own lftp session with a marker in the log, so a failed
asset pass stops the script before any HTML goes up. The test checks those
markers instead of lftp's output format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:17:37 +01:00
SluijsensandClaude Opus 5.5 38708b8439 Compares the preview server with real nginx in tests
The preview server must behave like the real server, or Lighthouse and the
browser tests prove the wrong thing. The tests also cover the new URLs in a real
browser: one redirect, one title, a clean hydration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:30:08 +01:00
SluijsensandClaude Opus 5.5 e4e7f8c82c Adds the URL rules to the preview server, IIS config and deploy
The preview server and web.config now follow the same URLs as nginx, without
the SPA fallback. Lighthouse exceptions need a recorded reason and the 404 page
is audited through an opt-in route. The deploy checks the build first and the
served result afterwards. The IIS rules stay unverified until a host exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:13:21 +01:00
SluijsensandClaude Opus 5.5 716692825e Gives browser tests more time on the slow CI runner
Real nginx passes all 134 server rule tests in CI. The seven remaining failures
were tests cut off at 60 seconds on the Raspberry Pi.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:02:59 +01:00
SluijsensandClaude Opus 5.5 8cb9185a69 Fixes two nginx rule defects found by real nginx in CI
Plain map keys compare case-insensitively, so /Over-Mij was not redirected. A
path starting with an encoded backslash could become an open redirect through
the trailing-slash rule; it now gets the 404 page. Also makes the tests readable
for nginx's workers and less sensitive to the slow CI runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 04:47:52 +01:00
SluijsensandClaude Opus 5.5 5ae1c5e999 Keeps the CI nginx package from starting a service
CI jobs share the host's network, so that service would try to bind the
runner's port 80. The tests start their own nginx on a free port.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 03:01:25 +01:00
SluijsensandClaude Opus 5.5 33334b889d Generates the nginx rules for prerendered pages
Pages now map to their html file, other forms get one redirect, unknown URLs
get a real 404 and responses are compressed. A browser-free test suite runs the
rules against a real nginx, in CI only so far.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 03:00:07 +01:00
SluijsensandClaude Opus 5.5 4f32042410 Records the approval of the third unit's plan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:41:36 +01:00
SluijsensandClaude Opus 5.5 c0dc08869a Adds the third unit's code generation plan and Pi install instructions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:36:22 +01:00
SluijsensandClaude Opus 5.5 2c25a536f0 Records the approval of the third unit's design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:27:17 +01:00
SluijsensandClaude Opus 5.5 1a4a432625 Finalises the third unit's infrastructure design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:21:39 +01:00
SluijsensandClaude Opus 5.5 7ccffe3d71 Adds the third unit's infrastructure design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:17:28 +01:00
SluijsensandClaude Opus 5.5 88cc6baef0 Records the approval of the second unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:02:27 +01:00
SluijsensandClaude Opus 5.5 b5fd83256d Loads the light logo after the page load
Lazy loading saved its bytes during page load, but left the logo empty for a
moment when navigating to the homepage on a wide screen. Also adds the second
unit's code summary and the shared docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 01:56:13 +01:00
SluijsensandClaude Opus 5.5 b965b8a227 Adds the second unit's measurement
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 01:46:30 +01:00
SluijsensandClaude Opus 5.5 d11fcb1ff9 Marks the second unit as verified before measuring
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:58:14 +01:00
SluijsensandClaude Opus 5.5 2754890370 Adds browser tests for the page without JavaScript
The tests cover every page without JavaScript, the menu by keyboard and pointer,
the fade-in at load and on scroll, and image requests per width. They found that
the closed menu's shoot links could take focus, which is fixed here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:50:17 +01:00
SluijsensandClaude Opus 5.5 01fcfeefea Adds the fallbacks for visitors without JavaScript
The mobile menu works through CSS, and controls that need JavaScript are hidden
without it. The contact photo gets its own preload, and the tests cover the new
Reveal behaviour, the first row and the noscript markup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:09:33 +01:00
SluijsensandClaude Opus 5.5 44125155bc Makes Reveal, deferred images and the first row work from the HTML
Reveal content is visible in the HTML and only content below the viewport hides
after hydration. Deferred photos get a noscript twin, and the first row of the
portfolio loads eagerly per column count. Some old tests still expect the former
behaviour; they are rewritten next, so this commit's test run is not fully green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:57:05 +01:00
SluijsensandClaude Opus 5.5 4139c8f732 Adds the second unit's code generation plan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:43:40 +01:00
SluijsensandClaude Opus 5.5 68cf46cf82 Records the approval of the second unit's design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:34:58 +01:00
SluijsensandClaude Opus 5.5 3dd1185751 Finalises the second unit's design with the owner's decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:28:38 +01:00
SluijsensandClaude Opus 5.5 5a0845ab57 Adds the functional design of the second unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:17:56 +01:00
SluijsensandClaude Opus 5.5 df10832086 Records the approval of the first unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:47:50 +01:00
SluijsensandClaude Opus 5.5 7276fe95f2 Corrects a count in the gate measurement
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:03:16 +01:00
SluijsensandClaude Opus 5.5 a1d5c1ea4b Adds the measurement at the first unit's decision gate
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:03:08 +01:00
SluijsensandClaude Opus 5.5 8dc120e78c Adds the first unit's code summary and updates the shared docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:28:41 +01:00
SluijsensandClaude Opus 5.5 d6f8eb6c8e Moves the hydration test out of the routes folder
The route generator scans that folder and warned about the test file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:25:58 +01:00
SluijsensandClaude Opus 5.5 a68e84c3bb Removes plan references from the new comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:20:39 +01:00
SluijsensandClaude Opus 5.5 8867c7833c Runs the browser tests in CI on the client output
The build artifact is now dist/client, so only that goes to the deploy jobs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:06:41 +01:00
SluijsensandClaude Opus 5.5 8bf0000531 Adds browser tests and fixes hydration of the 404 page
The prerendered 404 page is served for other URLs, so its dehydrated match id
differs and the router renders the catch-all's pending component first. Without
one that render was empty, which gave React error 418 and duplicate head tags.
The tests run the built output in a real browser under the production CSP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:03:07 +01:00
SluijsensandClaude Opus 5.5 0c5d8b8f40 Compresses responses in the preview server
The baseline ran on vite preview, which compresses, so measurements could not
be compared without this. Also records that the real servers need compression.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:30:30 +01:00
SluijsensandClaude Opus 5.5 fe1ec5db3d Wires the script step and preview server into the build
The build now moves inline scripts and fails on a violation. Lighthouse audits
/404.html, because it refuses a page with a real 404 status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:25:41 +01:00
SluijsensandClaude Opus 5.5 0b964b5466 Adds a preview server that follows the real server rules
Lighthouse and the browser tests need a real 404 status, the .html mapping and
the production headers, which vite preview does not give. It is not wired into
the scripts yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:20:22 +01:00
SluijsensandClaude Opus 5.5 1574726c1d Adds the step that moves inline scripts to files
TanStack Start writes inline scripts into each page, which the strict CSP
blocks. This step moves them to hashed files and checks the output: every page
is present, no executable inline script remains and the e-mail address appears
nowhere. It is not part of the build yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:12:42 +01:00
SluijsensandClaude Opus 5.5 c1e90f0768 Moves the app to TanStack Start with prerendering
Every page is now built as HTML from sitePages.ts, with a catch-all route for
404.html. Hooks that read the browser during render are safe for prerendering.
The script step that keeps the CSP intact follows, so this build still has
inline scripts and is not deployable yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:58:54 +01:00
SluijsensandClaude Opus 5.5 65c850e949 Adds the prerendering requirements, design and baseline
Records the requirements, execution plan, application design, the first unit's
functional design and code generation plan, and the baseline on master.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:41:12 +01:00
SluijsensandClaude Opus 5.5 c7c950751a Marks the shoot-type pages feature as complete
Continuous Integration / check (pull_request) Successful in 16m39s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 19m0s
Continuous Integration / deploy-production (pull_request) Skipped
The final texts and extra photos follow in a separate feature;
content-pending.md is its input.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 00:40:13 +01:00
SluijsensandClaude Opus 5.5 68842e4982 Logs the WIP pull request in the audit
Continuous Integration / deploy-test (pull_request) Canceled after 0s
Continuous Integration / lighthouse (pull_request) Canceled after 0s
Continuous Integration / deploy-production (pull_request) Canceled after 0s
Continuous Integration / check (pull_request) Canceled after 6m38s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 00:34:26 +01:00
SluijsensandClaude Opus 5.5 33c62f8b34 Adds the build-and-test results and the content handoff
Continuous Integration / deploy-test (pull_request) Canceled after 0s
Continuous Integration / lighthouse (pull_request) Canceled after 0s
Continuous Integration / deploy-production (pull_request) Canceled after 0s
Continuous Integration / check (pull_request) Canceled after 16s
The shoot-type pages are code-complete but wait for Andrea's texts,
answers to the open questions and extra photos. content-pending.md
describes how to finish them and what must hold before the merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 00:33:43 +01:00
SluijsensandClaude Opus 5.5 d3bc1d751a Adds the code summaries for the shoot page and the submenu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:21:07 +01:00
SluijsensandClaude Opus 5.5 7af2069959 Adds the shoot page layout and the shoot-type submenu
Shoot pages follow design E: breadcrumb, story blocks, process
timeline with icons, photo mosaic, FAQ, package block and booking
call to action, with per-shoot OG images. The navigation gets a
"Soorten fotoshoots" submenu (desktop panel, mobile group) built from
shootTypes, with exact current-page matching in menu, footer and
breadcrumb. A 404 under /soorten-fotoshoots/ also offers a link back
to the overview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:43:43 +01:00
SluijsensandClaude Opus 5.5 e5f4348178 Adds the shoot-type pages content and SEO foundation
Five pages under /soorten-fotoshoots/<id> with draft copy awaiting
Andrea's approval (DRAFT markers), structured data (Service,
BreadcrumbList, FAQPage), sitemap and Lighthouse entries. The overview
route moves to soorten-fotoshoots/index.tsx.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:31:46 +01:00
SluijsensandClaude Opus 5.5 2246986d77 Marks the portfolio page as built and tested
Continuous Integration / check (pull_request) Successful in 13m30s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 14m13s
Continuous Integration / deploy-production (pull_request) Skipped
Records the build and test results (full suite, integration scenarios,
Lighthouse in CI and locally) and completes the feature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:25:19 +01:00
SluijsensandClaude Opus 5.5 9efa7fc596 Adds the portfolio page
The ten live photos in a filterable masonry grid with an accessible
lightbox, filters per shoot type kept in the URL (?shoot=), the shared
Instagram block, and an indexed page with image gallery structured data
and its own preview image. Soorten fotoshoots now only links to the
portfolio for shoot types that have photos there.

The filter bar stays on one row, so the web font loading no longer
shifts the photos below it, and no photo loads before the page has: the
grid fades in, so loading its photos early only delayed the fonts and the
intro text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 19:05:13 +01:00
SluijsensandClaude Opus 5.5 18bf0311ef Adds the shared gallery building blocks
A masonry photo grid that keeps the reading order (pure CSS, no measuring
in the browser), an accessible lightbox on Chakra's Dialog with wrap-around
browsing, keys, swipe and preloading, and a filter bar of toggle buttons.
They work on generic gallery items, so other pages can use them. The swipe
logic moves out of the hero into a shared hook; the hero behaves as before.
The rules behind them live in pure helpers with property-based tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 23:22:43 +01:00
SluijsensandClaude Opus 5.5 e013f1436b Shares the Instagram block between pages
Moves InstagramGrid out of the homepage sections and gives it its own
content module, so the portfolio can show the same block. The homepage
renders exactly as before; the tiles keep reusing the intro and review
photos, so each photo keeps one description.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 21:32:48 +01:00
SluijsensandClaude Opus 5.5 b35b1c2404 Plans the portfolio page
Records the requirements, execution plan and application design for the
portfolio page: the ten live photos in a filterable masonry grid with an
accessible lightbox, filters per shoot type in the URL, the Instagram
block shared with the homepage, and an indexed page with image gallery
structured data. Built alongside the contact and shoot type pages, with
shared pieces split between them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 21:32:48 +01:00