Issue: "panel.gitActions" option in view modes is not present in the JSON schema #708

Closed
opened 2026-10-05 03:01:27 +02:00 by adam · 2 comments
Owner

Describe the bug
In the following default JSON schema, panel.gitActions is not included in frontMatter.global.modes, and I got a validation error.
https://frontmatter.codes/frontmatter.schema.json

"features": {
  "type": "array",
  "default": [],
  "description": "The features you want to use for your mode.",
  "items": {
    "type": "string",
    "enum": [
      "panel.globalSettings",
      "panel.seo",
      "panel.actions",
      "panel.contentType",
      "panel.metadata",
      "panel.recentlyModified",
      "panel.otherActions",
      "dashboard.snippets.view",
      "dashboard.snippets.manage",
      "dashboard.data.view",
      "dashboard.taxonomy.view"
    ]
  }

Screenshots
image

**Describe the bug** In the following default JSON schema, `panel.gitActions` is not included in `frontMatter.global.modes`, and I got a validation error. https://frontmatter.codes/frontmatter.schema.json ```json "features": { "type": "array", "default": [], "description": "The features you want to use for your mode.", "items": { "type": "string", "enum": [ "panel.globalSettings", "panel.seo", "panel.actions", "panel.contentType", "panel.metadata", "panel.recentlyModified", "panel.otherActions", "dashboard.snippets.view", "dashboard.snippets.manage", "dashboard.data.view", "dashboard.taxonomy.view" ] } ``` **Screenshots** ![image](https://github.com/user-attachments/assets/ae4efcb8-82c8-4625-8638-2f34372b187f) <!-- github-sync-id:2781971816 -->
adam closed this issue 2026-10-05 03:01:27 +02:00
Author
Owner

Thanks @voltaney for reporting this issue. 🙏

Thanks @voltaney for reporting this issue. 🙏 <!-- github-comment-id:2599681875 -->
Author
Owner

Version 10.8.0 has been released

Version 10.8.0 has been released <!-- github-comment-id:2687640362 -->
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#708