-
Notifications
You must be signed in to change notification settings - Fork 378
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
feat: Add endpoint dropdown to the add skill modal #4163
Conversation
@@ -676,16 +670,7 @@ const DesignPage: React.FC<RouteComponentProps<{ dialogId: string; projectId: st | |||
onSubmit={handleCreateDialogSubmit} | |||
/> | |||
)} | |||
{showAddSkillDialogModal && ( | |||
<CreateSkillModal |
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.
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.
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.
* feat: Add endpoint dropdown to the add skill modal * update duplicate criteria * prject id * updated dispatchers * fix test
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
andendpointUrl
for the endpoint the user selects is serialized to theskills
object in the bot settings with the other skill data -name
andmanifestUrl
- provided in the modal.Task Item
Closes #4122
Closes #4087
Screenshots