Issue: Hidden folders are visible in Media #400

Closed
opened 2026-10-05 02:45:05 +02:00 by adam · 1 comment
Owner

Describe the bug
When I select Media in the FrontMatter Dashboard all folders that start with . is displayed even though they should be considered hidden.

As an option, folders that has the property hidden in NTFS or FAT32 should also be hidden from Media.

To Reproduce
Steps to reproduce the behavior:

  1. Create a folder labeled .hidden in the root of the project.
  2. Open the FrontMatter Dashboard
  3. Click on Media
  4. Notice that the hidden folder .hidden is displayed.
  5. Right-click on the folder and select Properties
  6. Enable the Hidden property.
  7. Notice that the folder is still visible in Media.

Expected behavior
Hidden folders should be kept hidden from the Dashboard in Media.

Screenshots
image

image

Desktop (please complete the following information):

  • Version: 1.75.1 (user setup)
  • Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
  • Date: 2023-02-08T21:32:34.589Z
  • Electron: 19.1.9
  • Chromium: 102.0.5005.194
  • Node.js: 16.14.2
  • V8: 10.2.154.23-electron.0
  • OS: Windows_NT x64 10.0.19044
  • Sandboxed: No
  • Extension Version: 8.3.0

Additional context
This is especially important when using git as you don't like anyone editing the .git folder by mistake (including yourself).

**Describe the bug** When I select `Media` in the `FrontMatter Dashboard` all folders that start with `.` is displayed even though they should be considered hidden. As an option, folders that has the property hidden in NTFS or FAT32 should also be hidden from Media. **To Reproduce** Steps to reproduce the behavior: 1. Create a folder labeled `.hidden` in the root of the project. 2. **Open** the `FrontMatter Dashboard` 3. **Click** on `Media` 4. Notice that the hidden folder `.hidden` is displayed. 5. **Right-click** on the folder and select `Properties` 6. Enable the `Hidden` property. 7. Notice that the folder is still visible in `Media`. **Expected behavior** Hidden folders should be kept hidden from the Dashboard in `Media`. **Screenshots** ![image](https://user-images.githubusercontent.com/20666032/219052020-a1b2949b-bafe-4552-b702-73bad77efcf6.png) ![image](https://user-images.githubusercontent.com/20666032/219055208-25296b9c-c485-4224-a55a-7c74a053ef19.png) **Desktop (please complete the following information):** - Version: 1.75.1 (user setup) - Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf - Date: 2023-02-08T21:32:34.589Z - Electron: 19.1.9 - Chromium: 102.0.5005.194 - Node.js: 16.14.2 - V8: 10.2.154.23-electron.0 - OS: Windows_NT x64 10.0.19044 - Sandboxed: No - Extension Version: 8.3.0 **Additional context** This is especially important when using git as you don't like anyone editing the .git folder by mistake (including yourself). <!-- github-sync-id:1585947483 -->
adam closed this issue 2026-10-05 02:45:05 +02:00
Author
Owner

We will have to test to see if we can exclude these. A setting might be useful to hide/show dot folders.

We will have to test to see if we can exclude these. A setting might be useful to hide/show dot folders. <!-- github-comment-id:1432648043 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#400