nextcloud / nextcloud/text

Readme.md ignored when URL is "/files/folder/..."

Open
#7,958 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The Readme.md file is ignored and no content is shown for the folder. It depends on the used URI path for the folder:

the folder description is:

not shown at "https://../app/files/folders"

but shown at "https://../app/files/files"

To Reproduce
Steps to reproduce the behavior:

  1. Use Folder Tree (file settings -> enable folder tree)
  2. Navigate to a folder so that the URL starts https://../app/files/folders
  3. Create a folder description file Readme.md with content to display

Expected behavior
Content of Readme.md should show at the top of the folder contents window

Actual behaviour
Nothing is shown

Server details

Nextcloud version: 31.0.10

Client details:

  • OS: Linux Mint desktop on Firefox, Chrome
  • OS: Android on Firefox

Not same as https://github.com/nextcloud/text/issues/7754 or https://github.com/nextcloud/text/issues/7088

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 reproducing the issue with Folder Tree enabled and compare the folder-description handling for URLs beginning with /files/folders and /files/files. Inspect the entry point responsible for rendering the folder contents window; done when Readme.md content appears at the top for the /files/folders path and the behavior is verified in both desktop and Android browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.