adds schema view and schema generating command

This commit is contained in:
2026-11-03 09:35:41 +01:00
parent cc41decccb
commit 600d4874d2
62 changed files with 4416 additions and 105 deletions
@@ -5,14 +5,14 @@ import HelderCore
import Testing
@Suite struct ShortcutCatalogTests {
@Test func theGroupsAreNavigateAgentGitFileInThatOrder() {
#expect(ShortcutCatalog.groups.map(\.title) == ["Navigate", "Agent", "Git", "File"])
@Test func theGroupsAreNavigateAgentGitSchemaFileInThatOrder() {
#expect(ShortcutCatalog.groups.map(\.title) == ["Navigate", "Agent", "Git", "Schema", "File"])
}
@Test func everyShortcutTheAppHandlesIsListed() {
let listed = Set(ShortcutCatalog.groups.flatMap(\.rows).map { $0.keys.joined() })
let handled = ["⌘F", "⌘↑↓", "↵", "⌘←→", "↑↓", "⇧⌘O", "⌘O", "⌘→", "⌘P",
"⌘C", "⌘↵", "⌘G", "⌘M", "⌘S", "⌘.", "⌘A", "⌘L", "Esc",
"⌘C", "⌘↵", "⌘G", "⌘D", "⌘M", "⌘S", "⌘.", "⌘A", "⌘L", "Esc",
"⌘W", "⌘R", "⇧⌘N", "?", "⌘click", "⌘0", "⌘+", "⌘−", "⌘1", "⌘2", "⌘3"]
#expect(Set(handled).subtracting(listed).isEmpty)
}