- 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.
- 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.
- 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.
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.