From 90006438b0479db872de650c6006eea5a241f3af Mon Sep 17 00:00:00 2001 From: Mohamed Sedki YOUZBECHI Date: Thu, 8 Jan 2026 11:25:32 +0100 Subject: [PATCH 1/7] fix: initialize prompt details webview with empty state on load --- src/ui/promptDetailsWebview.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/promptDetailsWebview.ts b/src/ui/promptDetailsWebview.ts index 6ee2f9e..5cb4851 100644 --- a/src/ui/promptDetailsWebview.ts +++ b/src/ui/promptDetailsWebview.ts @@ -325,7 +325,7 @@ export class PromptDetailsWebviewProvider implements vscode.WebviewViewProvider
-
+
📝

No Prompt Selected

Select a prompt from the tree view to view its details and content.

@@ -537,6 +537,9 @@ export class PromptDetailsWebviewProvider implements vscode.WebviewViewProvider break; } }); + + // Initialize with empty state on load + clearPrompt(); `; From 1df27d384651cb8b529d423c809a2e076cf923e7 Mon Sep 17 00:00:00 2001 From: Mohamed Sedki YOUZBECHI Date: Thu, 8 Jan 2026 11:42:31 +0100 Subject: [PATCH 2/7] fix: make prompt content read-only and hide empty state when prompt selected --- src/ui/promptDetailsWebview.ts | 53 +++------------------------------- 1 file changed, 4 insertions(+), 49 deletions(-) diff --git a/src/ui/promptDetailsWebview.ts b/src/ui/promptDetailsWebview.ts index 5cb4851..7971f7e 100644 --- a/src/ui/promptDetailsWebview.ts +++ b/src/ui/promptDetailsWebview.ts @@ -353,21 +353,11 @@ export class PromptDetailsWebviewProvider implements vscode.WebviewViewProvider

Content

-
- - -
-
-
+ +
-