Add 'New blank document' to each office island #160

Open
opened 2026-04-26 08:24:35 +00:00 by zaelgohary · 0 comments
Member

Today the only way to get a doc into the system is Upload. There is no path to create a blank doc inside the host UI. OnlyOffice ships templates at /var/www/onlyoffice/documentserver/document-templates/new/en-US/new.{docx,xlsx,pptx,pdf} — we used these to seed test files this session.

Acceptance

  • A New button next to Upload in FileListView.
  • Clicking opens a small inline form for filename, defaulting to Untitled-<DocType-label>.<ext>.
  • A new RPC method on hero_office_server (e.g. create_blank_document) copies the appropriate template into the user's hero_foundry context with the chosen filename.
  • The list refreshes and the user can immediately open the new file.
  • Per-doc-type extension correctness: New from Sheets creates .xlsx, New from Documents creates .docx, etc.
Today the only way to get a doc into the system is `Upload`. There is no path to create a blank doc inside the host UI. OnlyOffice ships templates at `/var/www/onlyoffice/documentserver/document-templates/new/en-US/new.{docx,xlsx,pptx,pdf}` — we used these to seed test files this session. ## Acceptance - A `New` button next to `Upload` in `FileListView`. - Clicking opens a small inline form for filename, defaulting to `Untitled-<DocType-label>.<ext>`. - A new RPC method on hero_office_server (e.g. `create_blank_document`) copies the appropriate template into the user's hero_foundry context with the chosen filename. - The list refreshes and the user can immediately open the new file. - Per-doc-type extension correctness: New from Sheets creates .xlsx, New from Documents creates .docx, etc.
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
lhumina_code/hero_archipelagos#160
No description provided.