Add ⌘F find in transcripts and a TODO filter on the project page

This commit is contained in:
Ian Gulliver
2026-10-23 09:50:35 -07:00
parent fe86916ce6
commit fd0529b949
11 changed files with 434 additions and 34 deletions
+9 -1
View File
@@ -3,7 +3,7 @@ import SwiftUI
typealias WorkflowSummary = Components.Schemas.WorkflowSummary
let goKeys: Set<String> = ["k", "n", "t", "p", "l", "s", "/"]
let goKeys: Set<String> = ["k", "n", "t", "p", "l", "s", "f", "/"]
@MainActor
func runGo(_ key: String, _ store: Store, _ overlays: Overlays) {
@@ -44,6 +44,13 @@ func runGo(_ key: String, _ store: Store, _ overlays: Overlays) {
}
await confirmMerge(taskId, store, overlays)
}
case "f":
overlays.switcher?.close()
if store.paneFocus.inTaskPane {
overlays.findTask += 1
} else if overlays.leftTab == .lead {
overlays.findLead += 1
}
case "/":
overlays.showAlert(ShortcutsHelp())
default:
@@ -83,6 +90,7 @@ private let shortcuts: [(String, [(String, String)])] = [
("⌘P", "Show the current project's dashboard"),
("⌘L", "Open the Lead tab and its composer, closing any view opened over a pane"),
("⌘S", "Merge the right pane's task, or discard it when the agent suggests discarding or there is nothing to merge"),
("⌘F", "Find in the transcript of the pane you're in, or filter the TODO items on a project's page"),
("⌘[ ⌘]", "Bring the previous or next server's window forward"),
("⌘/", "Show these shortcuts"),
("Esc", "Close the switcher, a dialog, or a view opened over a pane"),