Conversation
* Add Teams package unit tests (#1171) * fix: Stevenic/ac fix (#1164) * Fixed typo in schema for UpdateActivity * Forgot to copy activityId to outgoing activity in UpdateAdaptiveCard Co-authored-by: Ryan Lengel Isgrig <43043272+ryanlengel@users.noreply.github.com> Co-authored-by: Steven Ickman <stevenic@microsoft.com>
* Update package.json on adaptive + empty * Update more package depdendency * Update template package.jsons * Update yarn.lock * Update old school csharp skills * Update Teams, AdaptiveCards package and misc projs * Update SendMessageToTeamsChannelAsync to work with CloudAdapter (#1170) * chore: Cherry pick 1171 and 1164 into 4.14 (#1172) * Add Teams package unit tests (#1171) * fix: Stevenic/ac fix (#1164) * Fixed typo in schema for UpdateActivity * Forgot to copy activityId to outgoing activity in UpdateAdaptiveCard Co-authored-by: Ryan Lengel Isgrig <43043272+ryanlengel@users.noreply.github.com> Co-authored-by: Steven Ickman <stevenic@microsoft.com> Co-authored-by: Thomas Chung <thchung@microsoft.com> Co-authored-by: Eric Dahlvang <erdahlva@microsoft.com> Co-authored-by: Ryan Lengel Isgrig <43043272+ryanlengel@users.noreply.github.com> Co-authored-by: Steven Ickman <stevenic@microsoft.com> > Looks good. Let's document all of the processes to upgrade versions for all types of components in the repo so that others can do the same. > i.e. > Generators > > 1. generator-bot-adaptive/package.json - bump version > 2. generator-bot-_/packagejson (the rest) - bump version and dependencies:@microsoft/generator-bot-_ versions > > Csproj packages > > 1. Bump version of Microsoft.Bot.Builder.* dependencies > > Nuspec packages > > 1. Bump version of Mocrosoft.Bot.Builder.* dependencies > Npm packages > 2. Bump versions of botbuilder dependencies Good idea. As we figure this out we should just write down the steps.
* Enable SendMessageToTeamsChannel with either BotFrameworkAdapter or CloudAdapter * Get appId from claims * Throw if adapter is not a known type to support SendMessageToTeamsChannel
* Update graph package version * Update graph * Update Teams package * Update teams JS package * Update adaptive cards * HelpAndCancel * Update helpandcancel + welcome dependencies * Change to minor version update * Update to correct JS preview platform.js
Co-authored-by: Thomas Chung <thchung@microsoft.com>
* Fix nuget versioning steps * Fix Teams test reference * Fix Microsoft.Bot.Builder.Dialogs.Adaptive.Testing Co-authored-by: Thomas Chung <thchung@microsoft.com>
* initial changes * Update templates to use preview Co-authored-by: Thomas Chung <thchung@microsoft.com>
* pull netcore install steps to build-test and package separately * remove netcore step from signing as it is used in packaging
| connectionName: string | ||
| ): Promise<Partial<Activity>> { | ||
| // TODO: Switch to using Cloud OAuth after this PR gets merged: https://github.com/microsoft/botbuilder-js/pull/3149 | ||
| const userTokenClient = dc.context.turnState.get<UserTokenClient>( |
There was a problem hiding this comment.
You may be able to use https://github.com/microsoft/botbuilder-js/blob/main/libraries/botbuilder-dialogs/src/prompts/userTokenAccess.ts directly now for some of this.
There was a problem hiding this comment.
Unfortunately not exported outside of /prompts https://github.com/microsoft/botbuilder-js/blob/main/libraries/botbuilder-dialogs/src/prompts/index.ts
| ] | ||
| } | ||
| ], | ||
| "selectAction":{ |
There was a problem hiding this comment.
Is this right? These got nothing to do with your tests right?
There was a problem hiding this comment.
Correct. I switched the PR to merge against 4.14 after forgetting that I had built against main. I'll re-submit the PR after cherry-picking the commits over.
|
Closing in favor of this PR, so it can merge against |
This is currently a draft. I'll convert to full PR after the next JS and Components release for the sake of package management.
#minor
Purpose
.dialogtest filesChanges
tests/unit/packages/Microsoft.Bot.Components.Teams.Teststotests\unit\packages\Teams\dotnetto follow the same directory pattern underpackages\.dialogtest files to ``tests\unit\packages\Teams\Shared Tests`tests\unit\packages\Teams\jsFeature Plan