nextcloud / nextcloud/server

Expose templates through direct editing

Open
#29,174 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop client: 🤖🍏 mobile enhancement feature: templates integration
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

The direct editing API which is used by clients to open files through a link in editors like text/collabora or onlyoffice should make use of the added template folder with 21 and expose those for file creation.

  • Expose templates for the file creator mimetype
  • Find a way to map more than one mimetype since multiple would be possible through the templates api, e.g. odt/ott for creating a new document

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the direct editing API used to open files from editor links, then inspect how the template folder added with version 21 is exposed. Determine how the file creator mimetype should expose templates and how multiple mappings such as odt/ott should work. Done means templates are available for file creation through direct editing without breaking existing mappings.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.