From 8ca09b1616077f14599c5938c3e50c91300a2ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=A4=A7=E7=8C=AB?= <16399091+binaricat@users.noreply.github.com> Date: Tue, 21 Apr 2026 22:36:52 +0800 Subject: [PATCH] Add right-click Edit/Delete to sidepanel snippets (#780) (#787) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The terminal-side ScriptsSidePanel was the surface the #780 reporter was actually looking at when they asked for right-click delete/modify on snippets. PR #783 closed the issue by adding a trash icon in the Vault edit panel, but the sidepanel snippet rows were still plain + + + + + + handleEditSnippet(s)}> + {t('action.edit')} + + handleDeleteSnippet(s.id)} + > + {t('action.delete')} + + + ))} {hasAnyContent && displayedSnippets.length === 0 && filteredPackages.length === 0 && search.trim() && (