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: package and schema update for 4.9.0-RC4 #2911

Merged
merged 28 commits into from
May 8, 2020
Merged

feat: package and schema update for 4.9.0-RC4 #2911

merged 28 commits into from
May 8, 2020

Conversation

luhan2017
Copy link
Contributor

@luhan2017 luhan2017 commented May 6, 2020

Description

Update sdk packages and schema for 4.9.0-RC1 which include following major changes:

Schema updates:

  1. OnCustomEvent is removed, we can use OnDialogEvent for cusmized event, we also need to update the trigger wizard @liweitian
  2. Add SkillDialog.connectionName in schema. This is to help expose the skillDialog OAuth step to the caller. @luhan2017 will follow up on the usage and docs.
  3. Add RepeatDialog.Allowloop.
  4. dialog:merge tool updated with some new schema features such as role extend which removed allof and removed $copy and $id...

Runtime updates:

  1. explicitly add Qna reference in csproj, which will fix the qna schema missing issue.
  2. add component registration part in startup.cs.
  3. OAuthInput fix for skill mode.

Task Item

fixes #2878
fixes #2942

Screenshots

@github-actions
Copy link

github-actions bot commented May 6, 2020

Coverage Status

Coverage remained the same at 0.0% when pulling 563261c on luhan/rc1 into 70b9715 on master.

@luhan2017 luhan2017 changed the title package and schema update for 4.9.0-RC1 feat: package and schema update for 4.9.0-RC1 May 6, 2020
@luhan2017
Copy link
Contributor Author

@a-b-r-o-w-n In this latest schema, the BeginDialog.options is changed to "$ref": "#/definitions/objectExpression",

which will affect the form ux like this:
Uploading image.png…

@cwhitten
Copy link
Member

cwhitten commented May 6, 2020

@luhan2017 why can't dialog:merge discover the QnAMaker component schema?

@a-b-r-o-w-n a-b-r-o-w-n self-assigned this May 6, 2020
@a-b-r-o-w-n a-b-r-o-w-n marked this pull request as draft May 6, 2020 15:03
@a-b-r-o-w-n a-b-r-o-w-n marked this pull request as ready for review May 6, 2020 21:48
@a-b-r-o-w-n
Copy link
Contributor

@luhan2017 @liweitian I believe I have updated everything needed, including the trigger creation modal. Please confirm.

@luhan2017
Copy link
Contributor Author

I've tested this and found some issues:
1, Send A response

image

  1. Recognizer
    image

  2. SetProperties
    image

I' am wondering if there is anything wrong with my local environment, I will double check in my laptop soon.

@a-b-r-o-w-n
Copy link
Contributor

I will take a look ASAP.

@a-b-r-o-w-n a-b-r-o-w-n changed the title feat: package and schema update for 4.9.0-RC1 feat: package and schema update for 4.9.0-RC4 May 7, 2020
@a-b-r-o-w-n
Copy link
Contributor

@luhan2017 I have updated to the rc4 and updated the schema. There is currently an issue building the dotnet app though that maybe you can take a look at today.

@a-b-r-o-w-n a-b-r-o-w-n marked this pull request as draft May 7, 2020 20:33
@a-b-r-o-w-n
Copy link
Contributor

@luhan2017 I took a stab at correcting the build failure (due to microsoft/botbuilder-dotnet@08590f9) with the help of @lauren-mills

@luhan2017
Copy link
Contributor Author

I've tested all the templates, they all work well. so we are ready for review on this.

@luhan2017 luhan2017 marked this pull request as ready for review May 8, 2020 05:42
@cwhitten cwhitten merged commit cc66deb into master May 8, 2020
@@ -49,7 +49,7 @@ context('Notification Page', () => {
cy.findAllByText('__TestToDoBotWithLuisSample').should('exist');
});

it('can show dialog expression error ', () => {
it.skip('can show dialog expression error ', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to leave this test skipped?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes. Expression validation is broken currently. We decided not to block the PR and do a follow up bug fix.

Comment on lines +22 to +29
const types = Object.keys(schema.definitions).reduce((all, defName) => {

if (defName.startsWith('Microsoft.') && !defName.startsWith('Microsoft.Test')) {
all.push(defName);
}

return all;
}, []);
Copy link
Contributor

Choose a reason for hiding this comment

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

I won't block this PR on it, but I think this could be written more easily with a .filter.

Copy link
Contributor

Choose a reason for hiding this comment

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

That's a good suggestion. Since this is already merged, I'll probably leave as is.

@a-b-r-o-w-n a-b-r-o-w-n deleted the luhan/rc1 branch May 18, 2020 19:46
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* package and schema update for 4.9-RC1

* update trigger wizard (microsoft#2917)

* rename variable

* update SDKKinds enum

* fix references to removed kinds

* fix schema resolution for property editor

* do not title case the schema title

* add ability to type custom event name in trigger creation

* fix autoEndDialog type in samples

* generate sdk enum with all definitions

* Revert changes to ui schema and label map

* update ActivityTemplate to IActivityTemplate for lg fields

* resolve schema in order to determine stacking

* remove test types from sdk enum

* fix failing tests

* skip failing test

* update sdk packages and schema to rc4

* update bot start up to not use HostContext

* Update some enum to lower case and removed the recognizerset sample because it is no longer valid

* update deprecated method

Co-authored-by: liweitian <liweitian93@outlook.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants