DennisL68 · GitHub

Describe the bug
The root folder of the project can be registered for content. But files added to it won't show in the dashboard.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to the root folder of the project in Explorer view
  2. Right click in the root and select Front Matter: Register folder
  3. Add a new article in the project root
  4. Open FrontMatter Dashboard
  5. Notice the files from the project root is missing (trying to refresh won't help)
  6. Open frontmatter.json
  7. Change path for the root pageFolder from "path": "[[workspace]]" to "path": "[[workspace]]/"
  8. Save the changes to frontmatter.json
  9. Navigate back to FrontMatter Dashboard
  10. Refresh the dashboard
  11. Notice the previsoulsy missing files from the root is now displayed

Expected behavior
Adding the root of a Frontmatter project should add / to the path.

Desktop (please complete the following information):

  • Version: 1.74.0 (user setup)
  • Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91
  • Date: 2022-12-05T16:38:16.075Z
  • Electron: 19.1.8
  • 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
  • FrontMatter: 8.2.0

Additional context
Add any other context about the problem here.

Read the original on github.com ↗