From c49d3ef00fbfdf511bb3776712dfa4ec7d11fcbf Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Thu, 26 Mar 2026 17:13:22 +0100 Subject: [PATCH] fix: update taxonomy settings retrieval in TaxonomyListener #1017 --- CHANGELOG.md | 8 +++----- src/listeners/panel/TaxonomyListener.ts | 5 +++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47901a47..0cbf7995 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## [10.10.0] - 2025-xx-xx +## [10.10.0] - 2026-xx-xx - Removed the chatbot command and all related code and references - [#983](https://github.com/estruyf/vscode-front-matter/issues/983): Removal of the `frontMatter.sponsors.ai.enabled` features @@ -12,22 +12,20 @@ - [#973](https://github.com/estruyf/vscode-front-matter/issues/973): Support for number fields in the snippets - [#990](https://github.com/estruyf/vscode-front-matter/issues/990): Schema and validation for front matter in markdown files. It can be turned off by the `frontMatter.validation.enabled` setting. - [#1005](https://github.com/estruyf/vscode-front-matter/issues/1005): Support the integrated VSCode browser for the preview command +- [#1017](https://github.com/estruyf/vscode-front-matter/issues/1017): Allow adding new values for custom taxonomy fields ### 🐞 Fixes - [#950](https://github.com/estruyf/vscode-front-matter/issues/950): Fix for template is not applied to new content type when created - [#958](https://github.com/estruyf/vscode-front-matter/issues/958): Fix variable frontmatter leads to error - [#964](https://github.com/estruyf/vscode-front-matter/issues/964): Fix settings page for dark themes +- [#969](https://github.com/estruyf/vscode-front-matter/issues/969): Fix typo on welcome screen - [#972](https://github.com/estruyf/vscode-front-matter/issues/972): Fix content view sorting for Modified Date not working as expected - [#979](https://github.com/estruyf/vscode-front-matter/issues/979): Fix unwanted automatic updates in the publishDate field of TOML front matter - [#984](https://github.com/estruyf/vscode-front-matter/issues/984): Fix in `frontMatter.global.timezone` is invalid - [#1004](https://github.com/estruyf/vscode-front-matter/issues/1004): Fix for `mediaDB.json` containing full paths on Windows instead of relative paths - [#1006](https://github.com/estruyf/vscode-front-matter/issues/1006): Fix output channel colorizer schema to only apply to the Front Matter output channel -### 🐞 Fixes - -- [#969](https://github.com/estruyf/vscode-front-matter/issues/969): Fix typo on welcome screen - ## [10.9.0] - 2025-07-01 - [Release notes](https://beta.frontmatter.codes/updates/v10.9.0) ### 🎨 Enhancements diff --git a/src/listeners/panel/TaxonomyListener.ts b/src/listeners/panel/TaxonomyListener.ts index cc5b59ae..65b92935 100644 --- a/src/listeners/panel/TaxonomyListener.ts +++ b/src/listeners/panel/TaxonomyListener.ts @@ -5,6 +5,8 @@ import { authentication, window } from 'vscode'; import { ArticleHelper, Extension, Settings, TaxonomyHelper } from '../../helpers'; import { BlockFieldData, CustomTaxonomyData, PostMessageData, TaxonomyType } from '../../models'; import { DataListener } from '.'; +import { SettingsListener as PanelSettingsListener } from '.'; +import { SettingsListener as DashboardSettingsListener } from '../dashboard'; import { SponsorAi } from '../../services/SponsorAI'; import { PanelProvider } from '../../panelWebView/PanelProvider'; import { MessageHandlerData } from '@estruyf/vscode'; @@ -279,6 +281,9 @@ export class TaxonomyListener extends BaseListener { } await Settings.updateCustomTaxonomy(data.id, data.option); + + PanelSettingsListener.getSettings(); + DashboardSettingsListener.getSettings(true); } /**