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

PR 2 - Update Readme and Images - Classic to T2.1 #1228

Merged
merged 11 commits into from
Apr 29, 2024
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
microsoftTeams.app.getContext().then((context) => {

var userID = context.user.id;
var Json = JSON.stringify(result);
var parsedJson = JSON.parse(Json);
//var Json = JSON.stringify(result);
var parsedJson = JSON.parse(result);
var resultJson = parsedJson.users;
var title = parsedJson.title;

Expand Down
14 changes: 9 additions & 5 deletions samples/graph-chat-lifecycle/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,24 @@ This sample illustrates Lifecycle of chat in Teams (Creating chat, adding member

## Running the sample

1. In Teams, Once the app is successfully installed, it can be opened in the tab and has option to create group chat if user is authenticated.
1. Install App.

![InstallApp](ChatLifecycle/Images/InstallApp.png)

2. In Teams, Once the app is successfully installed, it can be opened in the tab and has option to create group chat if user is authenticated.

![welcome card](ChatLifecycle/Images/welcome.png)

2. Once create group chat is clicked, user will be able to add Title of the groupchat and select users from drop down to create a group chat and add members (using different scenarios) and delete member accordingly to depict the lifecycle of chat.
3. Once create group chat is clicked, user will be able to add Title of the groupchat and select users from drop down to create a group chat and add members (using different scenarios) and delete member accordingly to depict the lifecycle of chat.

![group chat created](ChatLifecycle/Images/groupchatbuttonclick.png)

3. created group chat Details.
![group chat Details](ChatLifecycle/Images/groupchatcreated.png)

4. Successfully Group chat created.
![chat life cycle](ChatLifecycle/Images/createdgroupchat.png)

5. created group chat Details.
![group chat Details](ChatLifecycle/Images/groupchatcreated.png)

## Outlook on the web

- To view your app in Outlook on the web.
Expand Down
Binary file modified samples/graph-chat-lifecycle/nodejs/Images/CreateGroupChat.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/graph-chat-lifecycle/nodejs/Images/Install.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/graph-chat-lifecycle/nodejs/Images/InstallSaveTab.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/graph-chat-lifecycle/nodejs/Images/MembersList.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions samples/graph-chat-lifecycle/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ The simplest way to run this sample in Teams is to use Teams Toolkit for Visual
1. In Teams, Install App

![](Images/Install.png)

![](Images/SelectTeams.png)

![](Images/InstallSaveTab.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ <h4 id="successMsg"></h4>

taskInfo.card = data.content;
taskInfo.title = "Create Groupchat";
taskInfo.height = "280";
taskInfo.width = "500";

// Set fallback URL
taskInfo.fallbackUrl = taskInfo.url;
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions samples/graph-pinned-messages/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ npm install --legacy-peer-deps

## Running the sample

1) Install App
![InstallApp ](GraphPinnedMessage/Images/InstallApp.png)

1) Add the app in group scope.
![pinned-messages-install ](GraphPinnedMessage/Images/pin-message-installation.png)

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/graph-pinned-messages/nodejs/Images/pin-chat-message.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified samples/graph-pinned-messages/nodejs/Images/pinned-message.png
Binary file modified samples/graph-pinned-messages/nodejs/Images/pinned-messages.gif
3 changes: 3 additions & 0 deletions samples/graph-pinned-messages/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ npm install --legacy-peer-deps

## Running the sample

1) Install App
![InstallApp](Images/InstallApp.png)

1) Add the app in group scope.
![pinned-messages-install ](Images/pin-message-installation.png)

Expand Down
Binary file modified samples/msgext-link-unfurling/csharp/Images/Add-App.png
Diff not rendered.
Binary file modified samples/msgext-link-unfurling/csharp/Images/Link-Unfurling.png
Diff not rendered.
4 changes: 3 additions & 1 deletion samples/msgext-link-unfurling/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ the Teams service needs to call into the bot.

## Running the sample

![Add-App](Images/Add-App.png)

> Note the Teams `manifest.json` for this sample also includes a Search Query. This Messaging Extension is only introduced in order to enable installation, because there is no mechanism for installing a link unfurling feature in isolation.

If you copy and paste a link from https://www.BotFramework.com into the compose message area the link will unfurl.
Expand All @@ -117,7 +119,7 @@ If you copy and paste a link from https://www.BotFramework.com into the compose

**Select your app icon to launch your app in Office on the web**

![Search in Extension](Images/SearchInExtension.PNG)
![Search in Extension](Images/SearchInExtension.png)

## Deploy the bot to Azure

Expand Down
Binary file modified samples/msgext-link-unfurling/nodejs/Images/InstallApp.png
Binary file modified samples/msgext-link-unfurling/nodejs/Images/Link-Unfurling.png
Binary file modified samples/msgext-link-unfurling/nodejs/Images/Link-Unfurling1.png
Binary file modified samples/msgext-link-unfurling/nodejs/Images/LinkUnfurling.gif