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

Ajay's Sample Health Check-Up And Fixes #1488

Merged
merged 4 commits into from
Jan 4, 2025

Conversation

Mohammed-MSFT
Copy link
Contributor

@Mohammed-MSFT Mohammed-MSFT commented Dec 18, 2024

Samples List

1.app-complete-auth
2.app-installation-using-qr-code
3.app-link-unfurling-in-share-to-teams
4.bot-conversartion
5.bot-type-ahead-search-adaptive-cards
6.graph-appcatalog-lifecycle
7.tab-deeplink
8.tab-stage-view

@Pawank-MSFT Pawank-MSFT requested a review from Copilot December 27, 2024 12:58
Copy link
Collaborator

@Pawank-MSFT Pawank-MSFT left a comment

Choose a reason for hiding this comment

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

please fix

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 9 out of 24 changed files in this pull request and generated 1 comment.

Files not reviewed (15)
  • samples/app-complete-auth/nodejs/views/config.ejs: Language not supported
  • samples/app-link-unfurling-in-share-to-teams/csharp/LinkUnfurlingInShareToTeams/appsettings.json: Language not supported
  • samples/bot-type-ahead-search-adaptive-cards/csharp/TeamsApp/appPackage/manifest.json: Language not supported
  • samples/bot-type-ahead-search-adaptive-cards/csharp/TypeaheadSearch/Cards/DependentDropdown.json: Language not supported
  • samples/tab-deeplink/csharp/DeepLinkBot/appsettings.json: Language not supported
  • samples/app-complete-auth/csharp/AppCompleteAuth/Pages/config.cshtml: Evaluated as low risk
  • samples/tab-stage-view/csharp/TabInStageView/Bots/ActivityBot.cs: Evaluated as low risk
  • samples/app-complete-auth/nodejs/bots/teamsBot.js: Evaluated as low risk
  • samples/app-installation-using-qr-code/csharp/README.md: Evaluated as low risk
  • samples/tab-stage-view/csharp/TeamsApp/teamsapp.local.yml: Evaluated as low risk
  • samples/tab-stage-view/csharp/TabInStageView/Controllers/HomeController.cs: Evaluated as low risk
  • samples/tab-deeplink/nodejs/teamsapp.local.yml: Evaluated as low risk
  • samples/tab-deeplink/csharp/DeepLinkBot/Bots/DeepLinkBot.cs: Evaluated as low risk
  • samples/tab-deeplink/nodejs/Bots/DeepLinkTabsnode.js: Evaluated as low risk
  • samples/app-link-unfurling-in-share-to-teams/csharp/TeamsApp/teamsapp.local.yml: Evaluated as low risk

@@ -24,7 +24,7 @@ public class ActivityBot : TeamsActivityHandler
public ActivityBot(IConfiguration configuration)
{
_applicationBaseUrl = configuration["ApplicationBaseUrl"] ?? throw new NullReferenceException("ApplicationBaseUrl");
_microsoftAppId= configuration["MicrosoftAppId"] ?? throw new NullReferenceException("MicrosoftAppId");
_microsoftAppId= configuration["TeamsAppId"] ?? throw new NullReferenceException("MicrosoftAppId");
Copy link
Preview

Copilot AI Dec 27, 2024

Choose a reason for hiding this comment

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

The error message should be updated to reflect the new configuration key 'TeamsAppId'.

Suggested change
_microsoftAppId= configuration["TeamsAppId"] ?? throw new NullReferenceException("MicrosoftAppId");
_microsoftAppId= configuration["TeamsAppId"] ?? throw new NullReferenceException("TeamsAppId");

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
Copy link
Collaborator

@Pawank-MSFT Pawank-MSFT left a comment

Choose a reason for hiding this comment

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

please fix the given comment, Need to merge after fix the comment. approving from my end

Copy link
Collaborator

@Pawank-MSFT Pawank-MSFT left a comment

Choose a reason for hiding this comment

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

Please fix below comment


The simplest way to run this sample in Teams is to use Teams Toolkit for Visual Studio.
1. Install Visual Studio 2022 **Version 17.10 Preview 4 or higher** [Visual Studio](https://visualstudio.microsoft.com/downloads/)
1. Install Teams Toolkit for Visual Studio [Teams Toolkit extension](https://learn.microsoft.com/en-us/microsoftteams/platform/toolkit/toolkit-v4/install-teams-toolkit-vs?pivots=visual-studio-v17-7)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why we have removed this?

@Pawank-MSFT
Copy link
Collaborator

Pawank-MSFT commented Jan 4, 2025

Copy link
Contributor

@Harikrishnan-MSFT Harikrishnan-MSFT left a comment

Choose a reason for hiding this comment

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

Looks Good Approved!!!

@Pawank-MSFT Pawank-MSFT merged commit 24473bb into main Jan 4, 2025
271 checks passed
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.

3 participants