Files
intotheeast-com-content/pages/02.post/post-form.md
T
m038andClaude Opus 4.8 87da3e4b5b feat(post-form): photos-first order, auto-collapsing photo summary, success-only view
- Reorder blueprint to Photos → Title → Content; drop title autofocus so the
  picker leads (it anchors what you write).
- After upload the photo section auto-collapses to a live summary bar
  ("✓ N photos ready — tap to review") and re-expands on tap; the field's
  own .form-label is hidden so the <summary> is the sole header. Trailing
  refreshes settle the summary past FilePond's event/DOM timing gap.
- Replace FilePond's murky completed-thumbnail overlay with a clean green ✓
  badge (remove action left intact).
- On a successful post, hide the reset form + location/weather controls so
  only the "✓ Saved" confirmation + View-journal CTA remain.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 19:46:49 +02:00

4.5 KiB

title, template, access, pageconfig, pagefrontmatter, form
title template access pageconfig pagefrontmatter form
New Entry post-form
site.login
true
slug_field overwrite_mode
date,title false
template published
entry true
name action enctype fields novalidate buttons process
new-entry /post multipart/form-data
name label type multiple destination limit accept
photos Photos (max 4) filepond true @self 4
image/*
name label type validate
title Title text
required
true
name label type default format validate
date Date & Time datetime now Y-m-d H:i
required
true
name label type rows validate
content What happened today? textarea 10
required
true
name label type placeholder
lat Latitude text tap "Get Location" below
name label type placeholder
lng Longitude text
name label type placeholder
location_city City text e.g. Kyoto
name label type placeholder
location_country Country text e.g. Japan
name label type default options
weather_desc Weather Condition select
Sunny Partly cloudy Cloudy Foggy Drizzle Rain Snow Thunderstorm
— none — ☀️ Sunny Partly cloudy ☁️ Cloudy 🌫️ Foggy 🌦️ Drizzle 🌧️ Rain ❄️ Snow ⛈️ Thunderstorm
name label type placeholder validate
weather_temp_c Temperature (°C) number tap "Get Weather" or type it
min max
-60 60
name label type default options
transport_mode How I got here select
walking bicycle bus train car plane
— not specified — 🚶 Walking 🚲 Bicycle 🚌 Bus 🚆 Train 🚗 Car ✈️ Plane
name label type classes placeholder help
hero_image Hero Image Filename text advanced-field photo.jpg Filename of the hero/header image. Leave blank to use the first uploaded photo.
name label type classes highlight default options validate
force_connect Force connector line toggle advanced-field 0 0
1 0
Yes No
type
bool
name label type classes highlight default options validate
featured Featured highlight toggle advanced-field 0 0
1 0
Yes No
type
bool
true
type value classes
submit Post Daily btn-post
add_page upload message reset
true true Entry posted successfully! true