Skip to content

Issue: frontmatter.global.modes settings #455

@DennisL68

Description

@DennisL68

Describe the bug
When adding frontmatter settings to settings.json using

    "frontMatter.global.activeMode": "minimal",
    "frontMatter.global.modes": [
        {
            "id": "minimal",
            "features": [
            "panel.globalSettings",
            "panel.seo",
            "panel.actions",
            "panel.otherActions",
            "dashboard.data.view",
            "dashboard.snippets.view"
            ]
        }
    ]

and when viewing a file, random panes disappears.

To Reproduce
Steps to reproduce the behavior:

  1. Open settings.json
  2. Add the JSON section in the bug description above to the end of the settings file
  3. Restart VS Code
  4. Open a FM project and go to the extension
  5. View a markdown file in the FM project

Expected behavior
The panes and dashboards should be shown in accordance with the settings.json even when working with a file.

Screenshots

image

Desktop (please complete the following information):

  • OS: Windows 10 21H2, build 19044,2130
  • VS Code :
    Version: 1.73.0 (user setup)
    Commit: 8fa188b2b301d36553cbc9ce1b0a146ccb93351f
    Date: 2022-11-01T15:34:06.111Z (6 days ago)
    Electron: 19.0.17
    Chromium: 102.0.5005.167
    Node.js: 16.14.2
    V8: 10.2.154.15-electron.0
    OS: Windows_NT x64 10.0.19044
    Sandboxed: No
  • FM: v8.1.2

Edit: I was actually doing this the wrong way around. Initially I thought these settings was for disabling the view. Not building customized views.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions