-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): get_state_label returns the state label for UI display
enable the frontend to display a message when an arbitrary option defined in the schema is updated. Closes #447 the option name eg. ascii_mode is passed to the notification handler function, there, get_state_label gives IME frontend the access to the human readable label for the current state of the option defined in *.schema:/switches/@*/states. when selection is changed in a radio group, more than one option in the group is updated so it only returns a non-empty label while querying the selected option.
- Loading branch information
Showing
3 changed files
with
149 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters