-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDL-0238] Keyboard Enhancements #366
[SDL-0238] Keyboard Enhancements #366
Conversation
@santhanamk the PR is ready for Ford review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ymalovanyi Code looks good.
@ymalovanyi is this ready for Livio Reivew? |
@jordynmackool @crokita the description was fixed to include all sections from the template and the code was tested against the Core and HMI (corresponded links also included in the description). Please review. Also, please take into account that the JavaScript Suite doesn't contain Choice Set Manager (it seems it will be added in the implementation of https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0272-sdl-javascript-manager-layer.md) therefore only RPC changes of the proposal included here and we have tested this against Core with cases defined in the description. |
@ymalovanyi / @vladmu the proposal markdown file has been updated per the revisions included in the accepted with revisions review issue: Revise SDL-0238 Keyboard Enhancements. Please make the needed updates to this PR and then tag @renonick87 to review when ready. Thanks! |
…eyboard-Enhancements # Conflicts: # tests/Test.js
@renonick87 all required adjustments were made, the PR is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ymalovanyi From an initial review, the content of this PR looks good. But with the addition of the ChoiceSetManager in #371, there are additional updates needed for the manager to support this feature.
…eyboard-Enhancements # Conflicts: # tests/Test.js
@renonick87, we've made additional changes to the ChoiceSetManager. Moreover, this aligned with the last state of Java PR smartdevicelink/sdl_java_suite#1587. We have tested the code with the Core/HMI. Please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ymalovanyi See my feedback for a minor suggestion.
@@ -306,6 +306,8 @@ class _PresentChoiceSetOperation extends _Task { | |||
} else if (onKeyboardInput.getEvent() === KeyboardEvent.ENTRY_ABORTED || onKeyboardInput.getEvent() === KeyboardEvent.ENTRY_CANCELLED) { | |||
// notify of abort / cancelation | |||
this._keyboardListener.onKeyboardDidAbortWithReason(onKeyboardInput.getEvent()); | |||
} else if (onKeyboardInput.getEvent().equals(KeyboardEvent.INPUT_KEY_MASK_ENABLED) || onKeyboardInput.getEvent().equals(KeyboardEvent.INPUT_KEY_MASK_DISABLED)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This addition should also be included in the _PresentKeyboardOperation.js file.
Hey @renonick87 , changes were added. |
Fixes #340
Risk
This PR makes minor API changes.
Testing Plan
Unit Tests
Added unit tests cover [SDL-0238] Keyboard Enhancements changes
Core Tests
KeyboardCapabilities
can be received from HMIKeyboardInputMask
can be received from HMIKeyboardEvent
enum contains two additional values"INPUT_KEY_MASK_ENABLED"
, and"INPUT_KEY_MASK_DISABLED"
ConfigurableKeyboards
can be received from HMIkeyboardCapabilities
property is present inWindowCapability
struct, and containsconfigurableKeys
propertyKeyboardLayout
enum contains additional value"NUMERIC"
maskInputCharacters
andcustomizeKeys
properties in the structKeyboardProperties
can be received from HMISetGlobalProperties
message requestkeyboardProperties
parameter can be sent withkeyboardLayout
property set to"NUMERIC"
, and definedmaskInputCharacters
andcustomizeKeys
propertiesCore version / branch / commit hash / module tested against: LuxoftSDL/sdl_core#sdl_0238_keyboard_enhancements
HMI name / version / branch / commit hash / module tested against: LuxoftSDL/sdl_hmi#sdl_0238_keyboard_enhancements
Summary
Applied [SDL-0238] Keyboard Enhancements changes
Changelog
Breaking Changes
N/A
Enhancements
KeyboardCapabilities
,ConfigurableKeyboards
KeyboardInputMask
Bug Fixes
N/A
Tasks Remaining:
N/A
CLA