forked from microsoft/BotBuilder-Samples
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FOR REVIEW] Visual Studio Extension for managing Bot Configuration #174
Open
gasper-az
wants to merge
54
commits into
main
Choose a base branch
from
bot-configuration-wizard
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Move using to namespaces
Enable Wizard toolbar
-Add menu context -Add menu items -Add panels for the item selected by the user -Update style of the buttons create and cancel -Add behavior of menu items
-Remove in-Line Styles from menu items -Remove in-Line Styles from grid
- Update CLHelper class - Add MSBotCommandEncrypt class - Add BotConfigurationViewModel - Add UIElements to encryption module - Add behavior after encrypting bot file.
-Extract Styles from main windows -Move the logic from WizardView to ViewModel class�-Binding the command to the view�-Add Styles xaml file -Add RelayCommand class
Add method for validating if Bot File to create already exists
…configuration-wizard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Related to #173
Proposed Changes
Adds a Visual Studio Extension project for managing Bot Configuration in any VS Project file.
The extensions consist of a Wizard tool which allows the users adding a .bot file into a specific VS Project, where they can:
Future features:
Here are some Screenshots of the extension Wizard:
Here the user will specify additional information like the bot configuration filename.
Endpoints: allows defining multiple endpoints for the bot configuration file, specifying the name, URL, appID & appPassword (these last two might be optional)
Services window: similar to the previous one, but allows adding any kind of service (QnA, Luis, etc)
Encryption: allows users to encrypt the bot configuration. If they decided to do it, the encryption key will be shown only once.
Testing
First, go to
{your repository directory}/generators/vsix-vs-win/BotConfigurationWizard
and open theBotFileCreator.sln
solutionThen, there are two alternatives
Alternative A
bin/debug
folder under your project's directory and run theBotFileCreator.vsix
file to install the extension in your Visual Studio (NOTE: first, ensure your Visual Studio instance is closed)Alternative B
This picture shows the context menu option for starting the Extension's Wizard: