summaryrefslogtreecommitdiff
path: root/Hutch/App/HutchIntents.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-07-16 11:17:45 -0500
committerChristian Cleberg <[email protected]>2026-07-16 11:17:45 -0500
commitf3c70e04148c57dcafead89b4e02b83e5f5635f8 (patch)
tree045a1fdae07833f2795b8a7c07161b2ddad0d23a /Hutch/App/HutchIntents.swift
parentd73c6ac381baac0ae8b0d5dfc551165591115905 (diff)
downloadhutch-f3c70e04148c57dcafead89b4e02b83e5f5635f8.tar.gz
hutch-f3c70e04148c57dcafead89b4e02b83e5f5635f8.tar.bz2
hutch-f3c70e04148c57dcafead89b4e02b83e5f5635f8.zip
chore: track the two HutchIntents TODOs in the roadmap (S1135)
SearchHutchIntent's route-to-Lookup stopgap and the absent OpenSavedSearchIntent are both gated on a global search/persistence layer Hutch lacks. Promote both to ROADMAP § "App Intent gaps" and replace the inline TODOs with plain references, clearing those two S1135 issues without losing the design intent.
Diffstat (limited to 'Hutch/App/HutchIntents.swift')
-rw-r--r--Hutch/App/HutchIntents.swift6
1 files changed, 4 insertions, 2 deletions
diff --git a/Hutch/App/HutchIntents.swift b/Hutch/App/HutchIntents.swift
index c2f144a..947ec04 100644
--- a/Hutch/App/HutchIntents.swift
+++ b/Hutch/App/HutchIntents.swift
@@ -134,7 +134,8 @@ struct SearchHutchIntent: AppIntent {
var route: HutchRoute {
let normalized = query.trimmingCharacters(in: .whitespacesAndNewlines)
- // TODO: Route to global local search once Hutch has one.
+ // Routes to Lookup for now; repoint at a global content search when Hutch
+ // gains one — tracked in ROADMAP.md § "App Intent gaps".
return normalized.isEmpty ? .lookup : .search(query: normalized)
}
@@ -145,7 +146,8 @@ struct SearchHutchIntent: AppIntent {
}
}
-// TODO: Add OpenSavedSearchIntent when Hutch has global saved-search persistence.
+// An OpenSavedSearchIntent belongs here once Hutch has global saved-search
+// persistence — tracked in ROADMAP.md § "App Intent gaps".
// MARK: - App Entities