ed4ce861a751

reset trash-confirm and inline edits on entry change so prompts don't persist across selection; bump 2.6.3

time
2026-04-28 00:11 UTC · 6 months ago
machine
koh2
parent
1306d91f5d4a
4 files manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/popup/views/Entry.tsx+9 −0
manifest.firefox.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach",4-  "version": "2.6.2",4+  "version": "2.6.3",55   "description": "Zero-knowledge password manager",66   "browser_specific_settings": {77     "gecko": {

view file

manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach",4-  "version": "2.6.2",4+  "version": "2.6.3",55   "description": "Zero-knowledge password manager",66   "action": {77     "default_popup": "src/popup/index.html",

view file

package.json+1 −1
@@ -1,6 +1,6 @@11 {22   "name": "peach",3-  "version": "2.6.2",3+  "version": "2.6.3",44   "description": "Zero-knowledge password manager",55   "type": "module",66   "scripts": {

view file

src/popup/views/Entry.tsx+9 −0
@@ -79,6 +79,15 @@7979     setFaviconSrc(domain ? faviconUrl(domain) : null);8080   });8181 82+  // Reset transient prompts (trash confirmation, inline edits) when the83+  // selected entry changes so they don't carry over between entries.84+  createEffect(() => {85+    void props.entry?.id;86+    setConfirmDelete(false);87+    setEditingField(null);88+    setEditingTags(false);89+  });90+8291   const totpState = createMemo(() => {8392     void totpTick();8493     if (!props.entry?.totp) return null;

view file