Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@pavolum
Copy link
Contributor

@pavolum pavolum commented Mar 16, 2021

Description

This fixes the "add new skill" flow when the new creation flow is enabled.

Changes include:

  • Detect skill flow and redirect appropriately depending on current value of new_creation feature flag
  • Do post-creation steps for added skill

fixes #6427

@benbrown benbrown changed the title Pavolum/fix add skill fix: use new create flow during add skill if enabled Mar 16, 2021
@GeoffCoxMSFT GeoffCoxMSFT added the P0 Must Fix. Release-blocker label Mar 16, 2021
@pavolum pavolum marked this pull request as ready for review March 16, 2021 17:35
@cwhitten cwhitten added 1.4-RC2 and removed 1.4-RC1 labels Mar 16, 2021
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 52.894% when pulling 05e715e on pavolum/fixAddSkill into d1b46fe on main.

@cwhitten cwhitten merged commit c693f78 into main Mar 16, 2021
@cwhitten cwhitten deleted the pavolum/fixAddSkill branch March 16, 2021 21:55
cwhitten pushed a commit that referenced this pull request Mar 16, 2021
* Initial changes for component model add skills flow

* Reusing function

* Add new bot as skill working e2e in component model creation

* cleaning up PR

* removing unused imports

* - fixing typos
- enabling qna template to be instantiated as a skill

* Fixing title in addSkills modal and fixing default template

* fix useEffect

Co-authored-by: Patrick Volum <pavolum@microsoft.com>
cwhitten added a commit that referenced this pull request Mar 23, 2021
* release: 1.4.0-rc0

* fix: lg create error with multi-language (#6412)

Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>

* fix: Remove Attachment Lg template when they are deleted in the Response Editor (#6405)

* fix: Remove Attachment Lg template when they are deleted in the Response Editor

* strings

Co-authored-by: Soroush <sorgh@microsoft.com>

* 1.4.0-rc1

* Added gray Composer icon to 'no triggers' dialog state (#6414)

Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>

* Get an ARM token only when publishing to Azure (#6418)

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>

* fix: composer doesn't see component dialogs that are in subfolders (#6420)

* fix: composer doesn't see component dialogs that are in subfolders

* clean unused code

* fix: revert yeoman-environment to 2.10.3 from 3.1.0 (#6415)

* 1.4.0-rc2

* fix: load feature flags if default keys have changed (#6432)

* handle case when default feature flags change

If a feature flag is renamed or removed, Composer would fail when updating feature flags.

* show app error when feature flags fail to fetch in development

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>

* fix: use new create flow during add skill if enabled (#6427)

* Initial changes for component model add skills flow

* Reusing function

* Add new bot as skill working e2e in component model creation

* cleaning up PR

* removing unused imports

* - fixing typos
- enabling qna template to be instantiated as a skill

* Fixing title in addSkills modal and fixing default template

* fix useEffect

Co-authored-by: Patrick Volum <pavolum@microsoft.com>

* Update bf-orchestrator to 4.12.0-beta.20210316.cdd0819 (#6435)

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>

* fix: make CSS show triangles in project tree (#6428)

Co-authored-by: Andy Brown <asbrown002@gmail.com>

* feat: Implement layout to errorCallout (#6396)

* implement layout to errorCallout

* Fix linting issues

Co-authored-by: Andy Brown <asbrown002@gmail.com>

* fis: change feature flag text (#6438)

Co-authored-by: Patrick Volum <pavolum@microsoft.com>

* feat: update runtime package to 4.12.1 (#6441)

* Update to 4.12.1

* update schema

Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>

* fix: hidden showCode button when url is all & show code for form dialog (#6444)

* hidden showCode button when dialog is all & show code for form dialog

* ci fix

* lint

Co-authored-by: Dong Lei <donglei@microsoft.com>

* Fixing projectId state by ordering state change (#6437)

Co-authored-by: Patrick Volum <pavolum@microsoft.com>

* prepare changelog for 1.4.0

* 1.4.0-rc3

* feat: take 4.12.2 runtime package (#6469)

* take 4.12.2

* Update schema

Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>

* fix: Allow multiline variations for LG text and speech modalities (#6394)

* fix: Allow multiline variations for LG text and speech modalities

* fix tests

* pr comment

Co-authored-by: Soroush <sorgh@microsoft.com>

* fix actions (#6476)

Co-authored-by: Soroush <sorgh@microsoft.com>

* release: 1.4.0

* Update 1.4.0.md

* RC4

* Update bf-orchestrator to 4.12.0-beta.20210322.314475a (#6496)

Co-authored-by: Chris Whitten <christopherwhitten@gmail.com>
Co-authored-by: leileizhang <leilzh@microsoft.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: TJ Durnford <tjdford@gmail.com>
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Ben Brown <benbro@microsoft.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
Co-authored-by: pavolum <pavolum@outlook.com>
Co-authored-by: Patrick Volum <pavolum@microsoft.com>
Co-authored-by: taicchoumsft <61705609+taicchoumsft@users.noreply.github.com>
Co-authored-by: Christiano Donke <cdonke@users.noreply.github.com>
Co-authored-by: Dong Lei <donglei@microsoft.com>
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
Co-authored-by: Long Alan <julong@microsoft.com>
Co-authored-by: Soroush <hatpick@gmail.com>
@cwhitten cwhitten mentioned this pull request May 20, 2021
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* Initial changes for component model add skills flow

* Reusing function

* Add new bot as skill working e2e in component model creation

* cleaning up PR

* removing unused imports

* - fixing typos
- enabling qna template to be instantiated as a skill

* Fixing title in addSkills modal and fixing default template

* fix useEffect

Co-authored-by: Patrick Volum <pavolum@microsoft.com>
lei9444 added a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* release: 1.4.0-rc0

* fix: lg create error with multi-language (microsoft#6412)

Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>

* fix: Remove Attachment Lg template when they are deleted in the Response Editor (microsoft#6405)

* fix: Remove Attachment Lg template when they are deleted in the Response Editor

* strings

Co-authored-by: Soroush <sorgh@microsoft.com>

* 1.4.0-rc1

* Added gray Composer icon to 'no triggers' dialog state (microsoft#6414)

Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>

* Get an ARM token only when publishing to Azure (microsoft#6418)

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>

* fix: composer doesn't see component dialogs that are in subfolders (microsoft#6420)

* fix: composer doesn't see component dialogs that are in subfolders

* clean unused code

* fix: revert yeoman-environment to 2.10.3 from 3.1.0 (microsoft#6415)

* 1.4.0-rc2

* fix: load feature flags if default keys have changed (microsoft#6432)

* handle case when default feature flags change

If a feature flag is renamed or removed, Composer would fail when updating feature flags.

* show app error when feature flags fail to fetch in development

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>

* fix: use new create flow during add skill if enabled (microsoft#6427)

* Initial changes for component model add skills flow

* Reusing function

* Add new bot as skill working e2e in component model creation

* cleaning up PR

* removing unused imports

* - fixing typos
- enabling qna template to be instantiated as a skill

* Fixing title in addSkills modal and fixing default template

* fix useEffect

Co-authored-by: Patrick Volum <pavolum@microsoft.com>

* Update bf-orchestrator to 4.12.0-beta.20210316.cdd0819 (microsoft#6435)

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>

* fix: make CSS show triangles in project tree (microsoft#6428)

Co-authored-by: Andy Brown <asbrown002@gmail.com>

* feat: Implement layout to errorCallout (microsoft#6396)

* implement layout to errorCallout

* Fix linting issues

Co-authored-by: Andy Brown <asbrown002@gmail.com>

* fis: change feature flag text (microsoft#6438)

Co-authored-by: Patrick Volum <pavolum@microsoft.com>

* feat: update runtime package to 4.12.1 (microsoft#6441)

* Update to 4.12.1

* update schema

Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>

* fix: hidden showCode button when url is all & show code for form dialog (microsoft#6444)

* hidden showCode button when dialog is all & show code for form dialog

* ci fix

* lint

Co-authored-by: Dong Lei <donglei@microsoft.com>

* Fixing projectId state by ordering state change (microsoft#6437)

Co-authored-by: Patrick Volum <pavolum@microsoft.com>

* prepare changelog for 1.4.0

* 1.4.0-rc3

* feat: take 4.12.2 runtime package (microsoft#6469)

* take 4.12.2

* Update schema

Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>

* fix: Allow multiline variations for LG text and speech modalities (microsoft#6394)

* fix: Allow multiline variations for LG text and speech modalities

* fix tests

* pr comment

Co-authored-by: Soroush <sorgh@microsoft.com>

* fix actions (microsoft#6476)

Co-authored-by: Soroush <sorgh@microsoft.com>

* release: 1.4.0

* Update 1.4.0.md

* RC4

* Update bf-orchestrator to 4.12.0-beta.20210322.314475a (microsoft#6496)

Co-authored-by: Chris Whitten <christopherwhitten@gmail.com>
Co-authored-by: leileizhang <leilzh@microsoft.com>
Co-authored-by: Ben Yackley <61990921+beyackle@users.noreply.github.com>
Co-authored-by: TJ Durnford <tjdford@gmail.com>
Co-authored-by: Soroush <sorgh@microsoft.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Ben Brown <benbro@microsoft.com>
Co-authored-by: Andy Brown <asbrown002@gmail.com>
Co-authored-by: pavolum <pavolum@outlook.com>
Co-authored-by: Patrick Volum <pavolum@microsoft.com>
Co-authored-by: taicchoumsft <61705609+taicchoumsft@users.noreply.github.com>
Co-authored-by: Christiano Donke <cdonke@users.noreply.github.com>
Co-authored-by: Dong Lei <donglei@microsoft.com>
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
Co-authored-by: Long Alan <julong@microsoft.com>
Co-authored-by: Soroush <hatpick@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

1.4-RC2 P0 Must Fix. Release-blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants