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

Issue: Front matter panel fails to load on posts #114

Closed
timschps opened this issue Sep 24, 2021 · 8 comments
Closed

Issue: Front matter panel fails to load on posts #114

timschps opened this issue Sep 24, 2021 · 8 comments
Labels
bug Something isn't working
Milestone

Comments

@timschps
Copy link

timschps commented Sep 24, 2021

Describe the bug
The Front matter side pannel fails to load on posts

To Reproduce
Steps to reproduce the behavior:

  1. Go to a markdown file in hugo
  2. Click on the frontmatter button in the sidebar
  3. see emptyness ;)
  4. to investigate, I opened the vscode dev tools and when doing the same steps again, I got to see the following errors:
    front matter error

DevTools failed to load source map: Could not load content for https://file+.vscode-resource.vscode-webview.net/c%3A/Users/timsc/.vscode/extensions/eliostruyf.vscode-front-matter-4.0.0/dist/viewpanel.js.map: Connection error: net::ERR_NAME_NOT_RESOLVED

Expected behavior
the front matter side pannel should load

Screenshots

front matter screenshot

Desktop (please complete the following information):

  • OS: Wind 10

Additional context
tried this on regular vscode and the insiders build too
somethimes it works though, very briefly

@timschps timschps changed the title Issue: Front matter panel Issue: Front matter panel fails to load on posts Sep 24, 2021
@estruyf
Copy link
Owner

estruyf commented Sep 24, 2021

@timschps would you be able to pass me some details about the used tags and article front matter? You know where to find me if you want to do it privately 😁

estruyf added a commit that referenced this issue Sep 24, 2021
@estruyf estruyf added the bug Something isn't working label Sep 24, 2021
@timschps
Copy link
Author

of course! here you are:


layout: post
title: Running a build in Azure DevOps with Cake and Azure Artifacts
featureImage: ''
thumbnail: /images/cake-artefacts/thumbnail.png
tags:

  • Cake
  • CakeBuild
  • Azure DevOps
  • Azure Artifacts
  • DevRel
  • DevOps
  • Microsoft
    date: 2021-05-08T12:39:24.850Z
    categories: DevOps
    series: build (migration) management
    draft: false
    slug: running-a-build-in-azure-devops-with-cake-and-azure-artefacts
    lastmod: '2021-09-23T19:10:09.673Z'

if you want to, we can also do a screensharing session if that's easier for you

@estruyf
Copy link
Owner

estruyf commented Sep 24, 2021

I found one small issue where no data was returned, this might have caused it. Would you be able to verify it with the latest beta version: https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-front-matter-beta

In order to test, you'll need to uninstall the other extension (all settings will be remained).

@timschps
Copy link
Author

Just installed the beta, but behavior seems the same...

@estruyf
Copy link
Owner

estruyf commented Sep 24, 2021

Ok, let us set up a call :-)

@timschps
Copy link
Author

@estruyf investigated with me. The categories entry in frontmatter was "only" a string, where an array was expected. So correcting this, fixed my current issue. @estruyf was going to investigate a way to improve this though...

@estruyf
Copy link
Owner

estruyf commented Sep 24, 2021

Fix has just been pushed and will be released together with two other minor issues.

@estruyf estruyf added this to the 4.0.1 milestone Sep 24, 2021
@estruyf
Copy link
Owner

estruyf commented Sep 24, 2021

Releasing this right now to the main version.

@estruyf estruyf closed this as completed Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants