Add the functionality to create new data files for the data folders (`frontMatter.data.folders`).
- [x] Create a new property to turn on data file creation
- [x] Add a create new data folder button on the dashboard
- [x] If only one data folder is configured, use that one and ask for the name of the file
- [x] If multiple are configured, ask to which folder you want to create the data file and provide the name
> Discussion on Discord: https://discord.com/channels/992409023607476224/992409556351189082/1266087192242028617
<!-- github-sync-id:2431700300 -->
Once configured, you'll see the following new experiences/elements.
In the 10.4 BETA you can give it a try.
I have added the following properties on the `frontMatter.data.folders` setting:
- `enableFileCreation`: Defines if you want to enable file creation for the folder
- `fileType`: The file type to create the new file. Only `json` or `yaml` are supported.
```json
{
"frontMatter.data.folders": [{
"id": "data",
"path": "[[workspace]]/data/authors",
"singleEntry": true,
"enableFileCreation": true,
"fileType": "json",
"schema": {
...
}
}]
}
```
Once configured, you'll see the following new experiences/elements.


<!-- github-comment-id:2288560826 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add the functionality to create new data files for the data folders (
frontMatter.data.folders).In the 10.4 BETA you can give it a try.
I have added the following properties on the
frontMatter.data.folderssetting:enableFileCreation: Defines if you want to enable file creation for the folderfileType: The file type to create the new file. Onlyjsonoryamlare supported.Once configured, you'll see the following new experiences/elements.
This functionality is now part of the
v10.4.0main release.