From d0527baae2b8a76f2d2ee184b689f8febbce99ae Mon Sep 17 00:00:00 2001 From: Nour Date: Sat, 27 Sep 2025 18:52:35 +0100 Subject: [PATCH] feat: enhance node settings management and auto-enhancement functionality MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 🔧 Introduced settings synchronization for enabling/disabling the extension. - 🚀 Improved auto-enhancement logic to respect the global enable setting. - 🛠️ Added methods for handling setting changes and updating UI accordingly. --- .github/copilot-instructions.md | 1 + frontend/src/extensions/NodeEnhancer.ts | 13 +- .../src/extensions/NodeEnhancerExtension.ts | 417 ++++++++++++++++-- web/extension.js | 373 ++++++++++++++-- web/extension.js.map | 2 +- 5 files changed, 733 insertions(+), 73 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index e7d7bd9..f689e37 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -26,6 +26,7 @@ ## Dev workflow - Frontend: `cd frontend`, `bun install`, `bun run dev` for hot reload, `bun run build` (outputs to `../web`), `bun run type-check` for strict TS. +- Quick shortcut: use `bun run --cwd ./frontend