Skip to content
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

feat: Add endpoint dropdown to the add skill modal #4163

Merged
merged 8 commits into from
Sep 17, 2020
Merged

feat: Add endpoint dropdown to the add skill modal #4163

merged 8 commits into from
Sep 17, 2020

Conversation

tdurnford
Copy link
Collaborator

Description

Adds an endpoint dropdown to the add skill modal which allows the user to select which messaging endpoint they want to use when they add the skill. The msAppId and endpointUrl for the endpoint the user selects is serialized to the skills object in the bot settings with the other skill data - name and manifestUrl - provided in the modal.

Task Item

Closes #4122
Closes #4087

Screenshots

image

@coveralls
Copy link

coveralls commented Sep 16, 2020

Coverage Status

Coverage increased (+0.3%) to 55.537% when pulling fee55dd on tdurnford:feature/select-skill-endpoint into 5f3d153 on microsoft:main.

@@ -676,16 +670,7 @@ const DesignPage: React.FC<RouteComponentProps<{ dialogId: string; projectId: st
onSubmit={handleCreateDialogSubmit}
/>
)}
{showAddSkillDialogModal && (
<CreateSkillModal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we pass the projectId along with the CreateSkillModal. The reason being when we support multiple bots we are calling the dispatcher function with the project ID rather than fetching the current project ID asynchronously in the dispatcher.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tdurnford tdurnford merged commit f4ba9e8 into microsoft:main Sep 17, 2020
@cwhitten cwhitten mentioned this pull request Nov 13, 2020
@tdurnford tdurnford deleted the feature/select-skill-endpoint branch November 30, 2020 21:44
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* feat: Add endpoint dropdown to the add skill modal

* update duplicate criteria

* prject id

* updated dispatchers

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants