nextcloud / nextcloud/richdocuments
Declarative ui: convert file to a different format like .docx->.md
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
Related to https://github.com/nextcloud/files-clients/issues/86#issuecomment-3199249342
With Declarative UI any server app can add interactions dynamically to Files clients.
This reduces code on client side and gives lots of opportunities to display simple stuff in a native way or interact in an easy way.
To have a starting set, we discussed and defined some actions.
One action is to offer an menu entry in context menu to convert a docx file to md.
(We can add later more).
To do so:
- add info to capability like https://github.com/tobiasKaminsky/declarativetest/blob/main/lib/Capabilities.php#L29
- create an endpoint that can receive a fileID and create a MD file out of it
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 reviewing the declarative capability example in the linked declarativetest Capabilities.php and the related files-clients discussion. Trace how richdocuments currently exposes capabilities and server endpoints, then determine how a file ID should reach the conversion action. Done means a context-menu entry can convert a DOCX file into an MD file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100