(file: ChangedFile, category: ChangeCategory)
| 568 | }, [worktreePath, selectFile, onFileSelectProp]); |
| 569 | |
| 570 | const handleFileDoubleClick = (file: ChangedFile, category: ChangeCategory) => { |
| 571 | if (!worktreePath) return; |
| 572 | selectFile(worktreePath, file, category, null); |
| 573 | onFileOpenPinned?.(file, category); |
| 574 | }; |
| 575 | |
| 576 | // Toggle individual file for commit (checkbox) - doesn't affect highlighting |
| 577 | const handleCheckboxChange = useCallback((filePath: string) => { |