nextcloud / nextcloud/text

make it possible to configure supported filenames for rich workspace

Open
#5,446 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: folder description
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Is your feature request related to a problem? Please describe.
the rich workspace feature is awesome, but the list of filename patterns that trigger it is:

we use nextcloud in a french context, with no-so-savvy users, and so far provide them readonly shares with a _LISEZMOI.md file (LISEZMOI=README in french) because they:

  • understand they have to read it
  • and it's the first file in the share, because it starts with an underscore

we were previously using files_markdown/files_texteditor so that they had the markdown rendered when clicking on the files. Since we're switching to the text app, i'm planning to enable the awesome rich workspace feature, because that way the markdown would be displayed straight away when landing in the share. .. but the name doesn't match the patterns, and the patterns are hardcoded.

Describe the solution you'd like
it would be great to be able to override the default list via an occ app:config toggle

Describe alternatives you've considered
mass-renaming all _LISEZMOI.md files, which could lead to user confusion since we've explained them that this file was supposed to be here. and they might not understand README.md either.

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 with the hardcoded filename patterns in src/views/RichWorkspace.vue at the linked line. Trace how the rich workspace decides which filenames trigger it, then verify that an occ app:config setting can override the defaults and support names such as _LISEZMOI.md.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.