From 21f0c8fdd5f48b2b5d3224938af2d9de8b816f20 Mon Sep 17 00:00:00 2001 From: Mischa Date: Tue, 7 Jul 2026 09:13:48 +0200 Subject: [PATCH] test(fixture): add no-photos-demo trip for AE4 coverage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A minimal demo trip with no cover_image and a single published journal entry that has no images — the fixture the trip-page banner AE4 assertion needs (macro fallback loop finds an entry but no image -> null cover -> no banner strip). Lives under docs/demo/trips/ like italy-2026-demo, so it is loaded into the pages tree only for tests and never reaches live content. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01RDS6t8wcpbwKvvrxykVQ5K --- .../2027-01-10-1000-first-light.entry/entry.md | 18 ++++++++++++++++++ .../trips/no-photos-demo/dailies/dailies.md | 13 +++++++++++++ docs/demo/trips/no-photos-demo/stories.md | 13 +++++++++++++ docs/demo/trips/no-photos-demo/trip.md | 14 ++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 docs/demo/trips/no-photos-demo/dailies/2027-01-10-1000-first-light.entry/entry.md create mode 100644 docs/demo/trips/no-photos-demo/dailies/dailies.md create mode 100644 docs/demo/trips/no-photos-demo/stories.md create mode 100644 docs/demo/trips/no-photos-demo/trip.md diff --git a/docs/demo/trips/no-photos-demo/dailies/2027-01-10-1000-first-light.entry/entry.md b/docs/demo/trips/no-photos-demo/dailies/2027-01-10-1000-first-light.entry/entry.md new file mode 100644 index 0000000..6f91a16 --- /dev/null +++ b/docs/demo/trips/no-photos-demo/dailies/2027-01-10-1000-first-light.entry/entry.md @@ -0,0 +1,18 @@ +--- +title: 'First Light on the Road' +date: '2027-01-10 10:00' +template: entry +published: true +hero_image: '' +lat: 60.17 +lng: 24.94 +location_city: Helsinki +location_country: Finland +weather_temp_c: -6 +weather_desc: Clear +--- + +The bus left before dawn and the city was still under snow. I wrote most of +this by the window with a cold coffee, watching the harbour lights slide past. +No photographs today — the light was flat and grey and would not have kept +anyway. Some mornings the notebook is the only camera worth carrying. diff --git a/docs/demo/trips/no-photos-demo/dailies/dailies.md b/docs/demo/trips/no-photos-demo/dailies/dailies.md new file mode 100644 index 0000000..8c68fe3 --- /dev/null +++ b/docs/demo/trips/no-photos-demo/dailies/dailies.md @@ -0,0 +1,13 @@ +--- +title: Journal +template: default +routable: false +visible: false +content: + items: '@self.children' + order: + by: date + dir: desc + filter: + published: true +--- diff --git a/docs/demo/trips/no-photos-demo/stories.md b/docs/demo/trips/no-photos-demo/stories.md new file mode 100644 index 0000000..08fbb6e --- /dev/null +++ b/docs/demo/trips/no-photos-demo/stories.md @@ -0,0 +1,13 @@ +--- +title: Stories +template: default +routable: false +visible: false +content: + items: '@self.children' + order: + by: date + dir: desc + filter: + published: true +--- diff --git a/docs/demo/trips/no-photos-demo/trip.md b/docs/demo/trips/no-photos-demo/trip.md new file mode 100644 index 0000000..a0f02c8 --- /dev/null +++ b/docs/demo/trips/no-photos-demo/trip.md @@ -0,0 +1,14 @@ +--- +title: 'Notes from the Road 2027' +template: trip +date: '2027-01-10' +date_start: '2027-01-10' +date_end: '2027-01-14' +cover_image: '' +tagline: 'A text-only journal, written before the photos catch up' +--- + +A short winter trip recorded in words only — no camera this time, just a +notebook and whatever the road turned up. The entries stand on their own until +the film comes back from the lab, so this one is a deliberate test of how the +trip page reads with nothing but text to show.