You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If there are any validation errors in the frontmatter.json file, the extension fails to load anything but the sidebar icon and panel. When the panel is opened, there is a visible indeterminate progress bar but nothing else happens. Attempts to show the dashboard cause VSCode to throw an error that the frontmatter.dashboard command doesn't exist.
To Reproduce
Steps to reproduce the behavior:
Open frontmatter.json
add a comma at the end of a dictionary or invalidate the json is some other way.
reload the window
Expected behavior
A typical VSCode error notification is displayed upon extension load that says the frontmatter.json file has errors, and clicking on that notification will display the errors, as is typical for error reporting.
The extension will load properly and all the default values are loaded instead.
When going to the frontmatter dashboard, a notice is given that there a fontmatter.json file exists and that there are problems with it.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Linux (Fedora 36)
Browser n/a
Version: all
The text was updated successfully, but these errors were encountered:
@skamansam, a new parser will be used to prevent these issues. Also, when it might happen again, it shows a message there is an issue with the frontmatter.json config and loads the default configuration.
Describe the bug
If there are any validation errors in the
frontmatter.json
file, the extension fails to load anything but the sidebar icon and panel. When the panel is opened, there is a visible indeterminate progress bar but nothing else happens. Attempts to show the dashboard cause VSCode to throw an error that thefrontmatter.dashboard
command doesn't exist.To Reproduce
Steps to reproduce the behavior:
frontmatter.json
Expected behavior
frontmatter.json
file has errors, and clicking on that notification will display the errors, as is typical for error reporting.fontmatter.json
file exists and that there are problems with it.Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: