Skip to content
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

Implement SDL-0184 CancelInteraction RPC #1346

Merged
merged 115 commits into from Sep 13, 2019

Conversation

NicoleYarroch
Copy link
Contributor

@NicoleYarroch NicoleYarroch commented Jul 12, 2019

Fixes #1055, #1338

This PR is ready for review.

Risk

This PR makes minor API changes.

Testing Plan

  • Tests added for the CancelInteraction response and request classes
  • Test cases added to the screen manager specs
  • Smoke tested against sdl_core v.6.0

Summary

  • Added CancelInteraction request and response classes to the library
  • Added cancelID parameter to Alert, PerformInteraction, Slider, and ScrollableMessage RPCs
  • Added cancel method to choice set manager
  • Added dismissKeyboard: method to screen manager
  • Deprecated the current presentKeyboard: method and created a new one that returns a value that can be passed to dismissKeyboard: to specify which keyboard to dismiss

Changelog

Enhancements
  • Added new RPC CancelInteraction to the library
  • Screen manager now supports canceling/dismissing a choice set and dismissing a presented keyboard.

Tasks Remaining:

  • Test against sdl_core v.6.0
  • Set the finalized functionID for CancelInteraction
  • Add convenience init for CancelInteraction request
  • Update Swift example app
  • Update Obj-C example app
  • Deprecate the current presentKeyboard: method
  • Update the dismissKeyboard:method

CLA

@NicoleYarroch NicoleYarroch added enhancement proposal Accepted SDL Evolution Proposal labels Jul 12, 2019
@NicoleYarroch NicoleYarroch added this to the 6.4.0 milestone Jul 12, 2019
@NicoleYarroch NicoleYarroch self-assigned this Jul 12, 2019
@NicoleYarroch NicoleYarroch added this to In progress in v6.4 via automation Jul 12, 2019
@joeljfischer joeljfischer changed the title WIP: New RPC CancelInteraction WIP: Implement SDL-0184 CancelInteraction RPC Jul 15, 2019
SmartDeviceLink/SDLChoiceSetManager.h Outdated Show resolved Hide resolved
SmartDeviceLink/SDLChoiceSetManager.h Outdated Show resolved Hide resolved
SmartDeviceLink/SDLChoiceSetManager.h Show resolved Hide resolved
SmartDeviceLink/SDLChoiceSetManager.m Outdated Show resolved Hide resolved
SmartDeviceLink/SDLChoiceSetManager.m Show resolved Hide resolved
SmartDeviceLink/SDLPresentKeyboardOperation.h Outdated Show resolved Hide resolved
SmartDeviceLink/SDLScreenManager.h Show resolved Hide resolved
v6.4 automation moved this from Review in progress to Reviewer approved Aug 14, 2019
NicoleYarroch and others added 4 commits August 15, 2019 13:59
v6.4 automation moved this from Reviewer approved to Review in progress Sep 13, 2019
Choice set manager method `presentKeyboardWithInitialText:delegate` now matches the coresponding screen screen manager method
v6.4 automation moved this from Review in progress to Reviewer approved Sep 13, 2019
@joeljfischer joeljfischer merged commit 897d491 into develop Sep 13, 2019
v6.4 automation moved this from Reviewer approved to Done Sep 13, 2019
@joeljfischer joeljfischer deleted the feature/issue_1055_cancel_interaction_RPC branch September 13, 2019 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Accepted SDL Evolution Proposal
Projects
No open projects
v6.4
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants