Commit Graph
3390 Commits
Author SHA1 Message Date
LAPTOP-O016UC3M\Qi Chen 8ce419915e style: Clean up whitespace in AssistantPanel component for improved readability 2025-12-09 10:18:15 +08:00
LAPTOP-O016UC3M\Qi Chen 55e4371fa8 refactor: Remove console log statements and memoize components for performance optimization 2025-12-09 10:18:04 +08:00
bincxz d8ffb52945 feat: Optimize the user preference settings of the port forwarding component, allowing users to choose to skip the wizard or use the form mode 2025-12-09 09:16:00 +08:00
bincxz 45ff6872a4 feat: Add the highlighted role feature for the TrafficDiagram component and optimize the style of the PortForwarding component 2025-12-09 09:04:58 +08:00
bincxz 753ea54f51 feat: Add a new forwarding form mode that allows users to skip the wizard and directly create rules 2025-12-09 08:50:13 +08:00
bincxz 21d5415d00 feat: Add the host selection step to the port forwarding wizard and optimize the description of dynamic port forwarding 2025-12-09 08:06:02 +08:00
bincxz 2f2264d08c fix: 在 SftpView 和 VaultView 组件中优化容器样式,添加 z-index 以防止渲染伪影 2025-12-09 03:27:58 +08:00
bincxz f74ac9ff54 fix: Fixed the class name format of the status indicator in the PortForwarding component and optimized the code format of the ToastProvider component 2025-12-09 03:23:21 +08:00
bincxz 8c4e6df208 feat: 添加 ToastProvider 组件以支持全局通知功能,并在 PortForwarding 组件中集成错误提示 2025-12-09 03:22:39 +08:00
bincxz d839b8ac8a fix: 修复 PortForwarding 组件中状态指示器的类名格式 2025-12-09 02:54:19 +08:00
bincxz 46d3f8738e feat: Implement port forwarding functionality with SSH support
- Added port forwarding service to manage SSH tunnels.
- Integrated port forwarding UI in PortForwardingNew component.
- Enhanced VaultView to support new port forwarding props.
- Implemented IPC handlers in Electron main process for starting, stopping, and retrieving status of port forwarding tunnels.
- Added preload API for port forwarding operations and status listeners.
- Updated global types to include port forwarding options and results.
- Improved error handling and connection simulation for development mode.
2025-12-09 02:54:14 +08:00
bincxz 8c8a053e9c fix: adjust AnimatedLine coordinates for improved visual accuracy in TrafficDiagram 2025-12-09 02:15:14 +08:00
bincxz e04ac9c22a Refactor VaultView component: reorganize sections for hosts and groups, improve drag-and-drop functionality, and enhance context menu options for groups. 2025-12-09 02:11:23 +08:00
bincxz 05adb89879 feat: Add TrafficDiagram component with animated port forwarding visualization
- Implemented TrafficDiagram component to visualize local, remote, and dynamic port forwarding.
- Added SVG icons for cloud, firewall, and server.
- Created animated line components for visual representation of connections.
- Integrated AppLogo and icons into the diagram for better UX.
- Included SVG assets for cloud, firewall, and server in the public folder.
2025-12-09 02:11:15 +08:00
LAPTOP-O016UC3M\Qi Chen 82f091d666 style: format CSS keyframes for improved readability and consistency 2025-12-08 21:03:37 +08:00
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