BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

Prompt properties 'value' and 'default' value shouldn't share the same term

Open sangwoohaan opened this issue 7 years ago • 6 comments

Screen Shot 2019-10-04 at 12 06 13 PM

The word 'value' is being used with different meanings between the two properties side by side. Need to come up with a new name for one of them.

@yochay @vishwacsena @mareekuh @cwhitten

sangwoohaan avatar Oct 04 '19 19:10 sangwoohaan

Open to suggestions on names. But here's what they map to -

  1. Value - For every turn of the prompt, this expression is evaluated and if it is not null, then this is set as the value for the property and the prompt completes.
  2. Default value - This is only used when we have prompted for max turn count number of times. So if the max turn count is set to 3 and we have already prompted 3 times, we will take the value (if specified) via default value property (or null otherwise) and the prompt completes.

Given that, we could change Default value to Value on max turn count. Does that resonate? @sangwoohaan ; @yochay ; @mareekuh ; @cwhitten

vishwacsena avatar Oct 08 '19 19:10 vishwacsena

I've removed the 4.6 label as the work item is attached to the schema/content updates.

Here are a couple other options - I feel strongly on what this should be.

Value after max turn count surpassed Fallback value after max turn count hit

cwhitten avatar Oct 09 '19 14:10 cwhitten

I think the Value field is more confusing when people see it as a field to put a value, whereas it really is asking for an expression to recognize. It should be called something like Recognizing rule and update the description to 'A prebuilt entity with an expression to recognize from user answer'

sangwoohaan avatar Oct 09 '19 23:10 sangwoohaan

See also #1433

mareekuh avatar Oct 31 '19 22:10 mareekuh

@vishwacsena I would propose to add the following copy inside the field: <'Enter value to use when max turn count was exceeded >
For 'value' we should display the description text that one gets when clicking (i)

mareekuh avatar Nov 08 '19 21:11 mareekuh

This should be tracked via SDK issue - https://github.com/microsoft/botbuilder-dotnet/issues/2934

vishwacsena avatar Nov 19 '19 00:11 vishwacsena