Commit Graph
20 Commits
Author SHA1 Message Date
LAPTOP-O016UC3M\Qi Chen b8c221d112 Organize and normalize imports across project
Reorder and normalize import statements, group icon imports, and add
missing utility imports (cn). Fix export/newline formatting and minor
type import tweaks. Add ESLint scripts to package.json and update the
lockfile.
2025-12-11 16:01:03 +08:00
bincxz 86648c39ca Improves avatar sizing and updates UI icons
Standardizes avatar sizing by introducing size variants,
ensuring consistent appearance across components.

Replaces generic grid icons with more context-appropriate
icons for package and folder group representations,
enhancing visual clarity and user experience.
2025-12-11 04:38:42 +08:00
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
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 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 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 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 80b2e9a9a0 feat: add KnownHostsManager component for managing SSH known hosts 2025-12-09 18:24:31 +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
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
bincxz 39d926065b feat: Refactor TerminalLayer to remove focused session state and enhance workspace pane styling 2025-12-08 00:56:48 +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