Commit Graph
68 Commits
Author SHA1 Message Date
LAPTOP-O016UC3M\Qi Chen b4b41b1beb Improves terminal performance by tuning settings
Disables cursor blinking, reduces scrollback buffer, and turns off smooth scrolling to lower rendering overhead.
Increases debounce time for resize events to reduce unnecessary terminal reflows and improve UI responsiveness under load.
2025-12-10 13:51:07 +08:00
LAPTOP-O016UC3M\Qi Chen afea784117 Adds FIDO2 security key support and key export workflow
Enables registration and management of FIDO2 hardware-backed SSH keys using WebAuthn, including a production HTTP server for secure context.

Introduces export-to-host functionality with script customization and host selection, improving workflow for attaching public keys to remote systems.

Refines UI interactions, adds context menus for keys, and improves toast notifications for consistent feedback.
2025-12-10 13:41:43 +08:00
LAPTOP-O016UC3M\Qi Chen 530da20a87 Removes AI assistant panel and Gemini service integration
Deprecates the in-app AI assistant by deleting its UI, related service functions, and all related props and state. Simplifies the interface and reduces dependency on external AI APIs, likely in favor of streamlining the app or due to maintenance concerns.
2025-12-10 10:57:45 +08:00
LAPTOP-O016UC3M\Qi Chen d69116a7ad Removes redundant border classes from sidebar buttons
Cleans up button styling by eliminating duplicate border color
utility classes for improved maintainability and consistency with
design system.
2025-12-10 10:47:06 +08:00
bincxz 9a3078a7ee Improves code formatting for consistency
Aligns spacing and indentation in key logic blocks to enhance
readability and maintain consistent code style across components.
No functional changes introduced.
2025-12-10 01:21:23 +08:00
bincxz fed2132197 Improves SFTP reconnect logic and platform UI clarity
Adds auto-reconnect for SFTP pane sessions, preserving file state and user experience during connection loss. Refactors range selection for greater accuracy and UI alignment. Enhances biometric key and platform labeling to dynamically reflect macOS or Windows, improving clarity for end users. Refines sidebar and pane layouts for consistency and usability.
2025-12-10 01:21:13 +08:00
LAPTOP-O016UC3M\Qi Chen 15575d2de0 Improves auth dialog UI and connection status handling
Refines authentication method tab styles for clearer selection and better accessibility.
Adjusts terminal connection logic to prevent premature status updates and avoid starting timeouts before authentication.
Updates overlay appearance for auth dialog to enhance focus.
Clears terminal before new SSH connection for improved user experience.
2025-12-09 23:29:00 +08:00
LAPTOP-O016UC3M\Qi Chen a1d2c31be9 Updates terminal to ghostty-web 0.4.0 and improves font support
Upgrades the terminal dependency for better compatibility and API alignment.
Refactors initialization to match upstream changes, removing direct WASM loading.
Expands the terminal font stack and adds extended Unicode font-face for improved
box drawing and symbol rendering in the terminal interface.
2025-12-09 23:15:56 +08:00
LAPTOP-O016UC3M\Qi Chen f7bdb882cf Improves terminal container padding and alignment
Replaces flex centering with consistent left padding
to enhance layout and visual alignment within workspace
and non-workspace views.
2025-12-09 23:08:34 +08:00
LAPTOP-O016UC3M\Qi Chen 88a48d38d2 Fixes indentation for resize handle rendering
Improves code readability and consistency by correcting
indentation in the resize handle rendering block.
No functional changes introduced.
2025-12-09 23:03:39 +08:00
LAPTOP-O016UC3M\Qi Chen cd9ff6e002 Refactors layout and improves resizer hit area in TerminalLayer
Improves TerminalLayer resizer usability and layout

Refines resizer hit area logic for more precise and user-friendly drag interactions in split terminal views.

Cleans up layout and truncation in workspace controls for better readability and consistency.

Enhances overflow handling to prevent layout issues.
2025-12-09 23:03:32 +08:00
LAPTOP-O016UC3M\Qi Chen 80a82db779 Streamlines known hosts import and improves terminal resizing
Removes the manual import preview dialog for known hosts, enabling direct import of new entries from file or system scan to simplify the workflow.

Enhances terminal resizing behavior by fitting the terminal only after drag-resizing ends or after workspace changes, preventing layout glitches and improving user experience.
2025-12-09 22:57:38 +08:00
LAPTOP-O016UC3M\Qi Chen c9ad7b9158 Removes unnecessary trailing whitespace
Cleans up code formatting by eliminating trailing whitespace
to improve readability and maintain consistency across components.
No functional changes introduced.
2025-12-09 22:41:50 +08:00
LAPTOP-O016UC3M\Qi Chen a47f9ddc8c Improves performance and memoization of known hosts UI
Optimizes rendering of known hosts management by introducing memoization and limiting rendered items for large datasets. Refactors callback and state management in several components to reduce unnecessary re-renders and improve responsiveness.

Enhances code structure for maintainability and future scalability, and adds debug logs to aid profiling and diagnostics.
2025-12-09 22:41:43 +08:00
LAPTOP-O016UC3M\Qi Chen f923203eb6 Fix typo in KeychainManager and KnownHostsManager 2025-12-09 22:08:06 +08:00
LAPTOP-O016UC3M\Qi Chen b6187b7d72 Enhances known hosts UX with view, sort, and auto-import
Improves the known hosts manager by adding grid/list view toggles, advanced sorting, and debounced searching for better usability. Refactors host item rendering for performance. Implements auto-import of system known_hosts via Electron bridge for easier onboarding. Updates WebAuthn credential logic for better platform and security context handling.
2025-12-09 22:08:04 +08:00
LAPTOP-O016UC3M\Qi Chen b27743bdfe Adds sorting, progress upload, and range selection to SFTP UI
Enables sortable columns and adjustable widths in SFTP file views for improved navigation and usability.

Implements real-time progress feedback for uploads using IPC, enhancing transparency and error handling during file transfers.

Introduces shift-click range selection and multi-file actions, streamlining bulk operations.

Applies more comprehensive file-type icons and UX refinements for clarity.
2025-12-09 21:33:54 +08:00
LAPTOP-O016UC3M\Qi Chen 1a572eabc0 fix: adjust terminal container positioning for improved layout in workspace 2025-12-09 20:44:00 +08:00
LAPTOP-O016UC3M\Qi Chen 7b444b0b85 Replaces SFTP panel with modal and improves terminal UI
Switches SFTP file manager from a side panel to a modal to prevent terminal width issues and streamline the UI. Updates terminal status indicators for clearer error and connection states. Adds CSS tweaks for better terminal canvas fit and scrollbar appearance, enhancing visual consistency and usability.
2025-12-09 20:31:25 +08:00
LAPTOP-O016UC3M\Qi Chen 96821e5c9f feat: add font loading effect to Terminal component for improved rendering 2025-12-09 20:31:01 +08:00
LAPTOP-O016UC3M\Qi Chen 46721c4a8d Refactor KnownHostsManager component for improved readability and maintainability
- Reorganized import statements for consistency
- Enhanced formatting and indentation for better code clarity
- Streamlined logic in known hosts parsing and filtering
- Improved handling of file imports and system scans
- Updated UI elements for better user experience in the import dialog

Minor adjustments in Terminal and VaultView components

- Removed unnecessary whitespace in Terminal component
- Cleaned up props handling in VaultView component for KeychainManager
2025-12-09 18:24:41 +08:00
LAPTOP-O016UC3M\Qi Chen 80b2e9a9a0 feat: add KnownHostsManager component for managing SSH known hosts 2025-12-09 18:24:31 +08:00
LAPTOP-O016UC3M\Qi Chen d8abdfc978 style: Clean up whitespace in TopTabs component for improved code readability 2025-12-09 14:06:20 +08:00
LAPTOP-O016UC3M\Qi Chen 42d2356d26 feat: Implement scrollable tabs in TopTabs component with overflow handling and improved tab selection 2025-12-09 14:06:09 +08:00
LAPTOP-O016UC3M\Qi Chen ef87107ea2 style: Adjust indentation in AppLogo component for improved readability 2025-12-09 11:45:16 +08:00
LAPTOP-O016UC3M\Qi Chen b2b59a73c4 feat: Introduce AppLogo component for dynamic accent color theming and update TrafficDiagram and VaultView to use it 2025-12-09 11:45:12 +08:00
LAPTOP-O016UC3M\Qi Chen 1a442631f0 feat: Add size prop to DistroAvatar and update styling in SnippetsManager and Terminal components 2025-12-09 11:21:24 +08:00
LAPTOP-O016UC3M\Qi Chen 992d99d608 feat: Enhance port forwarding wizard flow and add remote host selection step 2025-12-09 10:46:53 +08:00
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