agent-ecosystem/src/renderer/hooks
iliya e1585b4f71 feat: add binary file preview functionality and improve editor performance
- Introduced a new IPC handler for reading binary files as base64 for inline previews, enhancing the editor's capability to display images directly.
- Implemented a placeholder component for non-previewable binary files, providing users with file information and an option to open in the system viewer.
- Enhanced the EditorFileWatcher to ignore permission errors and adjusted debounce timing for better performance during file system events.
- Updated the ProjectFileService to include a method for reading binary previews with security checks and MIME type validation.
- Improved the EditorImagePreview component to handle loading states and display images with a checkerboard background for transparency.
- Refactored the EditorBinaryState component to utilize the new binary preview functionality, streamlining the display of binary files.
2026-03-01 23:51:51 +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: add/remove member, mesage box, improve ui... 2026-02-24 20:29:41 +02:00
useAutoScrollBottom.ts fix: reliable window drag region in tab bar 2026-02-22 19:13:14 -05:00
useChipDraftPersistence.ts feat: add binary file preview functionality and improve editor performance 2026-03-01 23:51:51 +02:00
useCliInstaller.ts fix: enhance CLI installer and session management 2026-02-27 12:56:32 +02:00
useContinuousScrollNav.ts feat: enhance diff view with continuous scroll and lazy loading 2026-02-25 15:39:14 +02:00
useDiffNavigation.ts feat: enhance team name validation and UI interactions 2026-03-01 19:41:19 +02:00
useDraftPersistence.ts feat: enhance team member management with color coding and improved prompts 2026-02-22 23:36:11 +02:00
useEditorKeyboardShortcuts.ts feat: optimize file handling and component performance in editor 2026-03-01 22:54:10 +02:00
useFullScreen.ts feat: implement fullscreen functionality and related IPC communication 2026-02-22 23:36:11 +02:00
useKeyboardShortcuts.ts feat: enhance file icon handling and keyboard shortcuts 2026-03-01 14:24:24 +02:00
useLazyFileContent.ts feat: enhance diff view with continuous scroll and lazy loading 2026-02-25 15:39:14 +02:00
useMarkCommentsRead.ts feat: add task commenting functionality and enhance UI interactions 2026-02-22 23:36:11 +02:00
useMemberStats.ts feat: integrate CLI installer service and UI components 2026-02-26 17:58:51 +02:00
useMentionDetection.ts feat: alot, code highlight, related tasks, group by project and other 2026-02-23 20:06:08 +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
useTeamMessagesRead.ts feat: enhance notifications and task management features 2026-02-24 20:29:41 +02:00
useTheme.ts feat: enhance project editor with new error boundary and file handling improvements 2026-02-28 17:55:21 +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
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