|
| 1 | +--- |
| 2 | +title: Version 10.1.0 release notes |
| 3 | +description: Get the latest updates on the release of Version 10.1.0 and its new features, including a command bar for contents and media. |
| 4 | +date: 2024-04-11T14:27:57.852Z |
| 5 | +lastmod: 2024-04-11T15:14:56.862Z |
| 6 | +slug: v10.1.0 |
| 7 | +type: changelog |
| 8 | +--- |
| 9 | + |
| 10 | +## Command bar for contents and media dashboard |
| 11 | + |
| 12 | +We have added a new command bar to the contents and media dashboard. This command bar allows you to perform common actions for single and multiple items. |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +### Common actions on cards |
| 17 | + |
| 18 | +Besides the new command bar, the common actions on content and media cards have been updated. You can now find these actions at the bottom of the card. |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | +## Support for glob patterns in the page folder paths |
| 23 | + |
| 24 | +You can now use glob patterns in the page folder paths. This allows you to define a folder path that matches multiple folders. |
| 25 | + |
| 26 | +```json {{ "title": "Example of the content folders configuration" }} |
| 27 | +{ |
| 28 | + "frontMatter.content.pageFolders": [ |
| 29 | + { |
| 30 | + "title": "Docs", |
| 31 | + "path": "[[workspace]]/content/**/docs" |
| 32 | + } |
| 33 | + ] |
| 34 | +} |
| 35 | +``` |
| 36 | + |
| 37 | +## Extensibility enhancements |
| 38 | + |
| 39 | +### Open a file or webpage from a custom script |
| 40 | + |
| 41 | +With version `0.0.15` of the [@frontmatter/extensibility](https://www.npmjs.com/package/@frontmatter/extensibility) it is now possible to open a file or webpage when a custom script is completed. |
| 42 | + |
| 43 | +```typescript |
| 44 | +import { ContentScript } from "@frontmatter/extensibility"; |
| 45 | + |
| 46 | +ContentScript.open(`<path to a file>`); |
| 47 | +ContentScript.open(`<URL of a webpage>`); |
| 48 | +``` |
| 49 | + |
| 50 | +### Always show the custom panel view |
| 51 | + |
| 52 | +The custom panel view will now always be shown, not only when content is opened. This can be useful for showing some general information about your website. |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | +## Related issues/enhancements |
| 57 | + |
| 58 | +### ✨ New features |
| 59 | + |
| 60 | +- [#671](https://github.com/estruyf/vscode-front-matter/issues/671): Command bar for contents and media dashboard |
| 61 | + |
| 62 | +### 🎨 Enhancements |
| 63 | + |
| 64 | +- [#773](https://github.com/estruyf/vscode-front-matter/issues/773): Added the ability to rename content files |
| 65 | +- [#777](https://github.com/estruyf/vscode-front-matter/issues/777): Show an error in the metadata panel if something went wrong while parsing the front matter |
| 66 | +- [#778](https://github.com/estruyf/vscode-front-matter/issues/778): Added the ability to open a file or webpage when custom scripts is completed |
| 67 | +- [#783](https://github.com/estruyf/vscode-front-matter/issues/783): Always show the custom panel view |
| 68 | +- [#785](https://github.com/estruyf/vscode-front-matter/issues/785): Adding common actions at the bottom of the content and media cards |
| 69 | +- [#787](https://github.com/estruyf/vscode-front-matter/issues/787): Support for glob patterns in the page folder paths |
| 70 | + |
| 71 | +### 🐞 Fixes |
| 72 | + |
| 73 | +- [#716](https://github.com/estruyf/vscode-front-matter/issues/716): Fix `dataFile` dropdown class |
| 74 | +- [#768](https://github.com/estruyf/vscode-front-matter/issues/768): Update broken link to the documentation |
| 75 | +- [#771](https://github.com/estruyf/vscode-front-matter/issues/771): Fix lowercase `data` tab label |
| 76 | +- [#782](https://github.com/estruyf/vscode-front-matter/issues/782): Fix for setting the correct view when inserting media or snippets |
| 77 | +- [#786](https://github.com/estruyf/vscode-front-matter/issues/786): Remove on startup as VSCode now triggers on known commands |
0 commit comments