Commit Graph
1707 Commits
Author SHA1 Message Date
Kang 1a9e306ec5 chore: bump version to v1.2.9 v1.2.9 2026-09-07 00:43:32 +08:00
Kang f0353f3f30 Merge pull request #594 from yaoxinghuo/feat/suggestion-tooltip-for-long-commands
feat(suggestions): show full command in tooltip for truncated suggestions
2026-09-07 00:15:47 +08:00
Kang fac0e888d4 fix(suggestions): keep truncated command tooltip above popup 2026-09-06 23:57:22 +08:00
Terry Yao 27d01c1ef8 feat(suggestions): show full command in tooltip for truncated suggestions
When command suggestions are too long to fit in the popup width, they
get truncated with ellipsis. This makes it impossible to distinguish
between two long commands that share the same prefix.

Add a truncation-aware tooltip to each suggestion item:
- Detect at runtime whether the text overflows (scrollWidth > clientWidth)
- Only show tooltip for items that are actually truncated
- Tooltip opens on mouse hover and keyboard selection (arrow keys)
- Tooltip displays the full command text with proper wrapping

Closes #593
2026-09-06 23:07:17 +08:00
Kang cd95aed314 Merge pull request #591 from nyakang/fix/menu-checkbox-icon-alignment
fix(ui): align checkable menu item icons
2026-09-06 21:37:25 +08:00
Kang 91defbe68d fix(ui): align checkable menu item icons 2026-09-06 21:33:15 +08:00
Kang 17cf165dc9 Merge pull request #589 from nyakang/fix/resource-monitor-nic-detection
fix(monitoring): relax NIC detection for virtualized hosts
2026-09-06 21:09:23 +08:00
Kang 98ebed771b fix(monitoring): relax NIC detection for virtualized hosts 2026-09-06 20:46:56 +08:00
Kang 4aca08856d Merge pull request #567 from victorwon2001/fix/issue-556
fix(terminal): 窗口重新聚焦时强制刷新终端
2026-09-06 19:12:42 +08:00
Kang 08412244e6 fix(terminal): preserve input focus on window refocus 2026-09-06 19:11:09 +08:00
Kang d6adad042c Merge pull request #588 from nyakang/feat/545-resource-monitor-network-history
feat(resource-monitor): add network traffic history and interface selector
2026-09-06 18:13:36 +08:00
Kang 8008345a46 perf(resource-monitor): avoid top-level history rerenders 2026-09-06 18:09:31 +08:00
Kang 23838be7b0 feat(resource-monitor): add network traffic history (#545) 2026-09-06 17:25:07 +08:00
Kang f4e8b499f6 refactor(stats): streamline session management in RemoteStatsSampler (#545)
- Removed the dependency on RemoteStatsSampler in the close_session function.
- Introduced session locking mechanism to prevent race conditions when fetching remote stats.
- Updated the stats fetching logic to utilize a probe plan for better efficiency.
- Enhanced the RemoteStatsSampler to manage session states and ensure proper cleanup of session data.
2026-09-06 10:31:13 +08:00
Kang c556b16aa6 chore(i18n): add "clearSearch" and "search" keys to English, Korean, and Chinese locale files 2026-09-05 01:45:03 +08:00
Kang 64d53a8076 style(saved-connections): implement expandable search functionality with keyboard navigation (#548)
- Added a new state for managing search expansion and a ref for the search input.
- Implemented focus and selection behavior for the search input when expanded.
- Enhanced keyboard navigation to handle Escape key for collapsing the search.
- Updated the search input to be read-only until focused, allowing for a cleaner UI.
- Introduced a clear search button that resets the filter text and collapses the search when clicked.
2026-09-05 01:44:52 +08:00
Kang 719ce3802b Merge pull request #581 from victorwon2001/fix/issue-468
fix(ssh): 避免初始集成注入吞掉用户输出
2026-09-05 01:05:37 +08:00
Kang 6089f09cce fix(ssh): cancel pending integration before capture exec 2026-09-05 00:57:58 +08:00
Kang 92f9af4677 feat(header): add preventWindowControlMouseFocus function and integrate it into window control buttons (#551)
- Introduced preventWindowControlMouseFocus to prevent focus shift on mouse down for window control buttons.
- Updated Header component to use this function on minimize, maximize, and close button mouse down events.
- Added tests for window control focus behavior to ensure expected functionality.
2026-09-04 23:03:42 +08:00
victorwon2001 fd1be4f8c2 fix(ssh): 避免初始集成注入吞掉用户输出 2026-09-04 22:21:55 +09:00
Kang 337e9d5194 style(tabbar): adjust color-mix percentages for active and inactive tab backgrounds (#576) 2026-09-04 17:10:09 +08:00
Kang 4fd8eb0bc9 Merge pull request #574 from victorwon2001/fix/issue-563
fix: 修复 Windows 本地终端路径同步
2026-09-04 13:05:02 +08:00
victorwon2001 1af67dacef fix: 修复 Windows 本地终端路径同步 2026-09-04 12:53:37 +09:00
Kang 944b82d99e Merge pull request #573 from victorwon2001/fix/issue-565
fix(zmodem): 改用非阻塞文件选择器
2026-09-04 09:54:47 +08:00
victorwon2001 74b13dbf86 fix(zmodem): 改用非阻塞文件选择器 2026-09-04 09:45:10 +09:00
Kang 5f479c871a Merge pull request #571 from LunaSpica/fix/settings-language-cancel
fix(settings): 设置窗口切换语言后取消无法恢复原语言
2026-09-04 01:16:57 +08:00
Kang dec04a81c8 fix(settings): preserve cancel close behavior 2026-09-04 00:54:53 +08:00
Yue-Sui 4ef2b985d5 fix(settings): 弹窗放弃更改时完成关闭流程 2026-09-04 00:40:02 +08:00
Kang 5fa177737f fix(ssh): adjust injection timeout and enhance suppression diagnostics (#564)
- Reduced the injection timeout from 30 seconds to 8 seconds for improved responsiveness.
- Introduced a new `SuppressionDiagnostics` struct to track and log suppression metrics.
- Updated the injection handling logic to incorporate the new diagnostics and timeout mechanisms.
- Refactored related functions for clarity and maintainability.
2026-09-04 00:39:34 +08:00
Kang 36879ade3d Merge pull request #570 from victorwon2001/fix/issue-535
fix: 修复 Windows 中键粘贴触发 Vim 鼠标输入
2026-09-03 23:47:29 +08:00
Yue-Sui 807f0af544 fix(settings): language preview respects cancel/draft flow 2026-09-03 23:28:00 +08:00
victorwon2001 6d01a494f1 fix: 修复 Windows 中键粘贴触发 Vim 鼠标输入 2026-09-04 00:19:57 +09:00
victorwon2001 1413da8899 fix(terminal): 窗口重新聚焦时强制刷新终端 2026-09-03 22:26:14 +09:00
Kang b85d4c2c84 Merge pull request #566 from victorwon2001/fix/issue-557
fix(notes): 修复右键重命名焦点丢失
2026-09-03 20:34:07 +08:00
victorwon2001 99540c6abe fix(notes): 修复右键重命名焦点丢失 2026-09-03 21:30:51 +09:00
Kang f9e52a3e54 chore(i18n): update descriptions for reconnecting to last working directory
- Revised the English, Korean, Simplified Chinese, and Traditional Chinese translations for the reconnectRestoreCwdDesc key to clarify the behavior of reconnecting to the last known working directory in SSH sessions.
2026-09-03 20:01:24 +08:00
Kang b148948623 refactor(terminal): change default behavior for reconnecting to previous working directory
- Updated the default setting for reconnecting to the previous working directory from true to false across various components and settings.
- Adjusted related tests to reflect the new default behavior.
2026-09-03 20:01:03 +08:00
Kang cd64b8f178 Merge pull request #555 from llyVictory/feat/ssh-session-reconnect
feat(terminal): SSH 重连后自动恢复断联前工作目录
2026-09-03 19:25:39 +08:00
llyVictory 4a63b90e28 Merge branch 'nyakang:main' into feat/ssh-session-reconnect 2026-09-03 17:06:45 +08:00
lly 93fa27b54a merge: update SSH reconnect branch with upstream main 2026-09-03 17:02:47 +08:00
Kang e1d587f641 refactor(LocalTerminal, SshForm): reorganize dynamic tab title components
- Moved dynamic tab title components within LocalTerminal and SshForm for improved structure and consistency.
- Updated the layout to ensure proper alignment and spacing for better user experience.
- Retained functionality of dynamic tab title switches in both components.
2026-09-03 16:55:25 +08:00
lly 0faa75dc0f fix(terminal): harden SSH reconnect cwd restoration 2026-09-03 16:36:44 +08:00
Kang 7858853dbd docs: update CHANGELOG for version 1.2.8
- Added SSH feature to prune NyaTerm's Bash shell-integration commands from remote command history, including support for shells with cmdhist disabled.
- Restyled the built-in editor's search panel with theme-aware controls, focus rings, and checkbox accents.
- Ensured shell-integration injection lines comply with remote Linux PTY canonical-input limits.
2026-09-03 10:35:29 +08:00
Kang bb7d1546bc chore: bump version to v1.2.8 v1.2.8 2026-09-03 10:31:58 +08:00
Kang 2c77b77e90 style(codeMirror): update search panel styling to use theme colors (#558)
- Enhanced the styling of the CodeMirror search panel by removing the light button gradient and implementing theme colors for buttons and inputs.
- Added focus ring and checkbox accent styles to improve accessibility and visual consistency.
- Updated tests to verify the new styling rules for the search panel.
2026-09-03 10:29:20 +08:00
Kang 85d882ab1e Merge pull request #562 from nyakang/fix/ssh-startup-prompt-suppression
fix(ssh): improve injection script formatting and readability
2026-09-03 10:17:40 +08:00
Kang 2ea9abf0ea feat(ssh): implement bash history pruning in injection script
- Introduced a mechanism to prune bash history entries within a defined range, enhancing the management of command history.
- Added a new constant for maximum history entries and updated the injection script to utilize this feature.
- Improved the script's logic to ensure proper handling of history entries, including marking the beginning and end of relevant history sections.
2026-09-03 10:17:23 +08:00
Kang 18fdae9b81 fix(ssh): improve injection script formatting and readability
- Reformatted the injection script in `osc.rs` to enhance clarity and maintainability.
- Consolidated multiple lines into a single compound entry while ensuring compliance with remote PTY input limits.
- Updated function comments for better understanding of the script's purpose and functionality.
2026-09-03 09:50:57 +08:00
lly b97f759f25 fix(terminal): harden reconnect cwd restore per review 2026-09-03 09:49:31 +08:00
Kang 55a143e2f7 docs: update CHANGELOG for version 1.2.7
- Added new features including Ctrl+mouse-wheel font zoom in the editor, a context-menu action for quick commands, dynamic terminal tab titles, shared SFTP helpers, and improved AI event handling.
- Fixed issues related to file drop target detection, terminal selection preservation, tab scrolling behavior, and RDP connection editing.
2026-09-02 21:24:30 +08:00