Commit Graph
232 Commits
Author SHA1 Message Date
LAPTOP-O016UC3M\Qi Chen cef7441ff9 Improves HTML formatting and code consistency
Refactors indentation and element formatting for better readability.
Enhances maintainability and visual structure without changing logic.
2025-12-18 23:05:13 +08:00
LAPTOP-O016UC3M\Qi Chen 920fa89510 Improves startup UX and cross-window settings sync
Adds a splash screen with fade-out animation for smoother startup and reduces initial blank window time in production.
Implements robust cross-window settings synchronization via IPC, ensuring changes propagate instantly across all open windows.
Optimizes settings persistence, theme/color validation, and settings change notifications.
Refactors Electron protocol handling for more secure, maintainable app resource serving.
Enhances chunk splitting strategy for faster initial load and better caching.
2025-12-18 23:04:57 +08:00
LAPTOP-O016UC3M\Qi Chen 0ac351b41a Eliminates white flash by deferring window show until paint
Defers Electron window display until the renderer signals first
meaningful paint, avoiding initial blank screens or white flashes,
especially on startup and settings windows. Implements a handshake
using a renderer-to-main process message, color-matches background
to the current theme, and falls back to a timeout in development.

Also migrates font loading to npm packages, replaces Google Fonts
usage, and adds code-splitting for dialogs and quick switcher to
improve performance. Restricts console debug output to development.
2025-12-18 17:41:38 +08:00
LAPTOP-O016UC3M\Qi Chen 01d446e98b Switches terminal engine to xterm.js and removes Ghostty
Replaces the Ghostty Web terminal backend with xterm.js, updating references, dependencies, and styles accordingly. Removes Ghostty-specific initialization, CSS, and dependencies for improved compatibility and maintainability. Updates terminal and SFTP mounting to use React lazy loading for better performance. Improves Electron window startup to avoid initial white flash. Cleans up cloud adapter dynamic imports for more efficient loading.

Updates documentation to reflect the terminal engine change.
2025-12-18 16:40:27 +08:00
LAPTOP-O016UC3M\Qi Chen 23b57e3fd6 Adds detailed packaging configs and safer dev detection
Introduces explicit OS/arch packaging targets and artifact naming for all platforms, and adds advanced installer options for Windows. Refines dev/prod environment detection to avoid accidental dev mode in packaged apps, improving build reliability and distribution clarity.
2025-12-18 16:09:23 +08:00
LAPTOP-O016UC3M\Qi Chen a0ed36df6d Add vault hosts import feature with file format support
Enables importing connection data from various client formats into the vault, enhancing migration and onboarding. Adds a dialog for file selection, import logic with format detection, duplicate handling, and localized user feedback. Improves user experience by streamlining bulk host migration from tools like PuTTY, MobaXterm, and SecureCRT.
2025-12-18 15:13:58 +08:00
LAPTOP-O016UC3M\Qi Chen 5b4a543fe3 Removes Google client secret from codebase
Eliminates storage and usage of the Google OAuth client secret
to enhance security and prevent accidental exposure of sensitive
credentials. Refactors authentication flows to operate without
the embedded secret.
2025-12-18 14:17:47 +08:00
LAPTOP-O016UC3M\Qi Chen d28f1e13a5 Improves identity selection with popover and context menus
Enhances the user experience for selecting identities by replacing inline suggestion lists with a popover-based dropdown, including empty-state messaging. Adds right-click context menus to identity cards for quick edit and delete actions. Updates translations for "no results found" in English and Chinese. These changes streamline interaction and improve accessibility when managing identities.
2025-12-18 12:20:54 +08:00
LAPTOP-O016UC3M\Qi Chen 13f8e8cd59 Adds reusable SSH identities and integrates identity auth
Introduces reusable SSH identities for authentication, allowing hosts to reference centralized identity records containing usernames, passwords, and key/certificate associations. Updates connection, SFTP, terminal, and sync logic to resolve credentials via identities, improving credential management and reuse.

Enhances UI for identity selection, editing, and deletion. Updates localization for related identity and credential strings. Ensures identities are included in sync and vault persistence.

Streamlines SSH connection attempts by preferring key-based auth with fallback to password, both for host and identity-based authentication.

Facilitates safer, more flexible credential management across the application.
2025-12-18 11:45:20 +08:00
bincxz 1a4c6ade9f Enables local terminal customization for theme and font
Allows users to customize theme, font family, and font size for local terminals independently of remote host settings. Improves user experience by making appearance preferences for local sessions more flexible and immediately responsive.
2025-12-18 00:22:54 +08:00
LAPTOP-O016UC3M\Qi Chen e05bed0b9d Refactors host details panel with clearer sectioning
Splits host configuration into distinct cards for port/credentials,
appearance, and Mosh settings, improving organization and clarity.
Updates i18n for new section titles in English and Chinese.
2025-12-17 21:37:13 +08:00
LAPTOP-O016UC3M\Qi Chen a7e016c394 Improves terminal command execution status handling
Replaces status prop with a ref to ensure up-to-date session status
during command execution checks, preventing stale state issues.
Also updates Chinese translations for code package terminology for
consistency and clarity.
2025-12-17 20:55:50 +08:00
LAPTOP-O016UC3M\Qi Chen 3cd3cf1145 Localizes sort and known hosts UI text
Replaces hardcoded sort labels and known hosts strings with
localized keys and translations for English and Chinese.
Improves internationalization support and ensures consistent
UI language across the application.

Localizes sort and known hosts UI text

Replaces hardcoded labels for sorting and known hosts management with localized strings in English and Chinese.

Improves internationalization support and ensures UI consistency across languages by using translation keys throughout relevant components.
2025-12-17 20:32:51 +08:00
LAPTOP-O016UC3M\Qi Chen 29019adbc8 Adds local filesystem support to file manager modal
Enables browsing and managing local files alongside SFTP by abstracting path handling, navigation, and file operations. Improves platform compatibility with robust Windows path logic, dynamic home directory resolution, and consistent UI/UX for both remote and local sessions.
2025-12-17 14:59:42 +08:00
LAPTOP-O016UC3M\Qi Chen 4e9e5da13c Localizes UI and improves dynamic translation support
Integrates all user-facing strings into the translation system and
expands locale files for comprehensive coverage, enabling dynamic
i18n across the interface. Replaces hardcoded labels, button texts,
and prompts with translation keys, benefiting maintainability and
future language support. Improves translation ergonomics in forms,
dialogs, wizards, and settings, ensuring consistent user experience
in both English and Chinese.
2025-12-17 14:25:05 +08:00
LAPTOP-O016UC3M\Qi Chen 477d0cd651 Localizes group and host UI, improves i18n coverage
Replaces hardcoded group and host strings with localized
messages throughout group management, selection panels,
and dialogs. Adds missing English and Chinese translations
for group actions and host panel UI, enhancing usability
for non-English users and improving maintainability.
2025-12-17 12:17:38 +08:00
LAPTOP-O016UC3M\Qi Chen d8347582b4 Adds full UI internationalization and language switching
Implements comprehensive i18n support, replacing hardcoded UI strings with translation keys and introducing an i18n provider across the app. Adds persistent UI language selection, cross-window sync, and system menu localization. Updates settings and state to handle locale, propagates language changes to Electron, and adjusts components for runtime translation.

Enables a user-friendly, multi-language experience and prepares the app for further language expansion.
2025-12-17 12:06:28 +08:00
bincxz e238c4c20c Modularizes settings UI and removes modal settings dialog
Refactors the settings interface by deleting the monolithic modal dialog and splitting settings into dedicated tabs and components, improving maintainability and user experience. Enables application info retrieval through a new IPC bridge for use in About/Application screens. Streamlines code by removing redundant state and logic tied to the old settings modal.
2025-12-17 01:48:46 +08:00
bincxz 6b7177cd1c Adds save action to environment variables panel
Enables users to save environment variable changes directly from the panel, improving workflow efficiency and reducing the risk of losing pending updates. The save button now triggers the intended add-and-close logic instead of acting as a back button.
2025-12-17 00:03:18 +08:00
bincxz 2eb2ccd844 Removes biometric SSH key and WebAuthn support
Drops all biometric (Termius-style), WebAuthn, and FIDO2 SSH key logic, UI, and dependencies.
Simplifies key storage and authentication to only support standard and certificate keys.
Eliminates related backend, OS Secure Storage, and Windows Hello/Touch ID code.
Archives any legacy key records for migration safety.
Reduces complexity and potential maintenance/security burden.
2025-12-16 23:35:41 +08:00
LAPTOP-O016UC3M\Qi Chen 3d4c30fd0c Switches Windows biometric auth to WebAuthn/Hello
Moves Windows biometric SSH key protection from native modules to direct WebAuthn (Windows Hello) in the renderer for more reliable user gesture handling. Integrates a new communication flow between main and renderer processes for credential creation and verification, updates session and permission handling for WebAuthn, and removes the native dependency. Ensures the biometric key flow is robust, cross-platform, and compatible with OS-level security UI requirements.
2025-12-16 21:16:23 +08:00
LAPTOP-O016UC3M\Qi Chen bc64043681 Removes FIDO2/WebAuthn support and related code
Drops all FIDO2 hardware security key and WebAuthn passkey functionality,
including backend bridges, UI components, state hooks, and type definitions.
Simplifies authentication to use only standard, certificate, and biometric
(Windows Hello/Touch ID) keys, improving maintainability and reducing code
complexity. Updates UI, application state, and backend logic to fully remove
FIDO2 options and code paths.
2025-12-16 16:59:13 +08:00
LAPTOP-O016UC3M\Qi Chen 662cbcb176 Fix formatting issues in biometric key generation and update documentation
Fixes formatting in biometric key flow and messaging

Resolves minor whitespace inconsistencies and improves
user-facing text for clarity regarding key protection and
biometric unlock requirements.

Enhances readability and maintains consistent formatting
across files.
2025-12-16 14:25:02 +08:00
LAPTOP-O016UC3M\Qi Chen 267e5a31c4 Adds biometric SSH key support using OS secure storage
Introduces Termius-style biometric SSH key generation and usage, leveraging ED25519 keys encrypted with a random passphrase stored securely via OS Keychain or Windows Credential Manager. Enhances key management UI, integrates passphrase retrieval prompts for biometrics, and ensures proper cleanup of secure storage on key deletion. Enables cross-platform biometric authentication for SSH keys, improving security and usability.
2025-12-16 14:24:25 +08:00
LAPTOP-O016UC3M\Qi Chen 4b673eef14 Moves key configuration to a modal dialog
Improves user experience by presenting key label and option
configuration in a dedicated modal after device selection.
Enhances visual clarity and workflow, prevents accidental
input outside of context, and provides clearer device info.
Updates overlay z-indexing for better stacking control.
2025-12-16 11:59:11 +08:00
LAPTOP-O016UC3M\Qi Chen 41a3ec295f Add node-hid as a production dependency
Introduces node-hid to support USB HID device interactions.
Removes unnecessary dev flags from some dependencies for cleaner dependency management.
2025-12-16 11:52:08 +08:00
LAPTOP-O016UC3M\Qi Chen fd3da63e9e Add explicit return type to credentials callback
Enforces type safety by specifying the return type for the host credentials retrieval function, making the codebase more robust and maintainable.
2025-12-16 11:41:55 +08:00
LAPTOP-O016UC3M\Qi Chen d637b7384f Fixes indentation and formatting in biometric setup code
Improves code readability by correcting inconsistent indentation
and formatting in biometric credential creation and device
filtering logic. No functional changes are introduced.
2025-12-16 11:41:12 +08:00
LAPTOP-O016UC3M\Qi Chen d719dfdc69 Add integrated FIDO2 SSH key generation workflow
Implements a comprehensive UI and backend bridge for FIDO2 hardware and platform authenticator SSH key creation, including device selection, PIN entry, and touch prompts. Modernizes the key generation panel with enhanced options, feedback, and error handling, and establishes Electron IPC support for seamless device communication.

Improves security, user experience, and support for modern authentication hardware.
2025-12-16 11:40:43 +08:00
bincxz fad5b1cf3f Improves key migration defaults and refines callback deps
Ensures migrated keys have generated IDs and labels when missing,
enhancing backward compatibility for legacy data. Updates the
upload function's type usage for better maintainability. Refines
callback dependencies to include all relevant variables, promoting
more reliable reactivity.
2025-12-16 02:55:29 +08:00
LAPTOP-O016UC3M\Qi Chen 1c581f7b2a Adds group rename functionality to group context menu
Enables renaming of groups via a dialog accessed from the group context menu.
Validates input and updates related groups and hosts, improving group management usability.
2025-12-15 19:27:31 +08:00
LAPTOP-O016UC3M\Qi Chen 21c07ffe11 Replaces MutableRefObject with RefObject for refs
Updates type annotations across terminal-related hooks and runtime modules to use RefObject instead of MutableRefObject for React refs. Aligns with React's convention for refs not directly assigned via useRef, improving type safety and clarity.
2025-12-15 19:15:43 +08:00
LAPTOP-O016UC3M\Qi Chen 30c2df29be Refactors terminal logic into modular hooks and runtimes
Improves maintainability and code clarity by extracting authentication, search, and context menu behaviors into dedicated hooks. Moves terminal session logic into runtime/session-starter modules, reducing component complexity. Removes inline implementations in favor of reusable abstractions, streamlining prop and state management throughout the terminal UI.

Enables easier future enhancements and testing by promoting separation of concerns and reducing code duplication.
2025-12-15 19:05:13 +08:00
LAPTOP-O016UC3M\Qi Chen be4e97ae69 Adds support for certificate-based SSH authentication
Extends authentication logic and UI to recognize and handle
certificate-based keys alongside password and regular key methods.
Improves key selection UX by auto-switching to the appropriate
auth method based on the selected key type. Enables broader
SSH authentication compatibility.
2025-12-15 17:31:24 +08:00
LAPTOP-O016UC3M\Qi Chen 47888dff3a Improves biometric prompt and browser fallback handling
Updates user messaging to dynamically reference Touch ID or Windows Hello, enhancing clarity based on platform.

Refines logic to prefer the browser fallback for WebAuthn in all Electron development environments (not just macOS), reducing potential authentication issues and confusion.

Makes minor adjustments to package metadata for consistency.
2025-12-15 17:12:43 +08:00
LAPTOP-O016UC3M\Qi Chen b03042d4f4 Add Google Drive sync via main process to fix CORS
Implements Google Drive sync operations (find, create, update, download, delete) via the Electron main process to work around CORS and COEP restrictions in the renderer. Updates the preload bridge and type definitions to expose new API methods, and adapts the sync logic to prefer main process proxies when available. Improves error handling and ensures prompt UI updates on disconnect.

Enables more reliable Google Drive cloud sync across platforms.
2025-12-15 16:35:40 +08:00
LAPTOP-O016UC3M\Qi Chen 18b55c53d2 Adds Google OAuth IPC bridge for secure auth flows
Routes Google OAuth code exchange, token refresh, and user info requests through the main process to avoid CORS issues. Improves security and reliability of authentication and cloud sync by using IPC handlers instead of direct client-side HTTP requests.
2025-12-15 11:57:30 +08:00
LAPTOP-O016UC3M\Qi Chen 99762b3ec2 Adds secure cloud sync master key storage via OS keychain
Persists and auto-unlocks the cloud sync vault master key using the operating system's secure storage,
eliminating the need for repeated password entry after initial unlock. Enhances UX with dialog-based
unlock and key change flows, removes the dedicated locked screen, and synchronizes the key seamlessly
across app windows. Improves error handling for locked or conflicting states and ensures session password
is cleared on lock or failed unlock.
2025-12-15 11:42:29 +08:00
LAPTOP-O016UC3M\Qi Chen 0c721613be Enables real-time cross-window sync and improves UI updates
Implements cross-window data synchronization to ensure state
remains consistent across multiple windows (such as settings
or separate Electron windows) using storage events and state
listeners. Improves UI responsiveness by forcing re-renders
on relevant state changes and ensuring immediate updates after
sync actions and conflict resolutions. Also enhances modal and
component reactivity for better user experience.
2025-12-15 10:51:29 +08:00
bincxz fcee0eb61b Refactors cloud sync state with useSyncExternalStore
Improves real-time synchronization of cloud sync state across React components by adopting useSyncExternalStore. Removes manual state management and event subscription in favor of a direct, consistent state snapshot from the manager. Updates the sync manager to support snapshot-based subscriptions and deep cloning for reliable UI updates.

Enhances user feedback on manual sync actions through integrated toast notifications. Simplifies UI state logic and reduces redundant state update calls, making sync operations more robust and maintainable.
2025-12-15 02:06:42 +08:00
bincxz 714ee3d8b8 Removes extraneous whitespace in UI components
Cleans up minor formatting by removing unnecessary spaces and blank lines
to improve code consistency and readability. No functional changes made.
2025-12-15 01:47:08 +08:00
bincxz 8518b01d67 Adds sync versioning and history to cloud sync UI
Improves the cloud sync experience by displaying local/remote version info and detailed sync history in both the sync settings and status button popovers. Tracks sync actions and outcomes for better transparency and debugging. Updates provider connection logic and disables redundant connect buttons when a provider is already active.

Enhances user trust and control by making sync status and activity more visible and actionable.
2025-12-15 01:47:02 +08:00
bincxz e28a591554 Adds main process bridge for GitHub Device Flow auth
Enables GitHub Device Flow authentication through the main process
to bypass CORS issues by introducing IPC bridge handlers and updating
the adapter to use them when available. Improves error handling and
logging for easier debugging. Wraps settings in a toast provider to
support user notifications.
2025-12-15 01:15:51 +08:00
bincxz f070faffee Reformats avatar image element for consistent styling
Cleans up whitespace and formatting around the avatar image to improve code consistency and readability. No functional changes are introduced.
2025-12-15 00:54:25 +08:00
bincxz b297391f10 Enforces single cloud provider sync and improves UX
Ensures only one cloud provider is connected at a time by disconnecting others before authenticating a new provider, preventing sync conflicts and confusion. Improves error handling and logging for Google Drive sync file lookup, providing clearer user feedback for common API failures. Updates avatar image security and clarifies sync button behavior to enhance user experience.
2025-12-15 00:54:20 +08:00
bincxz 39dad4fbdf Reformats Cloud Sync components for consistent indentation
Updates indentation and formatting across cloud sync-related React components to improve code readability and maintain consistency. No logic or behavior is changed; all modifications are purely stylistic for easier maintenance.
2025-12-15 00:48:35 +08:00
bincxz d4399cd3d0 Integrates OAuth-based cloud sync and UI refactor
Replaces legacy GitHub Gist sync UI with a modular cloud sync component and introduces OAuth callback support in the bridge layer. Updates the top bar to use a sync status button linked to settings, improving user experience and future extensibility for cloud sync providers.
2025-12-15 00:48:15 +08:00
bincxz c87102277a Unifies theme and font controls into appearance modal
Replaces separate theme dropdown and font size controls with a single
"Appearance" modal for customizing terminal theme and font size.
Simplifies the UI, improves discoverability, and streamlines user
interaction for appearance settings.
2025-12-14 23:19:38 +08:00
bincxz 2c53b1d997 Adds per-log theme and font size controls to log replay
Enables users to customize terminal theme and font size for each log replay,
improving readability and personalization of the log view experience. Updates
persist in the log model, and theme/font changes apply instantly without
recreating the terminal. Also improves UI for these controls and tidies minor
imports.
2025-12-14 23:16:35 +08:00
bincxz 5693bc530b Refines whitespace for code style consistency
Updates spacing and alignment to improve code readability and maintain a consistent code style. No functional or logic changes are introduced.
2025-12-14 21:37:51 +08:00