Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback: Custom scripts appear only on main dashboard #777

Closed
davidsneighbour opened this issue Mar 18, 2024 · 5 comments
Closed

Feedback: Custom scripts appear only on main dashboard #777

davidsneighbour opened this issue Mar 18, 2024 · 5 comments
Labels
Released The task has been released v10.1.0 Project: v10.1.0

Comments

@davidsneighbour
Copy link

davidsneighbour commented Mar 18, 2024

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.

My main config is here and here.

@estruyf
Copy link
Owner

estruyf commented Mar 18, 2024

Do you mean these actions?

image

@estruyf
Copy link
Owner

estruyf commented Mar 18, 2024

I just verified it on Windows with both the stable and beta versions.

image

Don't spot any issues. 🤔

@davidsneighbour
Copy link
Author

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:

index md-kollitsch dev(Workspace)-VisualStudioCode_1874x1058_20240318-18:09:42

(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 :)

@estruyf
Copy link
Owner

estruyf commented Mar 18, 2024

Found it! It was only in that file. Saw that my VSCode instance gave an error on the YAML.

image

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.

@estruyf
Copy link
Owner

estruyf commented Mar 18, 2024

I'm going to implement a change that shows an error message like this:

image

@project-labels project-labels bot added v10.1.0 Project: v10.1.0 In progress This is actively being worked on labels Mar 18, 2024
@project-labels project-labels bot added In BETA The current task is available for testing in the BETA version. and removed In progress This is actively being worked on labels Mar 18, 2024
estruyf added a commit that referenced this issue Mar 19, 2024
estruyf added a commit that referenced this issue Mar 19, 2024
@estruyf estruyf closed this as completed Apr 12, 2024
@estruyf estruyf added Released The task has been released and removed In BETA The current task is available for testing in the BETA version. labels Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Released The task has been released v10.1.0 Project: v10.1.0
Projects
None yet
Development

No branches or pull requests

2 participants