From 2eabe7e5ef4a28804b810e16d70a0bb8f86c61c6 Mon Sep 17 00:00:00 2001 From: zs Date: Tue, 3 Mar 2026 02:21:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=89=A9=E5=B1=95=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extension/src/content/Sidebar.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/extension/src/content/Sidebar.vue b/extension/src/content/Sidebar.vue index 6f9c257..73daa6b 100644 --- a/extension/src/content/Sidebar.vue +++ b/extension/src/content/Sidebar.vue @@ -15,6 +15,19 @@ const props = defineProps<{ }>() const isVisible = ref(false) // Start hidden, wait for trigger +const selectedStrategy = ref('Insightful') +const generatedReplies = ref>([]) +const isGenerating = ref(false) + +const defaultStrategies = [ + { id: 'Insightful', label: 'Cognitive Lift', icon: '' }, + { id: 'Humorous', label: 'Witty & Fun', icon: '' }, + { id: 'Professional', label: 'Pro Rigor', icon: '' }, + { id: 'Supportive', label: 'Empathetic', icon: '' }, + { id: 'Critical', label: 'Sharp Critique', icon: '' }, +] + +const strategies = ref([...defaultStrategies]) onMounted(() => { // Listen for toggle messages directly in the component