Commit Graph
25 Commits
Author SHA1 Message Date
LAPTOP-O016UC3M\Qi Chen 47ee220be7 feat: enhance SFTP transfer functionality with progress tracking and cancellation support
- Added helper functions to format transfer bytes and speed for better UI representation.
- Improved TransferItem component to display bytes transferred and remaining time.
- Implemented streaming transfer with real-time progress updates and cancellation capability in the Electron main process.
- Introduced IPC handlers for file operations including delete, rename, and stat for both SFTP and local filesystems.
- Updated preload script to handle transfer progress, completion, and error events.
- Enhanced global type definitions to support new streaming transfer API.
- Modified CSS animations for a smoother progress indication.
2025-12-08 21:03:31 +08:00
LAPTOP-O016UC3M\Qi Chen 0616ae9b23 fix(TerminalLayer): remove unnecessary whitespace for improved readability 2025-12-08 20:13:03 +08:00
LAPTOP-O016UC3M\Qi Chen 649fadb0c2 refactor(Terminal): enhance session management and memoization
- Updated Terminal component to use memoization for performance optimization.
- Modified onStatusChange and onCloseSession props to include sessionId for better session tracking.
- Refactored TerminalLayer to utilize stable callback references for session management functions.
- Cleaned up unnecessary whitespace in TerminalLayer and TopTabs components.
- Adjusted index.tsx to improve rendering performance by removing React.StrictMode.
2025-12-08 20:12:53 +08:00
LAPTOP-O016UC3M\Qi Chen c29fc418f9 Refactor state management for active tabs and optimize component rendering
- Introduced `activeTabStore` to manage active tab state with fine-grained subscriptions.
- Replaced direct prop passing of `isActive` with hooks (`useIsVaultActive`, `useIsSftpActive`) in components to determine active state.
- Memoized components (e.g., `SftpView`, `VaultView`, `TerminalLayer`, `TopTabs`) to prevent unnecessary re-renders.
- Updated various components to use `useCallback` and `useMemo` for stable references and performance improvements.
- Removed redundant state and props, simplifying the component structure.
- Disabled React.StrictMode in index.tsx for performance testing.
2025-12-08 20:08:52 +08:00
LAPTOP-O016UC3M\Qi Chen 06d4572aa0 Implement feature X to enhance user experience and fix bug Y in module Z 2025-12-08 18:32:13 +08:00
LAPTOP-O016UC3M\Qi Chen c344a32e1a Refactor code structure for improved readability and maintainability 2025-12-08 18:32:06 +08:00
LAPTOP-O016UC3M\Qi Chen 819c653820 fix: Clean up whitespace in TopTabs component for improved readability 2025-12-08 17:45:25 +08:00
LAPTOP-O016UC3M\Qi Chen eb3c84700c feat: Implement tab reordering functionality in TopTabs component 2025-12-08 17:45:21 +08:00
LAPTOP-O016UC3M\Qi Chen 562263d768 fix: Adjust formatting in QuickSwitcher component for improved readability 2025-12-08 17:27:26 +08:00
LAPTOP-O016UC3M\Qi Chen 7f63a2c98c fix: Remove unsupported 'Serial' action from QuickSwitcher and adjust layout for better responsiveness 2025-12-08 17:27:17 +08:00
LAPTOP-O016UC3M\Qi Chen b3ae698050 fix: Clean up formatting in App and QuickSwitcher components for improved readability 2025-12-08 16:46:58 +08:00
LAPTOP-O016UC3M\Qi Chen 1559dcd85c feat: Enhance QuickSwitcher with workspace and session management features 2025-12-08 16:46:53 +08:00
LAPTOP-O016UC3M\Qi Chen 3c165f785b fix: Remove unnecessary blank lines in TerminalComponent for cleaner code 2025-12-08 16:15:10 +08:00
LAPTOP-O016UC3M\Qi Chen 8b40c8edce feat: Implement custom window controls and theme management for Electron app 2025-12-08 16:15:05 +08:00
bincxz 885d837fda feat: Implement agents architecture and core functionality
- Added agents overview documentation outlining the project structure and roles.
- Implemented `useSessionState` for managing terminal sessions and workspaces.
- Developed `useSettingsState` for handling user settings and theme management.
- Created `useVaultState` for managing hosts, SSH keys, snippets, and custom groups.
- Introduced domain logic for host normalization and sanitization.
- Defined models for Host, SSHKey, Snippet, TerminalSession, and Workspace.
- Implemented workspace management functions including creation, insertion, and pruning.
- Established local storage adapter for persistent data management.
- Integrated Gemini AI service for terminal simulation and command generation.
- Developed sync service for backing up and restoring configuration to/from GitHub Gists.
2025-12-08 01:29:49 +08:00
bincxz 39d926065b feat: Refactor TerminalLayer to remove focused session state and enhance workspace pane styling 2025-12-08 00:56:48 +08:00
bincxz 747e53526c feat: Enhance context menu rendering with dedicated portal and improve primary foreground color 2025-12-08 00:01:58 +08:00
bincxz 1de171cf51 feat: Add local terminal support and optimize terminal session management 2025-12-07 23:19:45 +08:00
bincxz 59aa2f564b feat: implement TopTabs and VaultView components with session and workspace management
- Added TopTabs component for managing terminal sessions and workspaces.
- Integrated drag-and-drop functionality for session organization.
- Created VaultView component for managing hosts, SSH keys, snippets, and port forwarding.
- Implemented group management for hosts with the ability to create, delete, and move groups.
- Added initial data for hosts and snippets in defaultData.ts.
- Defined storage keys for persistent data management in storageKeys.ts.
2025-12-07 22:57:54 +08:00
bincxz e69335c804 feat: Add workspace rename function and optimize theme color settings 2025-12-07 21:10:03 +08:00
bincxz d7dac0455e feat: Update the context menu style to enhance visibility and interactivity 2025-12-07 20:30:32 +08:00
bincxz 0782b994ca feat: add close button to workspace pane 2025-12-07 18:28:22 +08:00
bincxz ae5fa0b6a5 feat: add in workspace property 2025-12-07 18:11:22 +08:00
bincxz 65b6074b59 feat: add support for code snippet and snippet package. 2025-12-07 14:57:51 +08:00
bincxz 9360c31a78 first commit 2025-12-07 03:25:07 +08:00