From fa4c23a4ce9504f052f52475e2b368c5fb3de75c Mon Sep 17 00:00:00 2001 From: momenbasel Date: Thu, 8 Oct 2026 04:11:34 +0300 Subject: [PATCH] Rename a Pinboard by double-clicking its tab Rename only lived in the tab's context menu, which is why #100 reports there is no way to rename at all. A double-click on a pinboard tab now opens the same prompt, and the tab carries a tooltip naming both routes. Fixes #100. --- Sources/Pesty/UI/PinboardTabs.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/Pesty/UI/PinboardTabs.swift b/Sources/Pesty/UI/PinboardTabs.swift index a8f458b..164a4e1 100644 --- a/Sources/Pesty/UI/PinboardTabs.swift +++ b/Sources/Pesty/UI/PinboardTabs.swift @@ -19,6 +19,9 @@ struct PinboardTabs: View { selected: store.source == .pinboard(board.id)) { store.source = .pinboard(board.id); store.selectFirst() } + // Rename lived only in the context menu, which nobody found (#100). + .simultaneousGesture(TapGesture(count: 2).onEnded { rename(board) }) + .help("Double-click or right-click to rename") .contextMenu { Button("Rename…") { rename(board) } Button("Delete Pinboard", role: .destructive) {