nextcloud / nextcloud/server

Add Folders to the 'templates' folder.

Open
#33,196 2 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: templates
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

=====

One of our customers asked us if the option to add a 'template folder' is available in Nextcloud. I checked it but as far as I can see, this isn't possible yet. You can add a template for spreadsheets, text-documents etc., but it would be awesome to make a template folder containing multiple files. A work-around would be possible if you could copy a folder in the same location, but that also isn't possible yet (see https://github.com/nextcloud/server/issues/18846).

This can be extra useful for project folders which always contains the same set of subfolders, template files etc.

So it could work similair to other templates:

  • Click 'New Folder' or 'New preset Folder' if another option is better.
  • Get the same popup as a you'd get with a spreadsheet template.
  • When you click one of these templates, a folder is created with the same content as the 'template folder'.

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

No source files, tests, or entry points are named; start by reviewing this issue and the related folder-copy issue #18846. Done means a user can select a configured template folder from the new-folder flow and create a folder containing the template's files and subfolders.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.