Skip to content

Enhancement: Improve the UI to show differences between content folders and public folder #345

@landure

Description

@landure

When "frontMatter.content.publicFolder" is set both in workspace.code-workspace and frontmatter.json, the setting is not taken into account, and the Media tab of the dashboard display the contents of the "content" folder of the workspace, not the root folder (as is the default when the setting is not set).

Steps to reproduce the behavior:

  1. Add "frontMatter.content.publicFolder": "static" to frontmatter.json and workspace.code-workspace
  2. May the the path of the content folder ('content' for Hugo)
  3. Click on Dashboard : Media tab
  4. The content of 'content' are displayed, not of 'static' or of the project root (as when publicFolder is not set).

Expected behavior
A alert should be seen about the setting confusion ? and the media tab should display the 'static' folder contents..

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 Jammy
  • Visual Code 1.67.2
  • Frontmatter v7.3.1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions