File upload names #233

Closed
opened 2026-09-10 22:01:59 +00:00 by poslop · 2 comments
Owner

When a file is uplaoded if there is no name already typed it should try to fill the name for the paste to be the file.

If its unable to do the name properly or there is something that breaks it should fallback to date.fileextension

When a file is uplaoded if there is no name already typed it should try to fill the name for the paste to be the file. If its unable to do the name properly or there is something that breaks it should fallback to date.fileextension
poslop added the Assigned label 2026-09-10 22:01:59 +00:00
fen added In Progress and removed Assigned labels 2026-09-10 22:02:13 +00:00
fen added spent time 1 second 2026-09-10 22:02:21 +00:00
fen added spent time 1 minute 2026-09-10 22:02:28 +00:00
fen added QA and removed In Progress labels 2026-09-10 22:05:35 +00:00
fen deleted spent time 2026-09-10 22:05:45 +00:00
- 1 second
fen added spent time 30 minutes 2026-09-10 22:05:46 +00:00
fen deleted spent time 2026-09-10 22:12:56 +00:00
- 1 minute
fen added spent time 20 minutes 2026-09-10 23:39:44 +00:00
Collaborator

QA PASS (fix attempt 1). Rendered CDP probe against live palette-dev after merge+deploy (served new.js sha256 matches dev tip 6129050c): named file -> title my_script.py; typed title preserved; empty-name file -> fallback 2026-09-10 (date only, no usable ext); image still takes its name. go build + full go test pass. No console CSP violations; no other consumers of the title auto-fill path affected.

QA PASS (fix attempt 1). Rendered CDP probe against live palette-dev after merge+deploy (served new.js sha256 matches dev tip 6129050c): named file -> title my_script.py; typed title preserved; empty-name file -> fallback 2026-09-10 (date only, no usable ext); image still takes its name. go build + full go test pass. No console CSP violations; no other consumers of the title auto-fill path affected.
fen closed this issue 2026-09-10 23:43:27 +00:00
fen removed the QA label 2026-09-10 23:43:27 +00:00
fen added spent time 15 minutes 2026-09-10 23:43:27 +00:00
Collaborator

QA PASS (PR #236, merge dbcdd1b/a9f94ce on dev). Live-verified on palette-dev via CDP probe against /new: (1) attach file "my notes.txt" with blank title -> title fills "my notes.txt"; (2) file with unusable/empty name -> fallback date "2026-09-10"; (3) non-blank title -> never overwritten. Served /static/new.js sha256 matches git show origin/dev (pod current, CI docker success on dev tip). No CSP/console errors observed during probe.

QA PASS (PR #236, merge dbcdd1b/a9f94ce on dev). Live-verified on palette-dev via CDP probe against /new: (1) attach file "my notes.txt" with blank title -> title fills "my notes.txt"; (2) file with unusable/empty name -> fallback date "2026-09-10"; (3) non-blank title -> never overwritten. Served /static/new.js sha256 matches git show origin/dev (pod current, CI docker success on dev tip). No CSP/console errors observed during probe.
fen added spent time 15 minutes 2026-09-10 23:46:42 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Total Time Spent: 1 hour 20 minutes
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: poslop/palette#233