From 451c4ddeb78975028b85f8976c39c258ce43c518 Mon Sep 17 00:00:00 2001 From: Adnan9-63 Date: Thu, 29 Oct 2026 21:28:47 +0530 Subject: [PATCH] chore(packaging): update .vscodeignore and add CSP to sidebar webview (Closes #29) --- .vscodeignore | 4 ++++ CHANGELOG.md | 1 + media/sidebar.html | 1 + tests/sidebar.test.js | 16 ++++++++++++++++ 4 files changed, 22 insertions(+) diff --git a/.vscodeignore b/.vscodeignore index 682b1e7..8e0d2ad 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -2,4 +2,8 @@ node_modules/** *.vsix CONTRIBUTING.md +CODE_OF_CONDUCT.md .gitignore +.github/** +scripts/** +tests/** diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e24457..d71742a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ Format based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Dispose previous Sidebar webview message listener on view reopen to prevent memory leaks (Fixes #30). - Add configurable Weekend Streak Protection (codecritter.weekendStreakProtection) to protect streaks over Saturday and Sunday (Fixes #31). - Clean up corrupted Unicode Mojibake artifacts in media/sidebar.html (Fixes #28). +- Update .vscodeignore to exclude internal scripts/tests/CI and add Content-Security-Policy to sidebar webview (Fixes #29). --- diff --git a/media/sidebar.html b/media/sidebar.html index 337164c..aa5dab1 100644 --- a/media/sidebar.html +++ b/media/sidebar.html @@ -3,6 +3,7 @@ +