Commit Graph
89 Commits
Author SHA1 Message Date
bincxz aff8a603d3 Adds protocol selection and native Telnet support
Improves host connection flow by allowing users to choose SSH, Mosh, or Telnet protocols when multiple are available.

Implements native Telnet client, removing system dependency and enabling proper Telnet negotiation, window resizing, and terminal type handling.

Ensures session protocol overrides persist during connection, improving accuracy of terminal sessions.

Enhances UI logic for protocol-specific host details and quick connect wizard navigation.
2025-12-11 03:28:44 +08:00
bincxz 52296be474 Adds Telnet and Mosh protocol support to host sessions
Enables users to connect to hosts using Telnet and Mosh protocols
in addition to SSH and local shell, improving flexibility for
varied environments. Updates UI to configure protocol-specific
settings, credentials, and theme. Integrates backend and bridge
logic for spawning Telnet and Mosh sessions. Improves detection
of available protocols per host.

Relates to multi-protocol connectivity feature.
2025-12-11 03:03:28 +08:00
bincxz 5480506853 Reformats components for consistent indentation
Improves code readability and maintainability by updating indentation
and whitespace across multiple components. No functional logic or UI
behavior is changed.
2025-12-11 02:33:01 +08:00
bincxz 375547b796 Adds multi-protocol and theme support for hosts
Enables configuration of multiple connection protocols (SSH, Telnet, Mosh) per host, including per-protocol theme selection. Introduces protocol-specific configuration, quick connect via search, and protocol selection dialogs to improve flexibility and user experience when managing and connecting to hosts.
2025-12-11 02:32:51 +08:00
bincxz c13fbdd727 Enables native SSH key generation and improves auth fallback
Integrates real SSH keypair generation via Electron backend, replacing previous client-side mock generation for stronger security and reliability.

Refines authentication logic to always provide password credentials for SSH and SFTP connections, ensuring fallback support when key-based authentication fails.

Improves public key export flow with better host update handling and clearer error feedback.

Updates host save logic to correctly update or insert records on key association.

Fixes edge cases in SSH command execution status reporting for more robust error detection.
2025-12-11 02:03:22 +08:00
bincxz 2e71450d5b Unifies terminal statusbar and control rendering
Streamlines the terminal UI by merging separate statusbars for single host and workspace modes into a single unified statusbar. Simplifies control rendering logic and ensures consistent appearance and behavior across modes. Improves maintainability and user experience by reducing conditional complexity and UI fragmentation.
2025-12-11 01:37:35 +08:00
bincxz 0e528fd090 Improves selection UX for groups, tags, keys, and packages
Replaces manual input fields for groups, tags, credentials,
and packages with combobox-based autocomplete and creation flows.

Unifies credential selection, supporting keys, certificates,
and FIDO2 options with clearer UI feedback and interaction.

Enhances tag management with autocomplete from all host tags,
streamlining host categorization and package assignment.
2025-12-11 01:27:54 +08:00
LAPTOP-O016UC3M\Qi Chen 98b1d1115a Enables inline host and group creation across panels
Improves user workflow by allowing hosts and groups to be created directly within selection and management panels, reducing navigation friction and simplifying onboarding for new resources.

Updates button labeling and placement for clarity in host creation flows.

Helps streamline multi-step processes when configuring keys, port forwarding, and snippets.
2025-12-11 00:11:23 +08:00
LAPTOP-O016UC3M\Qi Chen c44f6d0178 Refactors panel rendering and improves UI consistency
Unifies conditional rendering for sub-panels using if blocks, improving code readability and maintainability. Enhances UI alignment and indentation for various panels, ensuring consistent layouts. Updates some secondary UI elements and badges for clarity. No functional logic is changed; the update focuses on structure, user interface cohesion, and visual polish.
2025-12-10 23:52:02 +08:00
LAPTOP-O016UC3M\Qi Chen 38fb54bd7a Refactors panel components and improves snippets section layout
Replaces custom slide-out panels with a unified AsidePanel component for consistency and code simplification. Removes hardcoded "Personal vault" subtitles from panels to allow more flexible titling. Updates snippets section rendering for a more consistent layout experience and better separation from other sections.
2025-12-10 23:51:44 +08:00
LAPTOP-O016UC3M\Qi Chen b75900d234 Refactor UI components for consistency and readability
- Updated spacing and formatting in PortForwardingNew.tsx for improved layout.
- Cleaned up SelectHostPanel.tsx by standardizing button and filter logic.
- Enhanced SnippetsManager.tsx with consistent card layouts and improved target selection UI.
- Refined AsidePanel and SortDropdown components for better code clarity.
- Adjusted TagFilterDropdown for consistent button styling and layout.
2025-12-10 23:29:26 +08:00
LAPTOP-O016UC3M\Qi Chen f6d50c1795 Unifies aside panel UI, adds host tagging, improves selection
Migrates manual aside panels to a reusable design system for consistent slide-out UI across hosts, keys, port forwarding, and snippets.

Adds tag management to host forms and selection, enabling filtering and improved organization.

Improves host/group selection with sorting, tag filtering, and breadcrumb navigation.

Simplifies panel logic, centralizes host panel state, and enhances maintainability.
2025-12-10 23:29:11 +08:00
LAPTOP-O016UC3M\Qi Chen 6e8c9db054 Standardizes code formatting in components
Improves consistency by aligning whitespace and indentation
in multiple React components for better readability and
maintainability. No functional or logic changes applied.
2025-12-10 20:54:05 +08:00
LAPTOP-O016UC3M\Qi Chen 2068e5d245 Adds persistent shell history tracking and UI integration
Implements real-time shell command history capture from terminal sessions,
persisting up to 1000 entries with host and session metadata.

Integrates shell history into the UI with lazy-loading, snippet creation from
history, and improves host selection UX by reusing a shared panel component.

Enables users to review, reuse, and organize previously executed commands,
enhancing productivity and traceability across sessions.
2025-12-10 20:53:58 +08:00
LAPTOP-O016UC3M\Qi Chen d8296ed2b9 Refines formatting and whitespace in UI components
Improves code readability and consistency by adjusting whitespace and aligning code formatting in UI rendering logic. No changes to functionality or business logic.
2025-12-10 20:11:51 +08:00
LAPTOP-O016UC3M\Qi Chen 629cdb6db9 Adds workspace focus mode and snippet runner
Introduces a 'focus mode' for workspaces, allowing users to view and switch between individual terminals in a sidebar for improved multi-session management. Implements a snippet runner that creates a focus-mode workspace and executes a command across multiple hosts, streamlining bulk operations. Enhances the workspace model and session management to support these features and updates the UI for discoverability and ease of use.
2025-12-10 20:11:36 +08:00
LAPTOP-O016UC3M\Qi Chen 2f4f59a542 Improves formatting and readability of error handling
Refines error handling logic by adjusting spacing and indentation,
making authentication error detection more readable and maintainable.
No functional changes introduced.
2025-12-10 17:27:02 +08:00
LAPTOP-O016UC3M\Qi Chen b86f04f82a Improves SSH auth failure handling and user feedback
Enhances SSH connection logic to detect authentication failures and prompt users for credential re-entry with clear error messaging.
Extends frontend dialog UX for retries and highlights errors.
Adds backend event and IPC handling for auth failures and timeouts, improving reliability and troubleshooting for multi-hop scenarios.
2025-12-10 17:26:48 +08:00
LAPTOP-O016UC3M\Qi Chen 6b41dccd8e Improves UI formatting, consistency, and readability
Refactors component layouts and code style for better clarity, consistent indentation, and visual grouping.
Enhances maintainability by standardizing React and JSX structure.
No functional logic changed; focus is on presentation and structure.
2025-12-10 16:26:09 +08:00
LAPTOP-O016UC3M\Qi Chen 5344e6dacb feat: add support for proxy and jump host configurations in SSH connections
- Introduced ProxyConfig and HostChainConfig types for structured proxy and jump host settings.
- Updated Host interface to include proxyConfig and hostChain properties.
- Enhanced Terminal and TerminalLayer components to handle proxy and jump host connections.
- Implemented chain connection progress tracking and UI updates in the terminal.
- Added KnownHostConfirmDialog for host key verification during SSH connections.
- Integrated known hosts management with callbacks for adding new hosts.

Adds SSH proxy and jump host chain support with UI

Introduces structured configuration for proxies and jump hosts in SSH connections.

Updates host model and terminal components to allow indirect connections via proxy or chained hosts, with progress tracking and improved connection feedback.

Enhances user interface for managing host details, proxy settings, environment variables, and host verification.

Improves connection security and flexibility for complex network scenarios.
2025-12-10 16:25:52 +08:00
LAPTOP-O016UC3M\Qi Chen 1a7d9e7639 Improves performance and removes debug logging
Reduces unnecessary re-renders in terminal and workspace components by optimizing host object creation and separating visibility effects.
Speeds up SSH connection issue detection and lowers latency via adjusted keepalive and cipher settings.
Removes debug console logs to clean up output and improve efficiency.
2025-12-10 13:55:52 +08:00
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