Commit Graph
147 Commits
Author SHA1 Message Date
LAPTOP-O016UC3M\Qi Chen df3b2219dc Refines whitespace for improved code consistency
Standardizes whitespace in terminal components to enhance code readability and maintain consistent formatting. No functional changes made.
2025-12-12 22:31:27 +08:00
LAPTOP-O016UC3M\Qi Chen 195d2a6b99 Adds terminal text search with UI and keyboard shortcut
Introduces an integrated search bar for the terminal, accessible via a toolbar button or Ctrl/Cmd+F, enabling users to search terminal output with navigation controls. Improves usability by allowing easy text lookup and navigation within terminal sessions, and updates dependencies to include the required search addon.
2025-12-12 22:31:21 +08:00
LAPTOP-O016UC3M\Qi Chen 9463387ea0 Formats code for consistency in terminal components
Unifies spacing and indentation in terminal-related components to enhance code readability and maintainability. No functional or behavioral changes introduced.
2025-12-12 22:06:11 +08:00
LAPTOP-O016UC3M\Qi Chen 43154e7992 Enhances terminal customization and accessibility options
Expands terminal settings with advanced customization such as emulation type, font weights, line padding, keyword highlighting, link modifiers, and middle-click behavior.
Adds support for clickable URLs, cross-window settings sync, and context-aware right-click actions.
Improves accessibility with minimum contrast ratio controls and allows keyword-based output highlighting.
Refines theme/font selection UI for performance and clarity.
2025-12-12 22:06:03 +08:00
LAPTOP-O016UC3M\Qi Chen 8b3d53bb90 Prevents drag on terminal button for better UX
Adds a class to the terminal button to disable window drag behavior, improving user interaction and preventing accidental drags when opening a terminal.
2025-12-12 20:21:14 +08:00
LAPTOP-O016UC3M\Qi Chen 17121923d8 Removes extraneous whitespace for code consistency
Cleans up unnecessary trailing and internal whitespace throughout
multiple files to improve code readability and maintain a consistent
style. No logic or functional changes introduced.
2025-12-12 18:40:00 +08:00
LAPTOP-O016UC3M\Qi Chen a0c9d0d224 Adds pane focus navigation for split terminal workspaces
Enables keyboard navigation between split terminal panes using arrow key shortcuts, implementing directional focus movement with wraparound and modifier-aware handling. Improves workspace usability by visually marking and programmatically updating the focused pane, ensuring reliable focus control even with concurrent DOM updates. Also refines keybinding recording for special shortcuts and updates settings sync token usage for consistency.
2025-12-12 18:39:46 +08:00
LAPTOP-O016UC3M\Qi Chen dcd3f14b56 Adds directory listing cache and prevents stale updates
Introduces a time-limited directory listing cache to improve SFTP and local file navigation performance and responsiveness. Implements sequence tracking to avoid UI updates from outdated asynchronous results, preventing race conditions during rapid navigation or refreshes. Refactors local directory statting to use parallelism for faster performance in directories with many files. Improves user experience by ensuring directory views are always up to date and consistent.
2025-12-12 15:23:40 +08:00
LAPTOP-O016UC3M\Qi Chen aab977f194 Updates dependencies and removes unused theme card component
Upgrades multiple dependencies, including node-pty and Tailwind CSS,
to improve compatibility and receive upstream fixes. Removes an unused
theme card component to reduce code clutter. Also makes minor code
cleanups for consistency.
2025-12-12 11:13:32 +08:00
bincxz 7288b5497c Reformats settings UI for consistent code style
Adjusts indentation and formatting across the settings and quick switcher components to maintain a consistent code style. No functional or behavioral changes are introduced. Improves maintainability and readability.
2025-12-12 05:08:44 +08:00
bincxz dd2a0bcde8 Formats UI theme setting code for consistency
Removes unnecessary whitespace to improve code readability
and maintain consistent formatting in the settings panel.

Adds dedicated settings window and improves UI sync

Implements a separate settings window in desktop mode, enabling users to open settings as a standalone dialog via Electron integration and renderer routing.

Synchronizes theme and keybinding preferences across windows using storage events for a seamless experience. Enhances Quick Switcher hotkey display accuracy, focuses terminal tab on activation, and refines UI accent color usage for consistency and accessibility.

Improves visual coherence and formatting in the settings panel, addressing theme application and component styling.
2025-12-12 05:08:19 +08:00
bincxz be15c6861a Formats UI theme setting code for consistency
Removes unnecessary whitespace to improve code readability
and maintain consistent formatting in the settings panel.
2025-12-12 04:02:36 +08:00
bincxz 7c07290cfd Adds custom CSS support to settings dialog
Enables users to inject and persist custom CSS for personalized UI tweaks,
applying changes immediately. Improves appearance customization options
by expanding the color palette and adding a custom color picker.
2025-12-12 04:02:34 +08:00
bincxz 340a851880 Refactors terminal dialogs and context menu formatting
Improves structure and readability by reordering conditional rendering
of terminal dialogs and reformatting the context menu for consistency.
Enhances maintainability without changing existing logic or features.
2025-12-12 03:49:20 +08:00
bincxz 8a49eeeb4c Adds terminal split functionality with context menu
Introduces support for horizontal and vertical splitting of terminal sessions, enabling users to split standalone sessions and manage panes within workspaces. Implements a context menu in the terminal for split actions and standard clipboard operations, improving usability and workflow efficiency. Integrates split logic across hotkeys, UI callbacks, and session state management.
2025-12-12 03:49:13 +08:00
bincxz 0d1c5f0b76 Refactors hotkey handling code formatting
Improves readability by standardizing whitespace in the hotkey
handling function and related variable assignments. No functional
changes introduced.
2025-12-12 03:34:04 +08:00
bincxz 07cdde7976 Refactors hotkey handling for unified app-terminal actions
Centralizes hotkey action logic to enable consistent shortcut
behavior across both app-level and terminal contexts. Improves
maintainability and extensibility by introducing a shared hotkey
action handler and callback prop, reducing code duplication and
streamlining future shortcut feature development.
2025-12-12 03:33:56 +08:00
bincxz 151cd4bfab Adds customizable global keyboard shortcut support
Implements a flexible system for configuring and persisting keyboard shortcuts across the app, enabling users to select hotkey schemes (Mac/PC), edit, disable, or reset shortcuts, and apply them globally and in terminal contexts.

Improves accessibility and workflow by allowing tailored key bindings, storing preferences in local storage, and integrating shortcut management into settings UI.

Refines styling for active UI elements, spinners, and borders for better theme consistency.
2025-12-12 03:24:28 +08:00
bincxz b272ae799c Enhances terminal settings customization and theme logic
Introduces granular terminal appearance and behavior controls,
including font ligatures, weights, cursor shape, mouse and keyboard
actions, and accessibility options, with persistent storage.

Replaces default terminal themes with new Netcatty variants and
updates theme selection logic to prioritize host-specific settings.

Improves settings dialog UI for better organization and clarity.
2025-12-12 02:38:16 +08:00
bincxz be2073d94f Enables real-time terminal theme and font preview
Provides immediate feedback when customizing terminal appearance by applying theme, font, and font size changes in real time within the customization modal. Adds cancellation logic to revert unsaved changes, prevents duplicate IPC handler registration, and makes minor UI refinements for improved user experience.
2025-12-12 01:54:04 +08:00
bincxz b897c746dd Improves code readability with consistent formatting
Applies consistent spacing to import statements and component props
across several files to enhance maintainability and readability.
No logic or functional changes introduced.
2025-12-12 01:18:24 +08:00
bincxz 2f8f5a3d51 Adds per-host and global terminal font size support
Enables customizing terminal font size both globally and for individual hosts,
with persistent storage and UI controls in settings and terminal toolbars.

Improves user experience and accessibility by allowing finer display adjustments.
2025-12-12 01:17:53 +08:00
bincxz d230ee02c7 Improves terminal performance and updates dependencies
Optimizes terminal rendering by tuning GPU settings, enabling dynamic renderer selection, and adding debounced resize handling for smoother user experience across platforms. Integrates XTerm serialization addon for enhanced terminal state management. Updates several project dependencies to improve compatibility, security, and maintainability. Removes obsolete refactoring documentation.
2025-12-12 00:40:03 +08:00
bincxz e95295d722 Removes extraneous whitespace from JSX markup
Cleans up formatting for improved readability and consistency
in JSX containers by eliminating unnecessary spaces.
2025-12-11 23:40:47 +08:00
bincxz dbc3a8a29b Improves tab drag UX and updates Electron for stability
Prevents drop indicator flickering during tab reordering and ensures reliable visual feedback.
Defers tab state notifications to avoid setState warnings in render phase.
Optimizes terminal performance by disabling transparency and custom glyphs.
Suppresses noisy DevTools autofill errors in Electron.
Upgrades Electron and related dependencies for compatibility and stability.
2025-12-11 23:40:38 +08:00
LAPTOP-O016UC3M\Qi Chen d96b583978 Improves code style and formatting consistency
Standardizes import statement spacing and adjusts whitespace for better readability in the component file. No logic changes are introduced.

Improves code style and import formatting consistency

Standardizes spacing in import statements and introduces helper constants for drag region styles, enhancing readability and maintainability. No logic changes are made.
2025-12-11 22:08:38 +08:00
LAPTOP-O016UC3M\Qi Chen 6fa883d7ba Improves window drag regions and controls for Electron UI
Refines app drag and no-drag regions for better window movement and interaction, especially in Electron environments. Adds support for double-click-to-maximize on titlebars (Windows/Linux), ensures controls/buttons remain non-draggable, and tunes visual padding for consistency. Enhances usability when UI is crowded with tabs, and improves cross-platform window management behavior.
2025-12-11 22:06:49 +08:00
LAPTOP-O016UC3M\Qi Chen 20dd79eb5e Removes trailing whitespace for code style consistency
Cleans up unnecessary trailing whitespace in the codebase to improve readability and maintain consistent formatting.
2025-12-11 21:04:37 +08:00
LAPTOP-O016UC3M\Qi Chen b5fef2e544 Switches terminal from ghostty-web to xterm.js
Replaces ghostty-web with xterm.js for improved compatibility and performance.
Removes async WASM initialization, simplifies terminal setup, and adds GPU-accelerated rendering via WebGL addon.
Updates dependencies to use scoped xterm packages.
2025-12-11 21:04:25 +08:00
LAPTOP-O016UC3M\Qi Chen e00fa2733b Renames app and codebase from Nebula to Netcatty
Updates all code references, IPC channels, CSS classes, and storage keys
from "nebula" to "netcatty" to align with new branding and application identity.
Ensures consistency across frontend, Electron backend, global types,
and package metadata.
2025-12-11 18:42:01 +08:00
LAPTOP-O016UC3M\Qi Chen 61cdc54096 Improves terminal performance and SSH responsiveness
Reduces terminal scrollback for faster rendering and preloads WASM for quicker terminal startup.

Optimizes SSH connection parameters for faster failure detection and lower latency (shorter timeout, longer keepalive interval, prioritized fast ciphers and key exchange).

Decreases IPC overhead by buffering terminal data output before sending to the frontend, reducing message frequency and improving efficiency.
2025-12-11 18:23:56 +08:00
LAPTOP-O016UC3M\Qi Chen 0f20d4211d Improves WASM terminal error handling and CSP for web
Handles WASM initialization and terminal opening errors to
provide better diagnostics and reliability for the embedded
terminal. Updates content security policy and dev server
headers to support WASM and SharedArrayBuffer use, and
optimizes build config for proper WASM module loading.
2025-12-11 18:18:15 +08:00
LAPTOP-O016UC3M\Qi Chen 5eb4eb0604 Improves code readability with consistent spacing
Applies consistent spacing in import and export statements across multiple UI components to enhance code readability and maintainability.

No functional logic or behavior is changed.
2025-12-11 18:05:00 +08:00
LAPTOP-O016UC3M\Qi Chen 17faf0b651 Simplifies focus and ring styles across UI components
Removes redundant focus ring and offset classes from multiple UI elements to streamline visual consistency and reduce CSS complexity. Updates snippet manager header structure for improved layout clarity.
2025-12-11 18:04:49 +08:00
LAPTOP-O016UC3M\Qi Chen ab91630c5c Improves code readability via consistent import formatting
Standardizes spacing in import and export statements to enhance
code clarity and maintain consistency across components.
2025-12-11 17:36:59 +08:00
LAPTOP-O016UC3M\Qi Chen fc69ef33a2 Unifies popover and dropdown border styling
Standardizes border appearance for popover and dropdown UI components
by applying a consistent border color and style, enhancing visual
cohesion across interactive elements.
2025-12-11 17:36:53 +08:00
LAPTOP-O016UC3M\Qi Chen 5a687667b5 Improves code consistency and formatting across components
Refactors code for consistent indentation, spacing, and style.
Enhances readability and maintainability by aligning formatting.
No logic changes; only visual and stylistic improvements applied.
2025-12-11 17:08:03 +08:00
LAPTOP-O016UC3M\Qi Chen ba32d0d75b Migrates to Tailwind CSS v4 and improves hook deps clarity
Switches to Tailwind CSS v4 with theme configuration via CSS, removing inline CDN config for better maintainability and security.

Adds explicit eslint-disable comments in hooks to clarify dependency intent, aiding future development and preventing unnecessary warnings.

Renames props and variables reserved for future features to underscore-prefixed names, improving clarity and reducing confusion.

Removes unused catch parameters for cleaner error handling.

References to future UI and logic enhancements are annotated for maintainability and roadmap visibility.
2025-12-11 17:07:55 +08:00
LAPTOP-O016UC3M\Qi Chen 5c25d588b2 Refactor UI components and improve SFTP/port features 2025-12-11 16:33:28 +08:00
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
LAPTOP-O016UC3M\Qi Chen d6064c8499 Removes port forwarding and SFTP panel components
Deprecates mock UI scaffolds for port forwarding and SFTP file management,
streamlining the codebase and eliminating unused or obsolete interfaces.
Supports ongoing refactoring and simplification efforts.
2025-12-11 15:32:45 +08:00
LAPTOP-O016UC3M\Qi Chen 9a96e97e7b Replaces popover menus with dropdown components
Improves UI consistency and interaction by switching filter and
view mode menus from popover to dropdown components.
Enhances code clarity and future extensibility for tab controls.
2025-12-11 15:27:15 +08:00
LAPTOP-O016UC3M\Qi Chen bcad0c6865 Refactors UI and Electron main into modular subcomponents
Extracts major UI panels, file transfer, terminal controls, and SFTP logic into dedicated subcomponents for improved maintainability and clarity.
Modularizes Electron main process, delegating SSH, SFTP, terminal, port forwarding, and window management to bridge modules, reducing complexity and centralizing IPC registration.

Enables easier future development, clearer separation of concerns, and better scalability by making both frontend and backend architectures more modular and easier to reason about.
2025-12-11 15:20:42 +08:00
LAPTOP-O016UC3M\Qi Chen 83b98416d6 Replaces SFTP view with improved unified implementation
Removes the experimental SFTP view in favor of a single, consolidated file transfer UI.
Unifies feature set, refactors component logic, and streamlines interaction handling for file browsing, operations, transfer queue, conflict resolution, and permissions editing.

Improves maintainability and user experience by eliminating duplication and inconsistencies between SFTP views.
2025-12-11 14:00:06 +08:00
LAPTOP-O016UC3M\Qi Chen 51d3348ff4 Adds host creation timestamp to model and forms
Introduces a createdAt field to host objects and ensures it is set when hosts are created across relevant components.
Improves ability to track and sort hosts by creation date for better management and auditing.
2025-12-11 12:09:16 +08:00
LAPTOP-O016UC3M\Qi Chen 48dc5aa6a8 Replaces popover menus with dropdowns and improves UX
Unifies UI controls by switching popover-based menus to dropdown components for view mode, sort, and tag filtering across multiple editors. Refactors dropdown rendering to use portals for more reliable positioning, and updates menu trigger icons for clarity.

Handles EPIPE and stream errors gracefully in Electron to prevent crashes when writing to closed streams, improving terminal stability.

Enhances code maintainability and ensures consistent user experience.
2025-12-11 12:05:06 +08:00
LAPTOP-O016UC3M\Qi Chen 7a710caa60 Switches dropdowns to popovers for improved UX
Replaces dropdown menus with popovers for filter and view actions,
streamlining interactions and visual consistency. Enhances popover
positioning logic to ensure reliable rendering in Electron, addressing
layout and visibility issues with dynamic updates.
2025-12-11 11:02:13 +08:00
LAPTOP-O016UC3M\Qi Chen 4756cd7c6e Improves code consistency by fixing indentation
Standardizes indentation across dropdown and select UI components
for improved readability and maintainability.
No logic changes introduced.
2025-12-11 10:51:36 +08:00
LAPTOP-O016UC3M\Qi Chen 085ced7751 Replaces popover components with dropdowns for menus
Switches UI menu interactions from popover to dropdown for improved stacking and positioning reliability.

Updates z-index and disables problematic animations to prevent display issues, especially on first open.

Enhances consistency and visual layering of menu components across the application.
2025-12-11 10:51:04 +08:00
bincxz e82c76fdb5 Improves host chain panel layout and scrolling
Refactors the host chain section for better readability and user experience by introducing a scrollable area, refining spacing, and updating panel structure. Enhances clarity of chain visualization and available hosts list, making it easier to manage long chains.
2025-12-11 05:00:41 +08:00