From e27adececbfe38294f706153abe0d5cbc66d92db Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Thu, 6 Feb 2025 10:24:43 +0100 Subject: [PATCH] Issue: "panel.gitActions" option in view modes is not present in the JSON schema #909 --- CHANGELOG.md | 1 + package.json | 3 ++- src/constants/Features.ts | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 603e0ae7..7c53fcc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ### 🐞 Fixes +- [#909](https://github.com/estruyf/vscode-front-matter/issues/909): Schema fix for the view modes - [#914](https://github.com/estruyf/vscode-front-matter/issues/914): Fix sanitizing of default filenames with an `_` in it ## [10.7.0] - 2024-12-31 - [Release notes](https://beta.frontmatter.codes/updates/v10.7.0) diff --git a/package.json b/package.json index bf845ec2..572f128b 100644 --- a/package.json +++ b/package.json @@ -1061,8 +1061,9 @@ "panel.globalSettings", "panel.seo", "panel.actions", - "panel.contentType", "panel.metadata", + "panel.contentType", + "panel.gitActions", "panel.recentlyModified", "panel.otherActions", "dashboard.snippets.view", diff --git a/src/constants/Features.ts b/src/constants/Features.ts index d579911f..4aeb5f9d 100644 --- a/src/constants/Features.ts +++ b/src/constants/Features.ts @@ -4,10 +4,10 @@ export const FEATURE_FLAG = { seo: 'panel.seo', actions: 'panel.actions', metadata: 'panel.metadata', - recentlyModified: 'panel.recentlyModified', - otherActions: 'panel.otherActions', contentType: 'panel.contentType', - gitActions: 'panel.gitActions' + gitActions: 'panel.gitActions', + recentlyModified: 'panel.recentlyModified', + otherActions: 'panel.otherActions' }, dashboard: { snippets: {