This repository was archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Change dialog:merge bundling #932
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c6d20e6
Working bundle.
172cf95
Figuring out $bundled for $ref
b1bf563
Remove $bundled.
394756c
Add tests for more complex schema.
7e56b9b
Merge branch 'master' into chrimc/bundle
munozemilio d00d681
Single process schema:
4c74cf1
Merge branch 'chrimc/bundle' of https://github.com/microsoft/botframe…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
65 changes: 65 additions & 0 deletions
65
packages/dialog/test/commands/dialog/nuget/nuget3/1.0.0/Microsoft.AdaptiveDialog.schema
This file contains hidden or 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,65 @@ | ||
| { | ||
| "$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema", | ||
| "$role": "implements(Microsoft.IDialog)", | ||
| "title": "Adaptive Dialog", | ||
| "description": "Flexible, data driven dialog that can adapt to the conversation.", | ||
| "type": "object", | ||
| "properties": { | ||
| "id": { | ||
| "type": "string", | ||
| "title": "Id", | ||
| "description": "Optional dialog ID." | ||
| }, | ||
| "autoEndDialog": { | ||
| "$ref": "schema:#/definitions/booleanExpression", | ||
| "title": "Auto end dialog", | ||
| "description": "If set to true the dialog will automatically end when there are no further actions. If set to false, remember to manually end the dialog using EndDialog action.", | ||
| "default": true | ||
| }, | ||
| "defaultResultProperty": { | ||
| "type": "string", | ||
| "title": "Default result property", | ||
| "description": "Value that will be passed back to the parent dialog.", | ||
| "default": "dialog.result" | ||
| }, | ||
| "recognizer": { | ||
| "$kind": "Microsoft.IRecognizer", | ||
| "title": "Recognizer", | ||
| "description": "Input recognizer that interprets user input into intent and entities." | ||
| }, | ||
| "generator": { | ||
| "$kind": "Microsoft.ILanguageGenerator", | ||
| "title": "Language Generator", | ||
| "description": "Language generator that generates bot responses." | ||
| }, | ||
| "selector": { | ||
| "$kind": "Microsoft.ITriggerSelector", | ||
| "title": "Selector", | ||
| "description": "Policy to determine which trigger is executed. Defaults to a 'best match' selector (optional)." | ||
| }, | ||
| "triggers": { | ||
| "type": "array", | ||
| "description": "List of triggers defined for this dialog.", | ||
| "title": "Triggers", | ||
| "items": { | ||
| "$kind": "Microsoft.ITrigger", | ||
| "title": "Event triggers", | ||
| "description": "Event triggers for handling events." | ||
| } | ||
| }, | ||
| "schema": { | ||
| "title": "Schema", | ||
| "description": "Schema to fill in.", | ||
| "anyOf": [ | ||
| { | ||
| "$ref": "http://json-schema.org/draft-07/schema#" | ||
| }, | ||
| { | ||
| "type": "string", | ||
| "title": "Reference to JSON schema", | ||
| "description": "Reference to JSON schema .dialog file." | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
24 changes: 24 additions & 0 deletions
24
packages/dialog/test/commands/dialog/nuget/nuget3/1.0.0/Microsoft.AdaptiveDialog.uischema
This file contains hidden or 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,24 @@ | ||
| { | ||
| "$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema", | ||
| "form": { | ||
| "label": "Adaptive dialog", | ||
| "description": "This configures a data driven dialog via a collection of events and actions.", | ||
| "helpLink": "https://aka.ms/bf-composer-docs-dialog", | ||
| "order": [ | ||
| "recognizer", | ||
| "*" | ||
| ], | ||
| "hidden": [ | ||
| "triggers", | ||
| "generator", | ||
| "selector", | ||
| "schema" | ||
| ], | ||
| "properties": { | ||
| "recognizer": { | ||
| "label": "Language Understanding", | ||
| "description": "To understand what the user says, your dialog needs a \"Recognizer\"; that includes example words and sentences that users may use." | ||
| } | ||
| } | ||
| } | ||
| } |
11 changes: 11 additions & 0 deletions
11
packages/dialog/test/commands/dialog/nuget/nuget3/1.0.0/Microsoft.IDialog.schema
This file contains hidden or 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,11 @@ | ||
| { | ||
| "$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema", | ||
| "title": "Microsoft Dialogs", | ||
| "description": "Components which derive from Dialog", | ||
| "$role": "interface", | ||
| "oneOf": [ | ||
| { | ||
| "type": "string" | ||
| } | ||
| ] | ||
| } |
11 changes: 11 additions & 0 deletions
11
packages/dialog/test/commands/dialog/nuget/nuget3/1.0.0/Microsoft.ILanguageGenerator.schema
This file contains hidden or 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,11 @@ | ||
| { | ||
| "$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema", | ||
| "title": "Microsoft LanguageGenerator", | ||
| "description": "Components which dervie from the LanguageGenerator class", | ||
| "$role": "interface", | ||
| "oneOf": [ | ||
| { | ||
| "type": "string" | ||
| } | ||
| ] | ||
| } |
11 changes: 11 additions & 0 deletions
11
packages/dialog/test/commands/dialog/nuget/nuget3/1.0.0/Microsoft.IRecognizer.schema
This file contains hidden or 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,11 @@ | ||
| { | ||
| "$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema", | ||
| "title": "Microsoft Recognizer", | ||
| "description": "Components which derive from Recognizer class", | ||
| "$role": "interface", | ||
| "oneOf": [ | ||
| { | ||
| "type": "string" | ||
| } | ||
| ] | ||
| } |
6 changes: 6 additions & 0 deletions
6
packages/dialog/test/commands/dialog/nuget/nuget3/1.0.0/Microsoft.ITrigger.schema
This file contains hidden or 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/component/v1.0/component.schema", | ||
| "$role": "interface", | ||
| "title": "Microsoft Triggers", | ||
| "description": "Components which derive from OnCondition class." | ||
| } |
6 changes: 6 additions & 0 deletions
6
packages/dialog/test/commands/dialog/nuget/nuget3/1.0.0/Microsoft.ITriggerSelector.schema
This file contains hidden or 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/component/v1.0/component.schema", | ||
| "$role": "interface", | ||
| "title": "Selectors", | ||
| "description": "Components which derive from TriggerSelector class." | ||
| } |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.