Use value property for improved experience (#1465)

This commit is contained in:
vishwacsena 2019-11-02 06:20:33 -07:00 коммит произвёл Chris Whitten
Родитель af29ab7af7
Коммит 1b3c3f38f3
1 изменённых файлов: 8 добавлений и 48 удалений

Просмотреть файл

@ -170,24 +170,6 @@
"id": "723797"
},
"actions": [
{
"$type": "Microsoft.SetProperty",
"$designer": {
"id": "883364",
"name": "Set a Property"
},
"property": "dialog.item",
"value": "@itemTitle"
},
{
"$type": "Microsoft.SetProperty",
"$designer": {
"id": "637875",
"name": "Set a Property"
},
"property": "dialog.listType",
"value": "@listType"
},
{
"$type": "Microsoft.TextInput",
"$designer": {
@ -199,7 +181,8 @@
"property": "dialog.item",
"alwaysPrompt": false,
"allowInterruptions": "turn.recognized.score > 0.7 && !#AddItem && !@itemTitle",
"outputFormat": "none"
"outputFormat": "none",
"value": "@itemTitle"
},
{
"$type": "Microsoft.IfCondition",
@ -243,7 +226,8 @@
},
"recognizerOptions": {
"noValue": false
}
},
"value": "@listType"
}
]
},
@ -290,15 +274,6 @@
"id": "332735"
},
"actions": [
{
"$type": "Microsoft.SetProperty",
"$designer": {
"id": "500317",
"name": "Set a Property"
},
"property": "dialog.listType",
"value": "@listType"
},
{
"$type": "Microsoft.IfCondition",
"$designer": {
@ -319,6 +294,7 @@
"alwaysPrompt": false,
"allowInterruptions": "turn.recognized.score > 0.7 && !#DeleteItem && !@listType",
"outputFormat": "value",
"value": "@listType",
"choices": [
{
"value": "Shopping"
@ -353,15 +329,6 @@
},
"condition": "user.taskLists && user.taskLists[dialog.listType] && count(user.taskLists[dialog.listType]) > 0",
"actions": [
{
"$type": "Microsoft.SetProperty",
"$designer": {
"id": "734956",
"name": "Set a Property"
},
"property": "dialog.item",
"value": "@itemTitle"
},
{
"$type": "Microsoft.SendActivity",
"$designer": {
@ -381,7 +348,8 @@
"property": "dialog.item",
"alwaysPrompt": false,
"allowInterruptions": "turn.recognized.score > 0.7 && !#DeleteItem && !@itemTitle",
"outputFormat": "none"
"outputFormat": "none",
"value": "@itemTitle"
},
{
"$type": "Microsoft.EditArray",
@ -439,15 +407,6 @@
"id": "877754"
},
"actions": [
{
"$type": "Microsoft.SetProperty",
"$designer": {
"id": "352012",
"name": "Set a Property"
},
"property": "dialog.listType",
"value": "@listType"
},
{
"$type": "Microsoft.IfCondition",
"$designer": {
@ -468,6 +427,7 @@
"alwaysPrompt": false,
"allowInterruptions": "turn.recognized.score > 0.7 && !#ViewCollection && !@listType",
"outputFormat": "value",
"value": "@listType",
"choices": [
{
"value": "Todo"