Skip to content

Commit 08b0ac4

Browse files
committed
Speed up sidebar animations and fix Claude hooks config
- Sidebar toggle: 0.12s easeOut (was system default ~0.25s) - Refresh progress bar: 0.08s (was 0.15s) - Remove invalid PermissionResponse hook event (not in Claude Code schema)
1 parent 127807f commit 08b0ac4

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

macos/Sources/Features/Terminal/TerminalWorkspaceView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ struct TerminalWorkspaceView<ViewModel: TerminalViewModel>: View {
6666
mainDetailView
6767
}
6868
}
69+
.animation(.easeOut(duration: 0.12), value: worktrunkSidebarState.columnVisibility)
6970
}
7071

7172
@ViewBuilder

macos/Sources/Features/Worktrunk/AgentStatus/AgentHookInstaller.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,6 @@ enum AgentHookInstaller {
159159
"PermissionRequest": [
160160
["matcher": "*", "hooks": [["type": "command", "command": command]]],
161161
],
162-
"PermissionResponse": [
163-
["hooks": [["type": "command", "command": command]]],
164-
],
165162
"SessionEnd": [
166163
["hooks": [["type": "command", "command": command]]],
167164
],

macos/Sources/Features/Worktrunk/WorktrunkSidebarView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct WorktrunkSidebarView: View {
9595
}
9696
}
9797
.frame(minWidth: 240, idealWidth: 280)
98-
.animation(.easeInOut(duration: 0.15), value: store.isRefreshing)
98+
.animation(.easeOut(duration: 0.08), value: store.isRefreshing)
9999
.sheet(item: $createSheetRepo) { repo in
100100
CreateWorktreeSheet(
101101
store: store,

0 commit comments

Comments
 (0)