From 2076b05d9082e9413213c0d01574e040fbe44f71 Mon Sep 17 00:00:00 2001 From: Noam Zaks Date: Sun, 23 Jun 2024 17:35:04 +0300 Subject: [PATCH] Persist webview preview through vscode restarts (#300) * feat: persist webview preview through vscode restarts * make sure code works without VSCODE_STATE * Apply suggestions from code review * Comment backtick replacement * Use base64 to solve security stuff * fix: minor fix about non-ascii characters --------- Co-authored-by: mgt --- addons/frontend/index.html | 18 ++++++++++++++ addons/frontend/src/main.js | 4 ++++ addons/vscode/package.json | 4 +++- addons/vscode/src/extension.ts | 43 +++++++++++++++++++++++++++++++--- 4 files changed, 65 insertions(+), 4 deletions(-) diff --git a/addons/frontend/index.html b/addons/frontend/index.html index d1bac96..b3302eb 100644 --- a/addons/frontend/index.html +++ b/addons/frontend/index.html @@ -15,6 +15,24 @@