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: slowing down of VSCode and never-ending "Processing" in status bar. #801

Open
davidsneighbour opened this issue Apr 28, 2024 · 3 comments
Labels
bug Something isn't working In BETA The current task is available for testing in the BETA version. v10.2.0 Project: v10.2.0

Comments

@davidsneighbour
Copy link

davidsneighbour commented Apr 28, 2024

Describe the bug

Sorry if this bug description is not too helpful; let me know anything or button to push or type to get behind the issue:

The plugin is somehow freezing after the first save. The only reason why I think it is FrontMatter is that, after disabling, everything works fine ;) And the status bar item running "Processing" without end is named Frontmatter.

I had Github's Copilot plugin under suspicion, or maybe an interaction between the two? It started with version 10.0.0 I think, but I was suspecting other factors (keyboard, copilot, linting plugins on save) before I ended up with Frontmatter in my eyes.

To recreate (hopefully) the situation, do this:

  • Use my repo
  • run npm install
  • use the workspace config in the folder to start up
  • maybe install all recommended plugins (if it does not freeze without them)
  • maybe run npm run server or hugo server to have the SSG running in the background. This might not work.
  • open any markdown file in content, maybe this one: /content/blog/2024/git-stashes-for-adhders/index.md
  • Try writing and deleting stuff - all should be well and working as expected.
  • save the file (ctrl + s)
  • a "Processing..." appears in the status bar, and the save process runs. The "Processing" does not go away.
  • Typing is getting sluggish, as if VSCode is now processing the text after each key pressed. Using backspace/delete is nearly impossible; everything else is slow.
  • The "Processing" does not go away.
  • This will take over any other subsequently opened editor window, and even saving things will take longer and longer.

Switching FrontMatter off (leaving all other plugins active) leads to a normal typing experience with no sluggishness.

Screenshots

"Processing"

Selection_001

Tooltip_001

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 and 24.04
  • Version: v10.1.0

The output log has no visible info about issues:

["INFO" - 16:04:49]  Processing "/content/pagefolders/blog.json" config file.
["INFO" - 16:04:49]  Processing "/content/pagefolders/components.json" config file.
["INFO" - 16:04:49]  Processing "/content/pagefolders/tags.json" config file.
["INFO" - 16:04:49]  Processing "/content/placeholders/permalink.json" config file.
["INFO" - 16:04:49]  Processing "/content/snippets/caption.json" config file.
["INFO" - 16:04:49]  Processing "/custom/scripts/screenshot.json" config file.
["INFO" - 16:04:49]  Processing "/custom/scripts/unsplash.json" config file.
["INFO" - 16:04:49]  Processing "/custom/scripts/youtube.json" config file.
["INFO" - 16:04:49]  Processing "/data/files/kurzschnitte.json" config file.
["INFO" - 16:04:49]  Processing "/data/files/music2program2.json" config file.
["INFO" - 16:04:49]  Processing "/data/folders/blog.json" config file.
["INFO" - 16:04:49]  Processing "/data/media/test.json" config file.
["INFO" - 16:04:49]  Processing "/data/types/sample.json" config file.
["INFO" - 16:04:49]  Processing "/taxonomy/contenttypes/blog.json" config file.
["INFO" - 16:04:49]  Processing "/taxonomy/contenttypes/component.json" config file.
["INFO" - 16:04:49]  Processing "/taxonomy/contenttypes/default.json" config file.
["INFO" - 16:04:49]  Processing "/taxonomy/contenttypes/music2program2.json" config file.
["INFO" - 16:04:49]  Processing "/taxonomy/contenttypes/notes-from-the-laboratory.json" config file.
["INFO" - 16:04:49]  Processing "/taxonomy/contenttypes/tag.json" config file.
["INFO" - 16:04:49]  Processing "/taxonomy/fieldgroups/author.json" config file.
["INFO" - 16:04:49]  Processing "/taxonomy/fieldgroups/resources.json" config file.
["INFO" - 16:04:49]  Reading dynamic config file: /home/patrick/github.com/davidsneighbour/kollitsch.dev/frontmatter.config.cjs
["INFO" - 16:04:49]  Dynamic config file loaded
["INFO" - 16:04:50]  Trigger page update: main
["INFO" - 16:04:50]  Trigger page update: onDidChangeActiveTextEditor
["INFO" - 16:04:51]  File watcher execution for: /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md.git
["INFO" - 16:04:51]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 16:04:52]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 16:04:53]  Cache cleared
["INFO" - 16:04:56]  File watcher execution for: /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md.git
["INFO" - 16:04:59]  File watcher execution for: /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md.git
["INFO" - 17:04:05]  Cache cleared
["INFO" - 17:04:08]  Cache cleared
["INFO" - 17:04:12]  File watcher execution for: /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md.git
["INFO" - 17:04:26]  Cache cleared
["INFO" - 17:04:21]  Sending message to dashboard: pages
["INFO" - 17:04:21]  Sending message to dashboard: searchReady
["INFO" - 17:04:21]  Sending message to dashboard: loading
["INFO" - 17:04:21]  Sending message to dashboard: pages
["INFO" - 17:04:21]  Sending message to dashboard: searchReady
["INFO" - 17:04:21]  Sending message to dashboard: pages
["INFO" - 17:04:21]  Sending message to dashboard: searchReady
["INFO" - 17:04:21]  Sending message to dashboard: loading
["INFO" - 17:04:21]  Sending message to dashboard: loading
["INFO" - 17:04:21]  Sending message to dashboard: pages
["INFO" - 17:04:21]  Sending message to dashboard: searchReady
["INFO" - 17:04:21]  Sending message to dashboard: loading
["INFO" - 17:04:45]  File watcher execution for: /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md.git
["INFO" - 17:04:46]  Cache cleared
["INFO" - 17:04:47]  Trigger page update: onDidChangeActiveTextEditor
["INFO" - 17:04:50]  File watcher execution for: /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md.git
["INFO" - 17:04:53]  Cache cleared
["INFO" - 17:04:58]  Trigger page update: onDidChangeActiveTextEditor

Using "Diagnostic Logging" does not lead to more info either:

["INFO" - 17:04:58]  Trigger page update: onDidChangeActiveTextEditor
["INFO" - 17:04:01]  Trigger page update: onDidChangeActiveTextEditor
["INFO" - 17:04:03]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:04]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:06]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:48]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:52]  Trigger page update: onDidChangeActiveTextEditor
["INFO" - 17:04:53]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:54]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:56]  File saved /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md
["INFO" - 17:04:56]  File watcher execution for: /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md
["INFO" - 17:04:56]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:05]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:07]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:08]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:09]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:10]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:10]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:13]  Trigger page update: onDidChangeActiveTextEditor
["INFO" - 17:04:13]  File saved /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md
["INFO" - 17:04:13]  File watcher execution for: /home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog/2024/cloning-all-my-repos-on-a-new-ubuntu-installation/index.md
["INFO" - 17:04:13]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:15]  Trigger page update: onDidChangeTextEditorSelection
["INFO" - 17:04:18]  Trigger page update: onDidChangeTextEditorSelection
@davidsneighbour davidsneighbour added the bug Something isn't working label Apr 28, 2024
@davidsneighbour
Copy link
Author

oops... looked in the wrong place for diagnostic logging:

Project name

kollitsch.dev

Folders

  • Blog Posts: "/home/patrick/github.com/davidsneighbour/kollitsch.dev/content/blog"
  • Tags: "/home/patrick/github.com/davidsneighbour/kollitsch.dev/content/tags"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/aesop/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/aesop/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/auditor/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/auditor/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/debug/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/debug/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/devtools/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/devtools/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/errors/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/errors/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/feeds/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/feeds/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/functions/bin/release/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/functions/bin/release/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/functions/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/functions/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/giscus/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/giscus/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/head/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/head/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/headerimage/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/headerimage/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/hooks/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/hooks/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/icons/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/icons/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/illiad/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/illiad/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/internals/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/internals/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/modder/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/modder/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/netlification/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/netlification/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/opensearch/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/opensearch/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/pictures/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/pictures/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/publisher/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/publisher/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/pwa/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/pwa/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/renderhooks/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/renderhooks/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/robots/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/robots/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/schema/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/schema/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/security/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/security/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/seo/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/seo/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/shortcodes/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/shortcodes/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/sitemap/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/sitemap/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/social/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/social/documentation"
  • Components (/home/patrick/github.com/davidsneighbour/hugo-modules/modules/youtube/documentation): "/home/patrick/github.com/davidsneighbour/hugo-modules/modules/youtube/documentation"

Workspace folder

/home/patrick/github.com/davidsneighbour/kollitsch.dev

Total files

Total files found: 67839

Folders to search files

  • Project start length: 12 | Search in: "content/blog/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 12 | Search in: "content/tags/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 80 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/aesop/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 82 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/auditor/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 80 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/debug/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 83 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/devtools/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 81 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/errors/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 80 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/feeds/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 96 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/functions/bin/release/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 84 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/functions/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 81 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/giscus/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 79 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/head/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 86 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/headerimage/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 80 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/hooks/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 80 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/icons/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 81 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/illiad/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 84 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/internals/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 81 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/modder/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 88 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/netlification/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 85 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/opensearch/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 83 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/pictures/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 84 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/publisher/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 78 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/pwa/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 86 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/renderhooks/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 81 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/robots/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 81 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/schema/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 83 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/security/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 78 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/seo/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 85 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/shortcodes/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 82 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/sitemap/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 81 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/social/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0
  • Project start length: 82 | Search in: "home/patrick/github.com/davidsneighbour/hugo-modules/modules/youtube/documentation/**/." | mdFiles: 0 | mdxFiles: 0 | markdownFiles: 0

Complete frontmatter.json config

{
  "$schema": "https://frontmatter.codes/frontmatter.schema.json",
  "frontMatter.config.dynamicFilePath": "[[workspace]]/frontmatter.config.cjs",
  "frontMatter.site.baseURL": "https://kollitsch.dev/",
  "frontMatter.content.pageFolders": [
    {
      "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json",
      "title": "Blog Posts",
      "path": "[[workspace]]/content/blog",
      "contentTypes": [
        "blog",
        "music2program2",
        "notes-from-the-laboratory"
      ],
      "extended": true
    },
    {
      "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json",
      "title": "Components",
      "path": "[[workspace]]/../hugo-modules/modules/**/documentation",
      "contentTypes": [
        "component"
      ],
      "extended": true
    },
    {
      "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json",
      "title": "Tags",
      "path": "[[workspace]]/content/tags",
      "contentTypes": [
        "tag"
      ],
      "extended": true
    }
  ],
  "frontMatter.content.placeholders": [
    {
      "$schema": "https://frontmatter.codes/config/content.placeholders.schema.json",
      "id": "permalink",
      "value": "/blog/{{year}}/{{slug}}/index.md"
    }
  ],
  "frontMatter.content.snippets": {
    "caption": {
      "$schema": "https://frontmatter.codes/config/content.snippets.schema.json",
      "snippet": "{{< caption \"{mediaUrl}\" \"Description\" >}}",
      "sourcePath": "/home/patrick/github.com/davidsneighbour/kollitsch.dev/.frontmatter/config/content/snippets/caption.json"
    }
  },
  "frontMatter.custom.scripts": [
    {
      "$schema": "https://frontmatter.codes/config/custom.scripts.schema.json",
      "command": "~/.nvm/versions/node/v20.4.0/bin/node",
      "script": "./.frontmatter/scripts/screenshot-header-image.js",
      "title": "Retrieve Screenshot"
    },
    {
      "$schema": "https://frontmatter.codes/config/custom.scripts.schema.json",
      "command": "~/.nvm/versions/node/v20.4.0/bin/node",
      "script": "./.frontmatter/scripts/retrieve-unsplash-header-image-info.mjs",
      "title": "Retrieve Unsplash image"
    },
    {
      "$schema": "https://frontmatter.codes/config/custom.scripts.schema.json",
      "title": "Generate social image for Youtube",
      "script": "./.frontmatter/scripts/create-youtube-header-image.js",
      "command": "~/.nvm/versions/node/v20.9.0/bin/node",
      "type": "content"
    }
  ],
  "frontMatter.data.files": [
    {
      "$schema": "https://frontmatter.codes/config/data.files.schema.json",
      "id": "kurzschnitte",
      "title": "Kurzschnitte",
      "file": "[[workspace]]/data/dnb/kollitsch/kurzschnitte.json",
      "fileType": "json",
      "labelField": "title",
      "singleEntry": false,
      "schema": {
        "title": "Kurzschnitte",
        "type": "object",
        "required": [
          "title",
          "link",
          "slug"
        ],
        "properties": {
          "title": {
            "type": "string",
            "title": "Title"
          },
          "link": {
            "type": "string",
            "title": "Link"
          },
          "description": {
            "type": "string",
            "multiline": true,
            "title": "Description"
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "slug": {
            "type": "string",
            "title": "Kurzschnitt-Post"
          }
        }
      }
    },
    {
      "$schema": "https://frontmatter.codes/config/data.files.schema.json",
      "id": "music2program2",
      "title": "Music to program to",
      "file": "[[workspace]]/data/dnb/kollitsch/music.json",
      "fileType": "json",
      "labelField": "name",
      "schema": {
        "title": "Sponsors",
        "type": "object",
        "required": [
          "name",
          "link",
          "slug"
        ],
        "properties": {
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "link": {
            "type": "string",
            "title": "Link"
          },
          "description": {
            "type": "string",
            "multiline": true,
            "title": "Description"
          },
          "genre": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  ],
  "frontMatter.data.folders": [
    {
      "$schema": "https://frontmatter.codes/config/data.folders.schema.json"
    }
  ],
  "frontMatter.data.types": [
    {
      "$schema": "https://frontmatter.codes/config/data.types.schema.json"
    }
  ],
  "frontMatter.taxonomy.contentTypes": [
    {
      "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
      "name": "blog",
      "previewPath": "yyyy/{{permalink}}",
      "pageBundle": true,
      "filetype": "md",
      "fieldGroup": [
        "resources"
      ],
      "fields": [
        {
          "title": "Title",
          "name": "title",
          "type": "string",
          "single": true
        },
        {
          "title": "Description",
          "name": "description",
          "type": "string"
        },
        {
          "title": "Publishing date",
          "name": "date",
          "type": "datetime",
          "default": "{{now}}",
          "format": "yyyy-MM-dd'T'HH:mm:ssxxx",
          "isPublishDate": true
        },
        {
          "title": "Last modified date",
          "name": "lastmod",
          "type": "datetime",
          "default": "{{now}}",
          "format": "yyyy-MM-dd'T'HH:mm:ssxxx",
          "isModifiedDate": true
        },
        {
          "title": "Draft",
          "name": "draft",
          "type": "draft"
        },
        {
          "title": "Tags",
          "name": "tags",
          "type": "tags"
        },
        {
          "title": "Categories",
          "name": "categories",
          "type": "categories"
        },
        {
          "title": "Resources",
          "name": "resources",
          "type": "block",
          "multiple": true,
          "fieldGroup": [
            "resources"
          ]
        }
      ]
    },
    {
      "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
      "fields": []
    },
    {
      "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
      "name": "default",
      "previewPath": "{{permalink}}",
      "pageBundle": true,
      "fields": [
        {
          "title": "Title",
          "name": "title",
          "type": "string",
          "single": true
        },
        {
          "title": "Description",
          "name": "description",
          "type": "string",
          "single": true
        },
        {
          "title": "Publishing date",
          "name": "date",
          "type": "datetime",
          "default": "{{now}}",
          "format": "yyyy-MM-dd'T'HH:mm:ssxxx",
          "isPublishDate": true
        },
        {
          "title": "Last modified date",
          "name": "lastmod",
          "type": "datetime",
          "default": "{{now}}",
          "format": "yyyy-MM-dd'T'HH:mm:ssxxx",
          "isModifiedDate": true
        },
        {
          "title": "Draft",
          "name": "draft",
          "type": "draft"
        },
        {
          "title": "Tags",
          "name": "tags",
          "type": "tags"
        },
        {
          "title": "Categories",
          "name": "categories",
          "type": "categories"
        },
        {
          "title": "Resources",
          "name": "resources",
          "type": "block",
          "fieldGroup": [
            "resources"
          ]
        }
      ]
    },
    {
      "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
      "fields": []
    },
    {
      "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
      "fields": []
    },
    {
      "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json",
      "fields": []
    }
  ],
  "frontMatter.taxonomy.fieldGroups": [
    {
      "schema": "https://frontmatter.codes/config/taxonomy.fieldgroups.schema.json",
      "id": "author",
      "labelField": "name",
      "fields": [
        {
          "title": "Author Name",
          "name": "name",
          "type": "string",
          "single": true
        },
        {
          "title": "Social link",
          "name": "social",
          "type": "string",
          "single": true
        }
      ]
    },
    {
      "schema": "https://frontmatter.codes/config/taxonomy.fieldgroups.schema.json",
      "id": "resources",
      "labelField": "src",
      "fields": [
        {
          "title": "Path/Filename",
          "name": "src",
          "type": "image",
          "isPreviewImage": true,
          "required": true
        },
        {
          "title": "Title",
          "name": "title",
          "type": "string",
          "single": true
        },
        {
          "title": "Identifier",
          "name": "name",
          "type": "string",
          "single": true
        }
      ]
    }
  ],
  "frontMatter.extends": [
    "https://dnbhub.xyz/frontmatter/settings.global.json"
  ],
  "frontMatter.preview.host": "https://undefined:1313"
}

@project-labels project-labels bot added v10.2.0 Project: v10.2.0 In progress This is actively being worked on labels Apr 29, 2024
estruyf added a commit that referenced this issue Apr 29, 2024
@estruyf
Copy link
Owner

estruyf commented Apr 29, 2024

@davidsneighbour It has to do with the number of folders to process a change, but we have implemented faster logic. Feel free to give it a try in the latest beta version.

@davidsneighbour
Copy link
Author

@estruyf perfect. the processing stopped blocking the editor in the beta version. thanks!

@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 Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working In BETA The current task is available for testing in the BETA version. v10.2.0 Project: v10.2.0
Projects
None yet
Development

No branches or pull requests

2 participants