Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e2b3ab9
dialogs.choices
tracyboehrer Aug 25, 2020
51b1103
bot-dialogs: periodic push (mostly functional ObjectPath)
tracyboehrer Sep 10, 2020
44daf13
Dialog Updates
LeeParrishMSFT Nov 13, 2020
8333320
Interim commit and push to protect work in progress
LeeParrishMSFT Nov 17, 2020
dbce8f5
Pushing to protect work in progress
LeeParrishMSFT Nov 19, 2020
0c4a42f
Safety Checkin
LeeParrishMSFT Dec 3, 2020
013325e
Setting up unit tests for Dialogs
LeeParrishMSFT Dec 3, 2020
d46c9f3
Merge branch 'main' into lparrish/dialog
LeeParrishMSFT Dec 3, 2020
76e87d4
Updates to get VS Code test runner working
LeeParrishMSFT Dec 3, 2020
4757483
Completed DialogManager and DialogStateManager
LeeParrishMSFT Dec 9, 2020
093b8e3
Updates to match namespaces and file structure.
LeeParrishMSFT Dec 9, 2020
3f6983e
First unit test for DialogStateManager now working.
LeeParrishMSFT Dec 14, 2020
29d03bb
Addin DialogStateManager unit tests and fixes.
LeeParrishMSFT Jan 5, 2021
680d665
Waterfall dialogs and Prompts
LeeParrishMSFT Jan 8, 2021
a296c08
Fixes and unit tests
LeeParrishMSFT Jan 20, 2021
b7ba635
Choice Prompt unit tests
LeeParrishMSFT Jan 20, 2021
089aab4
Additional unit tests and fixes
LeeParrishMSFT Jan 22, 2021
094355c
Unit tests and fixes.
LeeParrishMSFT Jan 22, 2021
0d12f46
ComponentDialog tests and fixes
LeeParrishMSFT Jan 23, 2021
8de94b2
DialogContainerTests and fixes to Dialog
LeeParrishMSFT Jan 23, 2021
26e226a
Additional tests and fixes
LeeParrishMSFT Jan 25, 2021
37999d4
Final unit tests
LeeParrishMSFT Jan 26, 2021
438732a
Correct failing unit test.
LeeParrishMSFT Jan 26, 2021
4cccba3
Merge branch 'main' into lparrish/dialog
LeeParrishMSFT Jan 27, 2021
9d4431a
Fixes for merge issues.
LeeParrishMSFT Jan 27, 2021
5ab664c
Update to new exception handling pattern.
LeeParrishMSFT Jan 27, 2021
7eea25e
Remove uneeded unit test inports.
LeeParrishMSFT Jan 28, 2021
3b5fe18
Added copyright notices.
LeeParrishMSFT Jan 28, 2021
ad8b358
Update DialogContext
LeeParrishMSFT Jan 28, 2021
20c1173
Added recognizer libraries
LeeParrishMSFT Jan 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update DialogContext
  • Loading branch information
LeeParrishMSFT committed Jan 28, 2021
commit ad8b358bccec252b3dd1eb88b5d2162764c69c46
Original file line number Diff line number Diff line change
Expand Up @@ -200,17 +200,15 @@ public CompletableFuture<DialogTurnResult> beginDialog(String dialogId, Object o
// Look up dialog
Dialog dialog = findDialog(dialogId);
if (dialog == null) {
CompletableFuture<DialogTurnResult> result = CompletableFuture.completedFuture(null);
result.completeExceptionally(
new Exception(String.format(
"DialogContext.beginDialog(): A dialog with an id of '%s' wasn't found."
+ " The dialog must be included in the current or parent DialogSet."
+ " For example, if subclassing a ComponentDialog you can call AddDialog()"
+ " within your constructor.",
dialogId
))
);
return result;
Async.completeExceptionally(new Exception(String.format(
"DialogContext.beginDialog(): A dialog with an id of '%s' wasn't found."
+ " The dialog must be included in the current or parent DialogSet."
+ " For example, if subclassing a ComponentDialog you can call AddDialog()"
+ " within your constructor.",
dialogId
))
);
return result;
}

// Push new instance onto stack
Expand Down