This repository was archived by the owner on Jul 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 374
feat: allow users to select PVA topics when beginning new dialog #6691
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
fe4acb6
add includeTopics query when downloading bot content
a-b-r-o-w-n 4876d8e
include topics when loading bots
a-b-r-o-w-n 419be31
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n c7a3cde
do not show topics in the main dialog navigation
a-b-r-o-w-n 56d138e
move icons into shared
a-b-r-o-w-n b366b65
add more icons
a-b-r-o-w-n 3f24d74
add isTopic to DialogInfo
a-b-r-o-w-n e336816
expose topics through shell api
a-b-r-o-w-n f8bfecc
show topics in begin dialog action
a-b-r-o-w-n b48b097
link to PVA topic
a-b-r-o-w-n 5d22e83
include pva topics by default for electron task
a-b-r-o-w-n bf81624
update query string to be boolean value
a-b-r-o-w-n 5f52657
do not include etag when publishing with topics
a-b-r-o-w-n 074764b
make icons in dropdowns blue
a-b-r-o-w-n 7bca260
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n 27be2e5
revert If-Match header change
a-b-r-o-w-n 4902974
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n 75d9f5c
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n f74375a
default to using oneauth in electron launch task
a-b-r-o-w-n 7febc83
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n cda33de
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n 2a42611
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n ee53974
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n 775c22f
silence console output for tests in CI
a-b-r-o-w-n e47356c
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n 330d720
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n ce9b921
Merge branch 'main' into abrown/pva-topics
a-b-r-o-w-n 1d1fd54
fix select dialog test
a-b-r-o-w-n 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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -223,6 +223,7 @@ function index(files: FileInfo[], botName: string): DialogInfo[] { | |
| const isRoot = file.relativePath.includes('/') === false; // root dialog should be in root path | ||
| const dialog: DialogInfo = { | ||
| isRoot, | ||
| isTopic: file.relativePath.startsWith('topics/'), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the answer is yes, but just confirming: We are fine with not indexing the topic if the user decides to muck around with the folder structure right?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should engage the PVA team on that. My assumption is that the folder structure is necessary when publishing back to PVA, but I don't know for sure. |
||
| ...parse(id, dialogJson, botName), | ||
| }; | ||
| dialogs.push(dialog); | ||
|
|
||
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yeze322 Can you take a look at this and let me know your thoughts?
I wanted to do 2 things:
This is your domain so I want to make sure that this approach is fine, or work with you to do something better.