Enhancement: Group data files in a folder under the folder id #358

Open
opened 2026-10-05 02:42:40 +02:00 by adam · 0 comments
Owner

Is your feature request related to a problem? Please describe.

After I schematized my data types and began adding my data to the site, my data view on the dashboard became harder and harder to quickly find, especially when file names conflict (even though they're different data types in different folders).

Describe the solution you'd like

I would like for the data files defined in a data.folders entry to be child items in the "Select your data type" menu for that entry. If the id for a folder is Foo and it contains the bar.yaml and baz.yaml files, I would like those files to be listed under Foo as collapsible child items instead of just their file names in a flat list.

The entries in that menu already include an arrow, though the arrow doesn't turn or change colors on selection (the arrow and the text both look a little brighter, though, when editing that file).

Describe alternatives you've considered

N/A

Additional context

Screenshot showing VS Code with the file tree on the left (highlighting the schematized data files), the data view of the dashboard in the middle (with the list of all schematized files, not organized alphabetically and with no way to distinguish one core.yaml from another), and the data.folders entry on the right (with the id set to Scenarios and pointing to the highlighted folder in the tree view).

**Is your feature request related to a problem? Please describe.** After I schematized my data types and began adding my data to the site, my data view on the dashboard became harder and harder to quickly find, especially when file names conflict (even though they're different data types in different folders). **Describe the solution you'd like** I would like for the data files defined in a **data.folders** entry to be child items in the "Select your data type" menu for that entry. If the id for a folder is `Foo` and it contains the `bar.yaml` and `baz.yaml` files, I would like those files to be listed under `Foo` as collapsible child items instead of just their file names in a flat list. The entries in that menu already include an arrow, though the arrow doesn't turn or change colors on selection (the arrow and the text both look a little brighter, though, when editing that file). **Describe alternatives you've considered** N/A **Additional context** ![Screenshot showing VS Code with the file tree on the left (highlighting the schematized data files), the data view of the dashboard in the middle (with the list of all schematized files, not organized alphabetically and with no way to distinguish one `core.yaml` from another), and the **data.folders** entry on the right (with the id set to `Scenarios` and pointing to the highlighted folder in the tree view).](https://user-images.githubusercontent.com/14190564/194687585-025bbc75-db77-4abd-9083-2efe4eb7a506.png "Screenshot showing VS Code with the file tree on the left (highlighting the schematized data files), the data view of the dashboard in the middle (with the list of all schematized files, not organized alphabetically and with no way to distinguish one `core.yaml` from another), and the **data.folders** entry on the right (with the id set to `Scenarios` and pointing to the highlighted folder in the tree view).") <!-- github-sync-id:1401816199 -->
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#358