#233: file attachment title takes the file name #236

Merged
fen merged 1 commits from fix-233 into dev 2026-09-10 23:39:44 +00:00
Collaborator

Fix attempt 1. Ref #233.

When a file is attached and the title is blank, the title now takes the file's own name (previously only images did; text files got a generic placeholder name and unknown types got nothing). If the name is missing/unusable, fallback is date.fileextension (e.g. 2026-09-10.txt), bare date when there is no extension. Typed titles are never overwritten.

Verified rendered via CDP probe on a local build: named file -> 'my_script.py', typed title preserved, empty-name file -> '2026-09-10'.

Fix attempt 1. Ref #233. When a file is attached and the title is blank, the title now takes the file's own name (previously only images did; text files got a generic placeholder name and unknown types got nothing). If the name is missing/unusable, fallback is date.fileextension (e.g. 2026-09-10.txt), bare date when there is no extension. Typed titles are never overwritten. Verified rendered via CDP probe on a local build: named file -> 'my_script.py', typed title preserved, empty-name file -> '2026-09-10'.
fen added 1 commit 2026-09-10 22:05:17 +00:00
#233: file attachment title takes the file name, fallback date.ext
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 44s
785fafcaf9
fen merged commit a9f94ce806 into dev 2026-09-10 23:39:44 +00:00
Sign in to join this conversation.