Skip to content

feat: enhance command management and UI for remote and serial commands - #27

Merged
sickkick merged 3 commits into
mainfrom
feat/26-command-list-editor
Nov 23, 2026
Merged

sickkick merged 3 commits into
mainfrom
feat/26-command-list-editor

Conversation

@sickkick

Copy link
Copy Markdown
Collaborator
  • Updated command handling to support individual command forms for editing and importing JSON arrays.
  • Improved UI elements in CONTEXT.md and README.md to reflect new command management features.
  • Added new translations and error handling for command-related operations.
  • Refactored command utility functions for better clarity and functionality.
  • Enhanced tests to cover new command features and ensure robust validation.

This update streamlines the user experience for managing infrared commands and serial presets, making it easier to add, edit, and import commands.

- Updated command handling to support individual command forms for editing and importing JSON arrays.
- Improved UI elements in CONTEXT.md and README.md to reflect new command management features.
- Added new translations and error handling for command-related operations.
- Refactored command utility functions for better clarity and functionality.
- Enhanced tests to cover new command features and ensure robust validation.

This update streamlines the user experience for managing infrared commands and serial presets, making it easier to add, edit, and import commands.
- Revised the description for the serial command import feature in both strings.json and en.json to enhance clarity. The updated text specifies that the JSON array contains objects with name and payload, and clarifies the use of an empty array for no presets.
- Introduced a new utility function `stored_int` to streamline the conversion of command parameters to integers, enhancing error handling for invalid inputs.
- Updated the `ir_send_repeat` function to utilize `stored_int`, ensuring consistent behavior when processing command overrides.
- Adjusted the `ItachRemoteCommandButton` class to leverage the new utility for command parameters, improving code clarity and maintainability.
- Enhanced tests to validate the new functionality and ensure robustness in command handling.
@sickkick
sickkick merged commit 38c9d86 into main Nov 23, 2026
2 checks passed
@sickkick
sickkick deleted the feat/26-command-list-editor branch November 23, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant