nextcloud / nextcloud/richdocuments

Declarative ui: convert file to a different format like .docx->.md

Open
#4,949 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
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:

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.