From ba1a5cc7e021e7dfa9ab79b5bc433c4ce52d97fb Mon Sep 17 00:00:00 2001 From: Research Assistant Date: Sat, 9 May 2026 23:13:02 +0800 Subject: [PATCH] revert: remove formal-library deprecation console.warn from plugin --- paperforge/plugin/main.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/paperforge/plugin/main.js b/paperforge/plugin/main.js index abe5ee88..3d25c0d9 100644 --- a/paperforge/plugin/main.js +++ b/paperforge/plugin/main.js @@ -386,11 +386,6 @@ class PaperForgeStatusView extends ItemView { } _fallbackFetchStats(quiet, vp, plugin) { - if (!this._fallbackWarned) { - console.warn('[PaperForge] formal-library.json fallback is deprecated. ' + - 'Ensure `paperforge status --json` is available for accurate dashboard data.'); - this._fallbackWarned = true; - } const systemDir = plugin?.settings?.system_dir || 'System'; const indexPath = path.join(vp, systemDir, 'PaperForge', 'indexes', 'formal-library.json'); @@ -499,11 +494,6 @@ class PaperForgeStatusView extends ItemView { /* ── Index Loading (D-11, D-17, D-19) ── */ _loadIndex() { - if (!this._fallbackWarned) { - console.warn('[PaperForge] formal-library.json fallback is deprecated. ' + - 'Ensure `paperforge status --json` is available for accurate dashboard data.'); - this._fallbackWarned = true; - } const vp = this.app.vault.adapter.basePath; const plugin = this.app.plugins.plugins['paperforge']; const systemDir = plugin?.settings?.system_dir || 'System';