Feedback: Custom scripts appear only on main dashboard
davidsneighbour opened this issue · comments
I have a bunch of custom actions defined in a subfolder config. Recently, I'm not sure when exactly, it might have been a while, the buttons to run these scripts disappeared from the sidebar panel when I was inside my content files. I know the buttons were there. Now they are not.
I find the actions however in the three dots menu on the main dashboard.
Did that change somehow or did another config option hide these actions? I removed frontMatter.panel.actions.disabled
from my config to no change.
I should have clicked around... I think the issue might be elsewhere. Can you try to follow these steps:
- Open VSCode, Frontmatter dashboard opens
- Left sidebar open the project/folder view, close the frontmatter dashboard
- select for instance content > blog > 2024 > music to program 2 pt 8 > index.md
- click the FM icon to switch the left sidebar
It opens an overview screen like this:
(sidenote: If I click on "recently modified" items in that side panel view, they load in the editor view without updating the left column.)
My problem might be that without the Main Dashboard open in the editor area, the left side panel does not automatically update on new or switches to the editor. Or maybe another plugin is interfering with Frontmatter? But that would be quite insecure for VSCode.
If I keep the dashboard open, the left side updates and shows what you have in your screenshots, which is a start :)
Found it! It was only in that file. Saw that my VSCode instance gave an error on the YAML.
![image](https://private-user-images.githubusercontent.com/2900833/313676282-ec51c72e-4045-45ee-83b8-abedd47402a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1NzA4NjIsIm5iZiI6MTcyMTU3MDU2MiwicGF0aCI6Ii8yOTAwODMzLzMxMzY3NjI4Mi1lYzUxYzcyZS00MDQ1LTQ1ZWUtODNiOC1hYmVkZDQ3NDAyYTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjFUMTQwMjQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmE3MWYyMGMwNGFhNWE4NzUyYjAwOWJmZmJmY2U2ZjJlNDZlYjE0Yzg5N2ZjYmY2OWE1MGU4NjZkODMyZDIxNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.xemtk3DRqYoN4eKFEsW87wH1FxGL8Kt-hTInuXXVHEY)
Updating the YAML content for description and summary to following contents fixed it:
description: '"Flow State" by Above & Beyond is in my opinion an ideal soundtrack for enhancing concentration and workflow.'
summary: "\"Flow State\" by Above & Beyond is in my opinion an ideal soundtrack for enhancing concentration and workflow. The album's 49 minutes of ambient compositions and neo-classical soundscapes create a serene and non-intrusive background, conducive to entering a state of deep focus, often referred to as the \"flow state\" in programming and other cognitive-intensive tasks."
Now the panel rendered correctly.