test(trip): add AE4 no-banner coverage + record deferred review findings
- trip-header.spec.js: new U4/R9/AE4 test — a trip with no cover_image and no entry images renders its text header with no .trip-header-banner strip. - Makefile: demo-load/demo-reset now also (un)load the no-photos-demo fixture, guarded with `|| true` so runs whose user/ predates the fixture skip it instead of failing globalSetup. - plan: post-review follow-up notes the applied fixes and records the two intentionally-deferred findings (macro-owned resolution per KTD2; inline toggle script per U4's Approach) so they are not re-flagged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RDS6t8wcpbwKvvrxykVQ5K
This commit is contained in:
@@ -103,9 +103,19 @@ demo-load:
|
||||
cp /var/www/html/user/docs/demo/trips/italy-2026-demo/*.gpx /var/www/html/user/pages/01.trips/italy-2026-demo/ 2>/dev/null || true && \
|
||||
chown -R 1000:1000 /var/www/html/user/pages/01.trips/italy-2026-demo && \
|
||||
cd /var/www/html && php bin/grav clearcache"
|
||||
# Load no-photos-demo fixture (AE4: no cover_image, no entry images -> text-only header, no banner).
|
||||
# Guarded with `|| true` so runs whose user/ predates the fixture (e.g. the main
|
||||
# checkout before this branch merges) skip it instead of failing globalSetup.
|
||||
docker exec intotheeast_grav bash -c "\
|
||||
mkdir -p /var/www/html/user/pages/01.trips/no-photos-demo/01.dailies /var/www/html/user/pages/01.trips/no-photos-demo/04.stories && \
|
||||
cp /var/www/html/user/docs/demo/trips/no-photos-demo/trip.md /var/www/html/user/pages/01.trips/no-photos-demo/trip.md 2>/dev/null || true && \
|
||||
cp /var/www/html/user/docs/demo/trips/no-photos-demo/stories.md /var/www/html/user/pages/01.trips/no-photos-demo/04.stories/stories.md 2>/dev/null || true && \
|
||||
cp -r /var/www/html/user/docs/demo/trips/no-photos-demo/dailies/. /var/www/html/user/pages/01.trips/no-photos-demo/01.dailies/ 2>/dev/null || true && \
|
||||
chown -R 1000:1000 /var/www/html/user/pages/01.trips/no-photos-demo && \
|
||||
cd /var/www/html && php bin/grav clearcache"
|
||||
|
||||
demo-reset:
|
||||
docker exec intotheeast_grav bash -c "rm -rf /var/www/html/user/pages/01.trips/italy-2026-demo && cd /var/www/html && php bin/grav clearcache"
|
||||
docker exec intotheeast_grav bash -c "rm -rf /var/www/html/user/pages/01.trips/italy-2026-demo /var/www/html/user/pages/01.trips/no-photos-demo && cd /var/www/html && php bin/grav clearcache"
|
||||
|
||||
pixelfed-import:
|
||||
docker exec intotheeast_grav bash -c "which python3 || apt-get install -y python3 --no-install-recommends -q"
|
||||
|
||||
Reference in New Issue
Block a user