4 Commits
Author SHA1 Message Date
Kang ff0fad925c refactor(security): replace screen lock with separate startup and idle lock settings
- Updated security settings to introduce distinct options for enabling startup and idle locks, replacing the previous combined screen lock setting.
- Modified relevant components and contexts to accommodate the new settings structure.
- Implemented migration logic to transition from the legacy screen lock to the new settings, ensuring backward compatibility.
- Enhanced user interface to reflect the changes in security options.
2026-08-27 11:50:54 +08:00
Kang d83419d58b feat(quickCommands): implement drag-and-drop functionality for quick command categories (#370)
- Added support for moving quick command categories within the UI, allowing users to reorder categories through drag-and-drop.
- Introduced new interfaces and utility functions to manage category movement and sorting.
- Enhanced the QuickCommands component to handle new category creation and validation.
- Updated related tests to ensure correct behavior of the new features.
2026-08-12 16:33:40 +08:00
Kang 1412f314ab feat(build): add unlock rescue script and build command
- Introduced a new PowerShell script `build-unlock-rescue.ps1` to facilitate the unlocking process for NyaTerm.
- Added a corresponding build command `build:unlock-rescue` in package.json to streamline the execution of the unlock rescue script.
- Implemented functionality in the script to create a backup of the database and disable screen lock settings.
2026-07-13 10:58:22 +08:00
Kang 312d53a6f5 feat: Implement quick commands import functionality with scripts and example JSON
This commit introduces two new scripts, `import-quick-commands.ps1` and `import-quick-commands.sh`, for importing quick commands into the NyaTerm database. It also adds an example JSON file, `quick-commands.import.example.json`, demonstrating the expected format for quick commands and categories. Additionally, a new Rust example, `import_quick_commands.rs`, is added to handle the import logic, including options for database path, replacement, dry run, and backup. This enhancement streamlines the process of managing quick commands within the application.
2026-05-12 13:17:19 +08:00