Upload a .txt file as a notecard (named after the file) #1519

Open
opened 2026-11-10 09:03:41 +00:00 by sky_line · 0 comments
Owner

Upload a plain text file (.txt) as a notecard.

Behaviour

  • File > Upload menu gains "Notecard (.txt)..." (multi-select allowed).
  • Each picked file becomes a new notecard in the Notecards folder, named after the file without its extension (Shopping list.txt -> Shopping list), trimmed to the inventory name limit (63 chars).
  • The text is read as UTF-8 (a BOM is stripped; CRLF becomes LF) and stored as the notecard body. Notecard size limit (65,536 bytes of text) is enforced: an oversized file is refused with a message, never silently truncated.
  • Notecard uploads are free; no cost confirmation.
  • Optional: dropping a .txt onto the viewer window does the same.

Notes

  • Create the item, then upload the body through the existing notecard save path (UpdateNotecardAgentInventory cap), as the notecard editor does.
  • Each upload is reported (success / failure with reason); no blind retries.
Upload a plain text file (`.txt`) as a notecard. **Behaviour** - File > Upload menu gains "Notecard (.txt)..." (multi-select allowed). - Each picked file becomes a new notecard in the Notecards folder, named after the file without its extension (`Shopping list.txt` -> `Shopping list`), trimmed to the inventory name limit (63 chars). - The text is read as UTF-8 (a BOM is stripped; CRLF becomes LF) and stored as the notecard body. Notecard size limit (65,536 bytes of text) is enforced: an oversized file is refused with a message, never silently truncated. - Notecard uploads are free; no cost confirmation. - Optional: dropping a `.txt` onto the viewer window does the same. **Notes** - Create the item, then upload the body through the existing notecard save path (UpdateNotecardAgentInventory cap), as the notecard editor does. - Each upload is reported (success / failure with reason); no blind retries.
sky_line added this to the Slipstream project 2026-11-10 09:03:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#1519
No description provided.