-
Notifications
You must be signed in to change notification settings - Fork 908
Create new samples for tab-channel-group (nodejs) #1709
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e9cc2b8
Harsh - CSharp to Nodejs Conversion Bot Adaptivecard User Specific Vi…
Mohammed-MSFT f3018de
PR Updated with Main Readme and Images
Mohammed-MSFT 65acc6a
Added BotConversationQuickStart Sample to this PR
Mohammed-MSFT 5eb782c
Added Sample Tab Channel Group Nodejs Version
Mohammed-MSFT 65833b4
PR Comment Fixed
Mohammed-MSFT 7bd2130
Ayush Tested and Verified Changes Pushed To This PR
Mohammed-MSFT 58978d4
Updated Latest Code
Harikrishnan-MSFT a9eed4e
Both sample SDKs are deprecated. We are creating a new PR using the T…
Harikrishnan-MSFT cb508d6
Updated build pipeline also update Readme
YugalPradhan31 edd15de
Merge branch 'v-mfurquan/Harsh-Sample-Conversion-1' of https://github…
YugalPradhan31 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| MicrosoftAppId= | ||
| MicrosoftAppPassword= |
41 changes: 41 additions & 0 deletions
41
samples/bot-adaptivecards-user-specific-views/nodejs/.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
|
||
| # dependencies | ||
| /node_modules | ||
| /.pnp | ||
| .pnp.js | ||
|
|
||
| # testing | ||
| /coverage | ||
|
|
||
| # production | ||
| /build | ||
|
|
||
| # misc | ||
| .DS_Store | ||
| .env.local | ||
| .env.development.local | ||
| .env.test.local | ||
| .env.production.local | ||
|
|
||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
|
|
||
| # TeamsFx files | ||
| env/.env.*.user | ||
| env/.env.local | ||
| .localConfigs | ||
| appManifest/build | ||
| /build | ||
|
|
||
| # dependencies | ||
| node_modules/ | ||
|
|
||
| # misc | ||
| .env | ||
| .deployment | ||
| .DS_Store | ||
|
|
||
| # build | ||
| lib/ |
5 changes: 5 additions & 0 deletions
5
samples/bot-adaptivecards-user-specific-views/nodejs/.vscode/extensions.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "recommendations": [ | ||
| "TeamsDevApp.ms-teams-vscode-extension" | ||
| ] | ||
| } |
73 changes: 73 additions & 0 deletions
73
samples/bot-adaptivecards-user-specific-views/nodejs/.vscode/launch.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "name": "Launch App (Edge)", | ||
| "type": "msedge", | ||
| "request": "launch", | ||
| "url": "https://teams.microsoft.com/l/app/${{local:TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}", | ||
| "cascadeTerminateToConfigurations": [ | ||
| "Attach to Local Service" | ||
| ], | ||
| "presentation": { | ||
| "group": "all", | ||
| "hidden": true | ||
| }, | ||
| "internalConsoleOptions": "neverOpen" | ||
| }, | ||
| { | ||
| "name": "Launch App (Chrome)", | ||
| "type": "chrome", | ||
| "request": "launch", | ||
| "url": "https://teams.microsoft.com/l/app/${{local:TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}", | ||
| "cascadeTerminateToConfigurations": [ | ||
| "Attach to Local Service" | ||
| ], | ||
| "presentation": { | ||
| "group": "all", | ||
| "hidden": true | ||
| }, | ||
| "internalConsoleOptions": "neverOpen" | ||
| }, | ||
| { | ||
| "name": "Attach to Local Service", | ||
| "type": "node", | ||
| "request": "attach", | ||
| "port": 9239, | ||
| "restart": true, | ||
| "presentation": { | ||
| "group": "all", | ||
| "hidden": true | ||
| }, | ||
| "internalConsoleOptions": "neverOpen" | ||
| } | ||
| ], | ||
| "compounds": [ | ||
| { | ||
| "name": "Debug (Edge)", | ||
| "configurations": [ | ||
| "Launch App (Edge)", | ||
| "Attach to Local Service" | ||
| ], | ||
| "preLaunchTask": "Start Teams App Locally", | ||
| "presentation": { | ||
| "group": "all", | ||
| "order": 1 | ||
| }, | ||
| "stopAll": true | ||
| }, | ||
| { | ||
| "name": "Debug (Chrome)", | ||
| "configurations": [ | ||
| "Launch App (Chrome)", | ||
| "Attach to Local Service" | ||
| ], | ||
| "preLaunchTask": "Start Teams App Locally", | ||
| "presentation": { | ||
| "group": "all", | ||
| "order": 2 | ||
| }, | ||
| "stopAll": true | ||
| } | ||
| ] | ||
| } |
11 changes: 11 additions & 0 deletions
11
samples/bot-adaptivecards-user-specific-views/nodejs/.vscode/settings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "debug.onTaskErrors": "abort", | ||
| "json.schemas": [ | ||
| { | ||
| "fileMatch": [ | ||
| "/aad.*.json" | ||
| ], | ||
| "schema": {} | ||
| } | ||
| ] | ||
| } |
105 changes: 105 additions & 0 deletions
105
samples/bot-adaptivecards-user-specific-views/nodejs/.vscode/tasks.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| // This file is automatically generated by Microsoft 365 Agents Toolkit. | ||
| // The teamsfx tasks defined in this file require Microsoft 365 Agents Toolkit version >= 5.0.0. | ||
| // See https://aka.ms/teamsfx-tasks for details on how to customize each task. | ||
| { | ||
| "version": "2.0.0", | ||
| "tasks": [ | ||
| { | ||
| "label": "Start Teams App Locally", | ||
| "dependsOn": [ | ||
| "Validate prerequisites", | ||
| "Start local tunnel", | ||
| "Provision", | ||
| "Deploy", | ||
| "Start application" | ||
| ], | ||
| "dependsOrder": "sequence" | ||
| }, | ||
| { | ||
| // Check all required prerequisites. | ||
| // See https://aka.ms/teamsfx-tasks/check-prerequisites to know the details and how to customize the args. | ||
| "label": "Validate prerequisites", | ||
| "type": "teamsfx", | ||
| "command": "debug-check-prerequisites", | ||
| "args": { | ||
| "prerequisites": [ | ||
| "nodejs", // Validate if Node.js is installed. | ||
| "m365Account", // Sign-in prompt for Microsoft 365 account, then validate if the account enables the uploading permission. | ||
| "portOccupancy" // Validate available ports to ensure those debug ones are not occupied. | ||
| ], | ||
| "portOccupancy": [ | ||
| 3978, // app service port | ||
| 9239 // app inspector port for Node.js debugger | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| // Start the local tunnel service to forward public URL to local port and inspect traffic. | ||
| // See https://aka.ms/teamsfx-tasks/local-tunnel for the detailed args definitions. | ||
| "label": "Start local tunnel", | ||
| "type": "teamsfx", | ||
| "command": "debug-start-local-tunnel", | ||
| "args": { | ||
| "type": "dev-tunnel", | ||
| "ports": [ | ||
| { | ||
| "portNumber": 3978, | ||
| "protocol": "http", | ||
| "access": "public", | ||
| "writeToEnvironmentFile": { | ||
| "endpoint": "BOT_ENDPOINT", // output tunnel endpoint as BOT_ENDPOINT | ||
| "domain": "BOT_DOMAIN" // output tunnel domain as BOT_DOMAIN | ||
| } | ||
| } | ||
| ], | ||
| "env": "local" | ||
| }, | ||
| "isBackground": true, | ||
| "problemMatcher": "$teamsfx-local-tunnel-watch" | ||
| }, | ||
| { | ||
| // Create the debug resources. | ||
| // See https://aka.ms/teamsfx-tasks/provision to know the details and how to customize the args. | ||
| "label": "Provision", | ||
| "type": "teamsfx", | ||
| "command": "provision", | ||
| "args": { | ||
| "env": "local" | ||
| } | ||
| }, | ||
| { | ||
| // Build project. | ||
| // See https://aka.ms/teamsfx-tasks/deploy to know the details and how to customize the args. | ||
| "label": "Deploy", | ||
| "type": "teamsfx", | ||
| "command": "deploy", | ||
| "args": { | ||
| "env": "local" | ||
| } | ||
| }, | ||
| { | ||
| "label": "Start application", | ||
| "type": "shell", | ||
| "command": "npm run dev:teamsfx", | ||
| "isBackground": true, | ||
| "options": { | ||
| "cwd": "${workspaceFolder}" | ||
| }, | ||
| "problemMatcher": { | ||
| "pattern": [ | ||
| { | ||
| "regexp": "^.*$", | ||
| "file": 0, | ||
| "location": 1, | ||
| "message": 2 | ||
| } | ||
| ], | ||
| "background": { | ||
| "activeOnStart": true, | ||
| "beginsPattern": "[nodemon] starting", | ||
| "endsPattern": "restify listening to|Bot/ME service listening at|[nodemon] app crashed" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } |
Binary file added
BIN
+49.8 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/1.searchapp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+53.1 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/10.all-user-manual.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+51.1 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/11.all-user-update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+122 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/12.add-to-team.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+123 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/13.team-selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+87.6 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/14.prompt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+83.6 KB
.../bot-adaptivecards-user-specific-views/nodejs/Images/15.welcome-interaction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+123 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/16.add-to-chat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+80.6 KB
...bot-adaptivecards-user-specific-views/nodejs/Images/17.welcome-card-at-chat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+86.8 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/2.add-application.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/3.me-welcome-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.4 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/4.me-action-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.8 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/5.me-response-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+51.8 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/5.response-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.3 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/6.manual-refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+50.3 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/7.refresh-update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+58.2 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/8.alluser-action.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+52 KB
...bot-adaptivecards-user-specific-views/nodejs/Images/9.alluser-response-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63.6 KB
...t-adaptivecards-user-specific-views/nodejs/Images/AdaptiveCardRefreshSchema.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+311 KB
samples/bot-adaptivecards-user-specific-views/nodejs/Images/UserSpecifiView_me.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+214 KB
...les/bot-adaptivecards-user-specific-views/nodejs/Images/UserSpecificView_Me.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1020 KB
...es/bot-adaptivecards-user-specific-views/nodejs/Images/UserSpecificView_all.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+274 KB
...les/bot-adaptivecards-user-specific-views/nodejs/Images/UserSpecificView_me.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.