-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uischema: port composer ui schema to component schema files (#4341)
* add uischema to editor settings * port ui schema from composer * add new line at EOF * update OnCancelDialog * remove extraneous properties * remove empty ui schemas * include uischemas in csproj references
- Loading branch information
1 parent
252a0fa
commit 6ca3185
Showing
64 changed files
with
642 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"files.associations": { | ||
"*.schema": "json" | ||
"*.schema": "json", | ||
"*.uischema": "json" | ||
}, | ||
"dotnet-test-explorer.testProjectPath": "**/*.Tests.csproj" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...ies/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.BeginDialog.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Begin a new dialog", | ||
"subtitle": "Begin Dialog", | ||
"helpLink": "https://aka.ms/bfc-understanding-dialogs", | ||
"order": [ | ||
"dialog", | ||
"options", | ||
"resultProperty", | ||
"*" | ||
] | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...ries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.BeginSkill.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Connect to a skill", | ||
"subtitle": "Skill Dialog", | ||
"helpLink": "https://aka.ms/bf-composer-docs-connect-skill" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...aries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.BreakLoop.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Break out of loop", | ||
"subtitle": "Break out of loop" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...icrosoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.CancelAllDialogs.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Cancel all active dialogs", | ||
"subtitle": "Cancel All Dialogs", | ||
"helpLink": "https://aka.ms/bfc-understanding-dialogs" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...es/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.ContinueLoop.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Continue loop", | ||
"subtitle": "Continue loop" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...ries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.DebugBreak.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Debug Break" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...icrosoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.DeleteProperties.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Delete properties", | ||
"subtitle": "Delete Properties", | ||
"helpLink": "https://aka.ms/bfc-using-memory" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
.../Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.DeleteProperty.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Delete a property", | ||
"subtitle": "Delete Property", | ||
"helpLink": "https://aka.ms/bfc-using-memory" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...ies/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.EditActions.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Modify active dialog", | ||
"subtitle": "Edit Actions" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...aries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.EditArray.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Edit an array property", | ||
"subtitle": "Edit Array", | ||
"helpLink": "https://aka.ms/bfc-using-memory" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...aries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.EmitEvent.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Emit a custom event", | ||
"subtitle": "Emit Event", | ||
"helpLink": "https://aka.ms/bfc-custom-events" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...aries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.EndDialog.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "End this dialog", | ||
"subtitle": "End Dialog", | ||
"helpLink": "https://aka.ms/bfc-understanding-dialogs" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.EndTurn.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "End turn", | ||
"subtitle": "End Turn", | ||
"helpLink": "https://aka.ms/bfc-understanding-dialogs" | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.Foreach.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Loop: For each item", | ||
"subtitle": "For Each", | ||
"order": [ | ||
"itemsProperty", | ||
"*" | ||
], | ||
"hidden": [ | ||
"actions" | ||
], | ||
"helpLink": "https://aka.ms/bfc-controlling-conversation-flow" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ies/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.ForeachPage.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Loop: For each page (multiple items)", | ||
"subtitle": "For Each Page", | ||
"order": [ | ||
"itemsProperty", | ||
"pageSize", | ||
"*" | ||
], | ||
"hidden": [ | ||
"actions" | ||
], | ||
"helpLink": "https://aka.ms/bfc-controlling-conversation-flow" | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ies/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.HttpRequest.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Send an HTTP request", | ||
"subtitle": "HTTP Request", | ||
"order": [ | ||
"method", | ||
"url", | ||
"body", | ||
"headers", | ||
"*" | ||
], | ||
"helpLink": "https://aka.ms/bfc-using-http" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...ies/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.IfCondition.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Branch: If/Else", | ||
"subtitle": "If Condition", | ||
"hidden": [ | ||
"actions", | ||
"elseActions" | ||
], | ||
"helpLink": "https://aka.ms/bfc-controlling-conversation-flow" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...aries/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.LogAction.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Log to console", | ||
"subtitle": "Log Action", | ||
"helpLink": "https://aka.ms/bfc-debugging-bots" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...es/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.RepeatDialog.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Repeat this dialog", | ||
"subtitle": "Repeat Dialog", | ||
"helpLink": "https://aka.ms/bfc-understanding-dialogs", | ||
"order": [ | ||
"options", | ||
"*" | ||
] | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...s/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.ReplaceDialog.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Replace this dialog", | ||
"subtitle": "Replace Dialog", | ||
"helpLink": "https://aka.ms/bfc-understanding-dialogs", | ||
"order": [ | ||
"dialog", | ||
"options", | ||
"*" | ||
] | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...es/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.SendActivity.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Send a response", | ||
"subtitle": "Send Activity", | ||
"helpLink": "https://aka.ms/bfc-send-activity", | ||
"order": [ | ||
"activity", | ||
"*" | ||
] | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...s/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.SetProperties.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Set properties", | ||
"subtitle": "Set Properties", | ||
"helpLink": "https://aka.ms/bfc-using-memory" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...ies/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.SetProperty.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Set a property", | ||
"subtitle": "Set Property", | ||
"helpLink": "https://aka.ms/bfc-using-memory" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
...ies/Microsoft.Bot.Builder.Dialogs.Adaptive/Schemas/Actions/Microsoft.SignOutUser.uischema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
"form": { | ||
"label": "Sign out user", | ||
"subtitle": "Signout User" | ||
} | ||
} |
Oops, something went wrong.