Issue: Content filter for external content not working #486

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

Describe the bug
Around #602, the filtering of the external post types stopped working. Post types with ../ in their path won't appear.

Sample config:

{
  "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json",
  "title": "Components",
  "path": "[[workspace]]/../hugo-modules/documentation",
  "contentTypes": ["component"]
}

To Reproduce
Steps to reproduce the behavior:

  1. Clone kollitsch.dev, hugo-modules, and hugo-theme into the same folder next to each other
  2. Load the workspace via kollitsch.dev/kollitsch-dev.workspace
  3. Check the Frontmatter Dashboard
  4. set "Showing" filter to anything other than "components" < the posts group is loaded
  5. set "Showing" filter to "components" < the last selection stays visible

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 LTS
  • Browser Chrome latest
  • VSCode and Plugin are on the latest versions (not preview or beta)
**Describe the bug** Around #602, the filtering of the external post types stopped working. Post types with `../` in their path won't appear. Sample config: ```json { "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json", "title": "Components", "path": "[[workspace]]/../hugo-modules/documentation", "contentTypes": ["component"] } ``` **To Reproduce** Steps to reproduce the behavior: 1. Clone [kollitsch.dev](https://github.com/davidsneighbour/kollitsch.dev), [hugo-modules](https://github.com/davidsneighbour/hugo-modules), and [hugo-theme](https://github.com/davidsneighbour/hugo-theme) into the same folder next to each other 2. Load the workspace via kollitsch.dev/kollitsch-dev.workspace 3. Check the Frontmatter Dashboard 4. set "Showing" filter to anything other than "components" < the posts group is loaded 5. set "Showing" filter to "components" < the last selection stays visible **Desktop (please complete the following information):** - OS: Ubuntu 22.04 LTS - Browser Chrome latest - VSCode and Plugin are on the latest versions (not preview or beta) <!-- github-sync-id:1839254602 -->
adam closed this issue 2026-10-05 02:49:43 +02:00
Author
Owner

Found the issue and got it fixed.

Found the issue and got it fixed. <!-- github-comment-id:1685235665 -->
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#486