Skip to content

Conversation

@JammingBen
Copy link
Contributor

This allows users to hide the readme file in the file list.

see #1708 (comment)

This allows users to hide the readme file in the file list.
@JammingBen JammingBen self-assigned this Dec 18, 2025
Copilot AI review requested due to automatic review settings December 18, 2025 07:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for .readme.md as an alternative filename for the top-level readme file in spaces. This allows users to hide the readme file from the file list by prefixing it with a dot, which is a common convention for hidden files in Unix-like systems.

Key Changes:

  • Modified the readme file detection logic to accept both readme.md and .readme.md filenames
  • Updated test configuration to include the resources array in the mock store

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/web-app-files/src/views/spaces/GenericSpace.vue Updated readme file lookup to check for both readme.md and .readme.md filenames, and changed data source from storeItems to resources
packages/web-app-files/tests/unit/views/spaces/GenericSpace.spec.ts Added resources: files to the test store configuration to support the updated readme lookup logic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JammingBen JammingBen requested a review from kulmann December 18, 2025 07:22
@JammingBen JammingBen merged commit 11b4601 into main Dec 18, 2025
29 checks passed
@JammingBen JammingBen deleted the feat/topfolder-dot-readme branch December 18, 2025 08:51
@openclouders openclouders mentioned this pull request Dec 18, 2025
1 task
openclouders pushed a commit that referenced this pull request Dec 18, 2025
feat: allow .readme.md filename for top level readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants