Request form: short field titles with a help line, and why to send a file

Detail fields can carry a help line under the title (RequestField
help). The blog post's card field is now Short description, saying
where it shows; other long titles became short ones with the detail
in the help. The Files note explains that a blog post sent as a
.docx can be imported straight onto the site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-09-30 20:33:20 -05:00
parent 79c4b243f5
commit af7e99895a
2 changed files with 24 additions and 12 deletions

View file

@ -235,8 +235,10 @@ export default function RequestForm() {
<div className="mt-4 grid gap-4 sm:grid-cols-2">
{type.fields.map((f) => {
const id = `request-detail-${f.key}`;
const helpId = f.help ? `${id}-help` : undefined;
const common = {
id,
"aria-describedby": helpId,
value: details[f.key] ?? "",
placeholder: f.placeholder,
maxLength: 2000,
@ -248,6 +250,11 @@ export default function RequestForm() {
<label htmlFor={id} className="block text-sm font-medium text-body">
{f.label}
</label>
{f.help && (
<p id={helpId} className="mt-0.5 text-xs" style={{ color: MUTED }}>
{f.help}
</p>
)}
{f.input === "textarea" ? (
<textarea {...common} rows={3} onChange={(e) => set(e.target.value)} className={`mt-2 resize-y ${fieldClass}`} />
) : (
@ -298,8 +305,10 @@ export default function RequestForm() {
<OptionalTag />
</div>
<p className="mt-1 max-w-prose text-sm" style={{ color: MUTED }}>
A Word document (.docx) with the details or the post itself, photos (JPEG or PNG) or a PDF. Up to{" "}
{MAX_FILES}, {MAX_FILE_MB} MB each.
Why a file: a blog post sent as a Word document (.docx) can be imported straight onto the site, its
headings, lists, tables and links as written, so nothing needs retyping. For anything else, a document
with the details, photos (JPEG or PNG) or a PDF saves us asking. Up to {MAX_FILES} files,{" "}
{MAX_FILE_MB} MB each.
</p>
<input
id="request-files"