Revise SDL-0180 - Broaden Choice Uniqueness #1115
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduction
This revises SDL-0180 to provide additional motivation and solution detail, downsides, and alternatives to make this proposal implementable.
Motivation
Adds additional detail to the "Motivation" section including use-cases:
Use-Case 1 (Choice Sets)
PerformInteraction (Keyboard)
feature to input "McDonalds"PerformInteraction
with the following choices:Choice.menuName = McDonalds
,Choice.secondaryText = 0.9 mi
Choice.menuName = McDonalds
,Choice.secondaryText = 1.7 mi
This will result in a failure when attempting to show the
PerformInteraction
.Use-Case 2 (Menus)
The developer wishes to display use the menu system like the following:
AddCommand
)AddCommand
)AddSubmenu
)AddCommand
)Where the "McDonalds" items are menu items related as sub-menu items of the "Nearby Restaurants" main menu items, either
AddCommand
s orAddSubmenu
interchangeably.Proposed solution
Adds additional detail to the proposed solution section to describe how the de-duplicated strings will look:
Adds
AddSubmenu
as an affected RPCPotential downsides
The previous version of this proposal described no downsides. This new version adds four:
(x)
may result in the string being too long for the menu space available. This will not be handled in the initial version of this update.Impact on existing code
The impact on existing code was updated to:
This will require a documentation update to tell developers how the system will work on various RPC versions, but will not require a minor version change on any platform.
Alternatives considered
The previous version of the proposal described no alternatives. This new version adds three:
(x)
. For example:- x
, or other options.