-
Notifications
You must be signed in to change notification settings - Fork 372
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
fix: trigger creation bug #2151
Conversation
556dc2a
to
3baabd1
Compare
can you add a gif? how did you add regex back? |
0a5aee8
to
d584c7d
Compare
…otFramework-Composer into trggerCreationBugFix
…otFramework-Composer into trggerCreationBugFix
…otFramework-Composer into trggerCreationBugFix
nice work @liweitian & @alanlong9278 ! |
|
||
set(content, path, current); | ||
export function createNewTrigger(dialog: DialogInfo, data: TriggerFormData): DialogInfo { |
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.
The return type DialogInfo
I believe is an indexed dialog type, but here you didn't
reindex it, and seems no need to reindex it. So I would suggest return content: string
.
|
||
return content; | ||
export function createRegExIntent(dialog: DialogInfo, intent: string, pattern: string): DialogInfo { |
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.
see above.
Description
Task Item
Closes #2193
Closes #2158
Closes #1911
Screenshots