agent-ecosystem/src/renderer/hooks
iliya a6fc7f82d3 feat: tool approval improvements — diff preview, error feedback, provisioning fix
- Add diff preview for Write/Edit tools: reads current file via new IPC
  (TEAM_TOOL_APPROVAL_READ_FILE), shows unified diff using existing DiffViewer
- Fix Allow button doing nothing: re-throw errors from store instead of
  silently swallowing, show error message in UI, add 10s safety timeout
- Fix "No active process" during provisioning: use getTrackedRunId() to
  find process in both provisioning and alive maps
- Add 5s stdin.write timeout to prevent hanging when process dies
- Add syntax highlighting for tool input preview (JSON, bash, etc.)
- Add team color/name badge from ToolApprovalRequest (works during provisioning)
- Conditionally show team badge only when user is on a different team page
- Format elapsed time as Xm Ys when over 60 seconds
- Replace native <select> with Radix UI Select in settings panel
2026-03-20 18:41:01 +02:00
..
navigation Initialize project structure with essential configuration files including .editorconfig, .gitattributes, .gitignore, and TypeScript settings. Add build and linting configurations, along with README, LICENSE, and contribution guidelines. Set up Tailwind CSS and ESLint for styling and code quality. Include initial package.json and pnpm workspace configuration for dependency management. 2026-02-11 15:52:00 +09:00
useAttachments.ts feat: enhance file path validation and member stats computation 2026-03-06 13:00:08 +02:00
useAutoScrollBottom.ts fix: reliable window drag region in tab bar 2026-02-22 19:13:14 -05:00
useBranchSync.ts feat: add FAQ section to README and improve cross-platform handling in code 2026-03-02 22:56:56 +02:00
useChipDraftPersistence.ts fix: resolve all CI lint errors and flaky test 2026-03-05 21:09:45 +02:00
useCliInstaller.ts fix: enhance CLI installer and session management 2026-02-27 12:56:32 +02:00
useCollapsedGroups.ts feat: add strip-markdown dependency and integrate markdown stripping in notifications 2026-03-06 20:31:14 +02:00
useComposerDraft.ts style: auto-fix import/export sorting and formatting 2026-03-16 20:48:42 +02:00
useContinuousScrollNav.ts feat: enhance diff view with continuous scroll and lazy loading 2026-02-25 15:39:14 +02:00
useDiffNavigation.ts fix: resolve 245 eslint errors across 12 files 2026-03-04 01:03:45 +02:00
useDraftPersistence.ts fix: resolve all CI lint errors and flaky test 2026-03-05 21:09:45 +02:00
useEditorKeyboardShortcuts.ts feat: enhance editor file handling and task management features 2026-03-02 20:08:03 +02:00
useExtensionsTabState.ts feat: add skills management features and integrate skills API 2026-03-11 21:46:56 +02:00
useFileListCacheWarmer.ts feat: implement team member replacement functionality and enhance file search caching 2026-03-03 00:56:58 +02:00
useFileSuggestions.ts fix: reset notification dismissal on team relaunch 2026-03-10 20:44:04 +02:00
useFullScreen.ts feat: implement fullscreen functionality and related IPC communication 2026-02-22 23:36:11 +02:00
useKeyboardShortcuts.ts feat: enhance README and add detailed diff view implementation plan 2026-03-05 00:11:08 +02:00
useLazyFileContent.ts feat: enhance diff view with continuous scroll and lazy loading 2026-02-25 15:39:14 +02:00
useMarkCommentsRead.ts refactor: reorganize task completion notifications in settings 2026-03-15 14:40:48 +02:00
useMarkdownScrollSync.ts feat: add Radix UI Alert Dialog component and enhance SkillImportService 2026-03-12 11:53:40 +02:00
useMemberStats.ts feat: integrate CLI installer service and UI components 2026-02-26 17:58:51 +02:00
useMentionDetection.ts style: auto-fix import/export sorting and formatting 2026-03-16 20:48:42 +02:00
usePersistedGridLayout.ts refactor: improve KanbanGridLayout with loading state and layout persistence enhancements 2026-03-11 19:06:59 +02:00
useResizableColumns.ts fix: resolve all CI lint errors and flaky test 2026-03-05 21:09:45 +02:00
useResizablePanel.ts feat: enhance error handling and reporting in ErrorBoundary component 2026-03-11 13:28:44 +02:00
useStableTeamMentionMeta.ts refactor: improve ActivityTimeline and team mention entry sorting 2026-03-14 12:21:31 +02:00
useTabNavigationController.ts Initialize project structure with essential configuration files including .editorconfig, .gitattributes, .gitignore, and TypeScript settings. Add build and linting configurations, along with README, LICENSE, and contribution guidelines. Set up Tailwind CSS and ESLint for styling and code quality. Include initial package.json and pnpm workspace configuration for dependency management. 2026-02-11 15:52:00 +09:00
useTabUI.ts Initialize project structure with essential configuration files including .editorconfig, .gitattributes, .gitignore, and TypeScript settings. Add build and linting configurations, along with README, LICENSE, and contribution guidelines. Set up Tailwind CSS and ESLint for styling and code quality. Include initial package.json and pnpm workspace configuration for dependency management. 2026-02-11 15:52:00 +09:00
useTaskLocalState.ts feat: enhance GlobalTaskList with archived task handling and renaming improvements 2026-03-04 16:22:07 +02:00
useTaskSuggestions.ts feat: improve task reference handling and enhance UI components 2026-03-11 14:18:43 +02:00
useTeamMessagesExpanded.ts feat: add effort level management to team provisioning and dialogs 2026-03-06 21:28:12 +02:00
useTeamMessagesRead.ts feat: enhance notifications and task management features 2026-02-24 20:29:41 +02:00
useTeamSuggestions.ts feat: enhance API key management and GitHub stars integration 2026-03-10 20:05:04 +02:00
useTheme.ts feat: enhance notification management and team messaging functionality 2026-03-07 13:44:07 +02:00
useToolApprovalDiff.ts feat: tool approval improvements — diff preview, error feedback, provisioning fix 2026-03-20 18:41:01 +02:00
useUnreadCommentCount.ts feat: add task commenting functionality and enhance UI interactions 2026-02-22 23:36:11 +02:00
useViewedFiles.ts feat: implement diff view with 4 phases — review, accept/reject, task scoping, enhanced UX 2026-02-24 23:39:41 +02:00
useViewportCommentRead.ts feat: enhance review approval process and notification handling 2026-03-15 19:27:59 +02:00
useViewportObserver.ts feat: enhance review approval process and notification handling 2026-03-15 19:27:59 +02:00
useVisibleAIGroup.ts Initialize project structure with essential configuration files including .editorconfig, .gitattributes, .gitignore, and TypeScript settings. Add build and linting configurations, along with README, LICENSE, and contribution guidelines. Set up Tailwind CSS and ESLint for styling and code quality. Include initial package.json and pnpm workspace configuration for dependency management. 2026-02-11 15:52:00 +09:00
useVisibleFileSection.ts feat: enhance diff view with continuous scroll and lazy loading 2026-02-25 15:39:14 +02:00
useZoomFactor.ts feat(http): implement HTTP server and route handlers for configuration, notifications, projects, sessions, and SSH management 2026-02-12 15:04:56 +09:00