nextcloud / nextcloud/richdocuments
Unify accepted templates
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
There are several places in the code that define what file types are accepted as templates (see https://github.com/nextcloud/richdocuments/pull/5475 and https://github.com/nextcloud/richdocuments/pull/5512). Instead of trying to make them all match, we should refactor it a bit and define them once and use that where needed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the accepted-template definitions in lib/Service/InitialStateService.php and lib/TemplateManager.php, along with the related pull requests. Identify the shared source that should define the file types and the places that consume it. Done means the accepted templates are defined once and both referenced areas use that definition consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100