mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 23:20:46 +00:00
* feat: add SFTP path bookmarks for dual-pane view - Add SftpBookmark interface and sftpBookmarks field to Host model - Create useSftpBookmarks hook with toggle/delete/list operations - Add updateHosts callback through SftpContext for persistence - Add bookmark star button with Popover dropdown in SftpPaneToolbar - Wire bookmarks from App.tsx → SftpView → SftpContextProvider → SftpPaneView - Add i18n translations for en and zh-CN Closes #193 * refactor: replace encoding Select with compact icon Popover in SFTP toolbar Replace the wide Select dropdown for filename encoding with a compact Languages icon button + Popover menu, matching the SftpModal style. * feat: add bookmark support to SFTPModal with shared hook Refactor useSftpBookmarks to accept host/onUpdateHost params directly instead of reading from SftpContext, enabling reuse in both SftpPaneView (dual-pane) and SFTPModal (terminal). - Refactor useSftpBookmarks hook to be context-agnostic - Add bookmark star + Popover UI to SftpModalHeader - Wire onUpdateHost from Terminal.tsx through SFTPModal - Update SftpPaneView to use the new hook interface