Closed
Description
Describe the bug
The frontMatter.data.folders
setting does not appear to work.
To Reproduce
Steps to reproduce the behavior:
-
Create the folder
data/tests
with empty filesfoo.json
andbar.yaml
. -
In
frontmatter.json
, define a data folder:"frontMatter.data.folders": [ { "id": "Testable", "path": "[[workspace]]/data/tests", "labelField": "name", "schema": { "title": "Test Files", "type": "object", "properties": { "name": { "title": "Entry Name", "type": "string" }, "example": { "title": "Example data", "type": "string" } } } } ]
-
Open the Data view on the dashboard, see that no data files are found.
Expected behavior
When I define an entry in frontMatter.data.folders
, any data files in that folder are found.
Screenshots
Desktop (please complete the following information):
- VS Code Info:
- Version: 1.71.0 (system setup)
- Commit: 784b0177c56c607789f9638da7b6bf3230d47a8c
- Date: 2022-09-01T07:36:10.600Z
- Electron: 19.0.12
- Chromium: 102.0.5005.167
- Node.js: 16.14.2
- V8: 10.2.154.15-electron.0
- OS: Windows_NT x64 10.0.19044
- Sandboxed: No
- Front Matter: v8.1.3007760-beta
Additional context
I suspect that this may be related, like #393, to the path discovery on Windows.