Commit Graph
485 Commits
Author SHA1 Message Date
Kang 63eebb1352 fix: Initialize timerRef in CopyButton component to avoid potential undefined behavior
This commit updates the CopyButton component by initializing the timerRef with `undefined` to ensure proper type handling. This change enhances the reliability of the component's functionality when managing clipboard operations.
2026-05-10 20:00:17 +08:00
Kang 2022406bf8 chore: Update localization files with new entries for password management features
This commit enhances the English and Chinese localization files by adding new translations for clipboard functionality, password visibility toggling, and updated descriptions for unlocking secrets. These changes improve the user experience by providing clearer instructions and feedback in both languages.
2026-05-10 01:34:26 +08:00
Kang 8695a825ae feat: Implement password reveal functionality in PasswordManagementTab
This commit enhances the PasswordManagementTab by adding a password reveal feature, allowing users to toggle the visibility of their saved passwords. It introduces a password cache for improved state management and integrates a CopyButton for easy copying of revealed passwords. The overall user experience is improved with better handling of loading states and visibility toggling.
2026-05-10 01:34:06 +08:00
Kang 6d41a8b4f9 refactor: Consolidate secret unlocking state management in SecurityAuthPanel
This commit refactors the SecurityAuthPanel component by consolidating the state management for unlocking secrets. The separate states for passwords and credentials have been merged into a single state variable, `secretsUnlocked`, simplifying the logic and improving maintainability. The relevant components have been updated to reflect this change, enhancing the overall structure of the code.
2026-05-10 01:33:59 +08:00
Kang 3683f2b286 feat: Enhance CredentialManagementTab with password reveal functionality and improved state management
This commit updates the CredentialManagementTab to include a password reveal feature, allowing users to toggle the visibility of saved passwords. It introduces a password cache and manages the state of revealed passwords and loading indicators. Additionally, a CopyButton is integrated for usernames and passwords, enhancing user experience in credential management.
2026-05-10 01:33:52 +08:00
Kang 65656044ab feat: Add CopyButton component for clipboard functionality
This commit introduces a new CopyButton component that allows users to copy text to the clipboard with visual feedback. It utilizes the Clipboard API and includes a tooltip to indicate the copy status, enhancing user experience in managing text inputs.
2026-05-10 01:33:44 +08:00
Kang fde6b6205b chore: Add credential management and secret unlocking localization support
This commit enhances the English and Chinese localization files by adding new entries for credential management and secret unlocking features. It includes translations for credential autofill, credential manager actions, and secret unlock prompts, improving the user experience for managing credentials across different languages.
2026-05-09 23:39:35 +08:00
Kang 46fdb5587b feat: Enhance Password Management with Secret Unlocking Functionality
This commit introduces a new SecretUnlockFooter component to manage the locking and unlocking of secrets within the PasswordManagementTab. It adds functionality to handle password verification and state management for displaying saved passwords based on the unlock status. The PasswordManagementTab is updated to integrate these features, improving user experience and security in credential management.
2026-05-09 23:39:09 +08:00
Kang dacfa9bfa8 feat: Implement credential management features with dialog and terminal autofill support
This commit introduces a new CredentialDeleteDialog component for confirming credential deletions and a CredentialManagementTab for managing saved credentials. It also adds CredentialSuggestions for autofilling credentials in the terminal, enhancing user experience. The backend is updated to support credential operations, including saving, deleting, and retrieving credentials, ensuring seamless integration with the terminal's autofill functionality.
2026-05-09 23:38:57 +08:00
Kang 5db85a0a17 refactor: Enhance ActionLinksAddon and KeywordHighlighter with improved timer management and refresh logic
This commit refactors the ActionLinksAddon and KeywordHighlighter classes by renaming and consolidating timer variables for better clarity. It introduces separate methods for handling write and scroll refreshes, improving performance during rapid output and scrolling events. Additionally, the debounce and throttle mechanisms are updated to enhance responsiveness while maintaining existing functionality.
2026-05-09 15:59:36 +08:00
Kang a7fbf8444a refactor: Rename sendInputRef to executeActionCommandRef and streamline command execution logic in XTerminal
This commit refactors the XTerminal component by renaming the sendInputRef to executeActionCommandRef for clarity. It also consolidates the command execution logic into a new executeInputCommand function, improving code organization and readability. Additionally, the useActionLinks hook is updated to reflect this change, ensuring consistent command handling across the application.
2026-05-09 15:45:10 +08:00
Kang 8e5385dbd2 chore: bump version to v1.0.1 v1.0.1 2026-05-08 16:34:08 +08:00
Kang 4f8bfa64f0 refactor: Clean up FileExplorer component by removing unused code and optimizing state management
This commit refactors the FileExplorer component by removing the unused TransferEventPayload interface and the getParentPath function, simplifying the codebase. Additionally, it optimizes state management by utilizing refs for active session ID and current path, enhancing performance and readability while maintaining existing functionality.
2026-05-08 16:31:01 +08:00
Kang 11ccfb311c refactor: Simplify FileExplorer component structure and improve accessibility
This commit refactors the FileExplorer component by streamlining the rendering logic and enhancing accessibility features. The list container now has a consistent height and improved focus handling, while redundant code has been removed for better readability. The overall user experience is enhanced by maintaining the same functionality with a cleaner implementation.
2026-05-08 10:10:05 +08:00
Kang 5cd2783102 feat: Add prompt highlighting support in keywordHighlightPresets
This commit introduces a new highlighting pattern for prompts in the keywordHighlightPresets.ts file, along with corresponding color definitions for both dark and light themes. The new prompt rule enhances the keyword highlighting feature by allowing users to visually distinguish prompt symbols in terminal outputs.
2026-05-07 18:11:23 +08:00
Kang a46c9f2ca7 chore: Update terminal session group label in Chinese localization
This commit modifies the label for the terminal session group in the Chinese localization file, changing it from "终端与会话" to "终端" for improved clarity and conciseness.
2026-05-07 18:01:57 +08:00
Kang 0499a99de9 refactor: Update terminal settings group and component identifiers
This commit refactors the SettingsPage by updating the terminal session group icon and changing the identifier for the terminal component to "terminal-general". The items in the terminal session group have also been modified for better clarity and organization.
2026-05-07 18:01:44 +08:00
Kang 1567034d84 chore: Update application tagline in configuration and localization files
This commit modifies the tagline in the Docusaurus configuration and updates the description in English and Chinese localization files to better reflect the application's purpose as a desktop client for SSH-centric operations and mixed terminal workflows.
2026-05-07 17:00:03 +08:00
Kang 15c57d5f28 refactor: Simplify file upload handling in AutoUploadPage
This commit refactors the handleUpload function in FileUploadPage.tsx by removing unnecessary async/await syntax for the emit and invoke calls, improving code readability and performance. The error handling for the upload process is now managed with a catch block directly on the invoke call.
2026-05-07 15:33:36 +08:00
Kang c148dfd397 style: Update operator colors in dark and light rule palettes 2026-05-07 15:33:24 +08:00
Kang a715966ef9 feat: Update operator regex pattern for keyword highlighting
This commit modifies the regex pattern for operators in the keywordHighlightPresets.ts file to include additional characters such as '-', '=', '<', '>', and '|', enhancing the accuracy of operator matching in the highlighting feature.
2026-05-07 15:12:24 +08:00
Kang 3a4e0d7b0c docs: Update CLAUDE.md with new backend capabilities and persistence model changes
This commit enhances the documentation in CLAUDE.md by adding details about new backend capability areas, including cloud sync and AI features. It also updates the persistence model section to reflect the transition from standalone JSON files to a primary redb store, along with the inclusion of new important documents and encryption practices for sensitive data.
2026-05-07 14:11:11 +08:00
Kang 185f2b61a9 feat: Integrate single instance support in Tauri application
This commit enhances the Tauri application by integrating the tauri-plugin-single-instance, allowing the application to ensure only a single instance runs at a time. The integration is conditional based on the target operating system, improving user experience on supported platforms.
2026-05-06 17:38:35 +08:00
Kang 23bae462f4 chore: Add tauri-plugin-single-instance dependency to Cargo.toml and Cargo.lock
This commit introduces the tauri-plugin-single-instance version 2.4.2 as a dependency in both Cargo.toml and Cargo.lock, enhancing the Tauri application with single instance capabilities.
2026-05-06 17:38:27 +08:00
Kang f47c0bbd05 fix: Update datetime regex patterns for increased precision
This commit modifies the regex patterns for datetime in the keywordHighlightPresets.ts file to allow for up to 9 decimal places in fractional seconds, enhancing the accuracy of datetime matching.
2026-05-06 16:57:14 +08:00
Kang 63c3ffdc22 docs: Update changelog with new releases and enhancements
This commit adds detailed changelog entries for versions 1.0.0, 0.9.0, 0.8.5, 0.8.4, and 0.8.3, including new features, changes, fixes, and documentation updates. It also modifies the changelog page to support semantic versioning formatting for version labels.
2026-05-06 16:37:14 +08:00
Kang f568728c11 feat: Refactor Umami analytics plugin integration in Docusaurus
This commit replaces the previous Umami plugin dependency with a custom implementation located in the src/plugins/umami directory. The new implementation includes enhanced configuration options and a dedicated script for analytics tracking, improving maintainability and flexibility in analytics setup.
2026-05-06 14:34:00 +08:00
Kang 6be772b0fd chore: Update Docusaurus dependencies in package.json and pnpm-lock.yaml
This commit removes the @dipakparmar/docusaurus-plugin-umami dependency and adds @docusaurus/utils-validation with version 3.10.1, along with updates to other Docusaurus packages to their latest versions. This ensures compatibility and incorporates the latest features and fixes.
2026-05-06 14:33:49 +08:00
Kang 31b4fe9766 refactor: Remove optional Umami analytics configuration settings from Docusaurus config
This commit cleans up the Docusaurus configuration by removing several optional settings related to the Umami analytics plugin, streamlining the configuration for better clarity and maintainability.
2026-05-06 14:09:23 +08:00
Kang a2b778eae9 chore: Add @dipakparmar/docusaurus-plugin-umami dependency to package.json and pnpm-lock.yaml
This commit introduces the Umami analytics plugin as a dependency in the Docusaurus project, updating both package.json and pnpm-lock.yaml to include version 2.4.0. This addition enhances the analytics capabilities of the website.
2026-05-06 14:07:23 +08:00
Kang 1474e2fc5c feat: Add Umami analytics plugin to Docusaurus configuration
This commit integrates the Umami analytics plugin into the Docusaurus configuration, enabling website tracking and analytics. The configuration includes essential options such as website ID and analytics domain, along with several optional settings for data tracking and caching.
2026-05-06 14:07:11 +08:00
Kang fb759851eb chore: Delete .github/workflows/debug-publish-r2.yml v1.0.0 2026-05-06 12:57:07 +08:00
Kang 17cd750051 feat: Add GitHub Actions workflow for R2 asset publishing 2026-05-06 12:55:57 +08:00
Kang 0e112d4b7c fix: Add TAG environment variable to build-release workflow 2026-05-06 12:50:56 +08:00
Kang 0bdb2745ce chore: bump version to v1.0.0 2026-05-06 12:03:29 +08:00
Kang 7e592e8c1a Merge branch 'main' of https://github.com/nyakang/nyaterm 2026-05-06 11:58:46 +08:00
Kang ca2b301257 docs: Update home page images for dark and light themes
This commit replaces several binary image files for the home page, including files for various sections such as files, overview, product, security, sync, and terminal in both dark and light themes. The updates enhance the visual consistency and overall design of the application.
2026-05-06 11:29:40 +08:00
Kang a24ddffe56 feat: Enhance download platform management with architecture support and dynamic fetching
This commit introduces a more robust download platform management system by defining specific types for download platforms and their keys, including support for ARM architectures. It updates the download button component to dynamically fetch the latest download manifest, allowing for real-time updates to available download links. Additionally, the platform detection logic is improved to better handle different operating systems and architectures, enhancing the user experience when selecting download options.
2026-05-06 10:50:11 +08:00
Kang 8095e93a63 chore: Update updater endpoint in tauri configuration for improved version fetching
This commit modifies the updater endpoint in the tauri configuration file, changing it from a specific URL to a new endpoint that retrieves the latest version information. This update enhances the application's ability to check for updates more efficiently.
2026-05-06 10:40:11 +08:00
Kang c56e9ee43b feat: Add Cloudflare R2 publishing workflow
Added a new job to publish release assets to Cloudflare R2, including downloading release assets, building the latest.json file, uploading installers, and verifying the uploaded latest.json.
2026-05-06 10:30:59 +08:00
Kang 7e9c999e05 chore: Delete .github/workflows/debug-publish-r2.yml 2026-05-06 10:30:25 +08:00
Kang 8a5d13688d fix: Add download of GitHub Release assets in workflow 2026-05-06 10:20:33 +08:00
Kang ef9847d8ba chore: Add GitHub Actions workflow for R2 asset publishing 2026-05-06 10:15:44 +08:00
Kang 900297a87d chore: Add new session management localization strings in English and Chinese
This commit introduces several new localization strings related to session management in both English and Chinese. The additions include labels for "All Sessions," "New Session," "Recent Sessions," and messages indicating the absence of recent, saved, and shell sessions. These updates enhance the user interface by providing clearer context for session-related actions.
2026-05-05 22:55:21 +08:00
Kang d01d08ec78 feat: Enhance connection management with recent connection tracking
This commit introduces functionality to track and record recent connections within the application. A new `recordRecentConnection` method is added to the AppContext, allowing the application to maintain a list of recently used connections. The `TabBar`, `TabWindowsWorkspace`, and other components are updated to utilize this feature, improving user experience by providing quick access to previously connected sessions. Additionally, connection types are now managed through a dedicated mapping function, streamlining session creation logic.
2026-05-05 22:55:06 +08:00
Kang b827d66fa9 feat: Update logo SVG with new gradient and eye cutout mask
This commit modifies the logo SVG to replace the gradient with a new "nya-gradient" and introduces a mask for smooth transparent eyes. The changes enhance the visual design of the logo, aligning it with the updated branding for NyaTerm.
2026-05-05 20:06:58 +08:00
Kang f7875d7871 refactor: Update references from Dragonfly to NyaTerm across documentation and codebase
This commit replaces all instances of "Dragonfly" with "NyaTerm" in various files, including documentation, configuration, and UI elements. The changes ensure consistency in branding and improve clarity for users transitioning from the previous version. Additionally, updates to the changelog and README reflect the new application name and its features.
2026-05-05 20:05:53 +08:00
Kang e48c47abc4 refactor: Remove PowerShell support from ShellKind and related logic
This commit removes the PowerShell variant from the ShellKind enum and updates the associated logic in the detect_shell_type function and injection_script function. The changes streamline shell type detection and eliminate unused PowerShell handling, improving code clarity and maintainability.
2026-05-01 00:26:04 +08:00
Kang f3d03549ff chore: Add AI execution status messages in English and Chinese locales
This commit introduces a new localization string for indicating when AI is executing a command in both English and Chinese. The addition enhances user feedback during AI command execution, improving the overall user experience in the application.
2026-05-01 00:19:34 +08:00
Kang b2c068b5a3 feat: Implement marker-based output capture for AI command execution
This commit introduces a new module for capturing output from AI commands executed in the terminal. It utilizes marker-based techniques to inject commands into the PTY session, allowing for seamless output interception regardless of the user's context. The implementation includes a new `OutputCaptureProcessor` to manage active captures and suppress unwanted output during command execution. Additionally, the `execute_command_on_session` function is updated to leverage this new capture mechanism, enhancing the overall functionality of the AI agent.
2026-05-01 00:19:13 +08:00