Skip to content

Commit

Permalink
feat: add deep link for DA templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Yimin-Jin committed Jan 15, 2025
1 parent 765cfa1 commit 54baef2
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"profiles": {
{{^DeclarativeCopilot}}
// Launch project within the Microsoft 365 app
"Microsoft 365 app (browser)": {
"commandName": "Project",
Expand All @@ -10,5 +11,13 @@
"commandName": "Project",
"launchUrl": "https://teams.microsoft.com?appTenantId=${{TEAMS_APP_TENANT_ID}}&login_hint=${{TEAMSFX_M365_USER_NAME}}",
}
{{/DeclarativeCopilot}}
{{#DeclarativeCopilot}}
// Launch project within Copilot
"Copilot (browser)": {
"commandName": "Project",
"launchUrl": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${{AGENT_HINT}}?auth=2"
}
{{/DeclarativeCopilot}}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ provision:
target: ./Properties/launchSettings.json
content:
profiles:
{{^DeclarativeCopilot}}
Microsoft 365 app (browser):
commandName: "Project"
dotnetRunMessages: true
Expand All @@ -124,4 +125,11 @@ provision:
environmentVariables:
ASPNETCORE_ENVIRONMENT: "Development"
hotReloadProfile: "aspnetcore"
{{/DeclarativeCopilot}}
{{#DeclarativeCopilot}}
"Copilot (browser)": {
"commandName": "Project",
"launchUrl": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${{AGENT_HINT}}?auth=2"
}
{{/DeclarativeCopilot}}
{{/isNewProjectTypeEnabled}}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"profiles": {
{{^DeclarativeCopilot}}
// Launch project within the Microsoft 365 app
"Microsoft 365 app (browser)": {
"commandName": "Project",
Expand All @@ -10,5 +11,13 @@
"commandName": "Project",
"launchUrl": "https://teams.microsoft.com?appTenantId=${{TEAMS_APP_TENANT_ID}}&login_hint=${{TEAMSFX_M365_USER_NAME}}",
}
{{/DeclarativeCopilot}}
{{#DeclarativeCopilot}}
// Launch project within Copilot
"Copilot (browser)": {
"commandName": "Project",
"launchUrl": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${{AGENT_HINT}}?auth=2"
}
{{/DeclarativeCopilot}}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ provision:
target: ./Properties/launchSettings.json
content:
profiles:
{{^DeclarativeCopilot}}
Microsoft 365 app (browser):
commandName: "Project"
dotnetRunMessages: true
Expand All @@ -180,4 +181,11 @@ provision:
environmentVariables:
ASPNETCORE_ENVIRONMENT: "Development"
hotReloadProfile: "aspnetcore"
{{/DeclarativeCopilot}}
{{#DeclarativeCopilot}}
"Copilot (browser)": {
"commandName": "Project",
"launchUrl": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${{AGENT_HINT}}?auth=2"
}
{{/DeclarativeCopilot}}
{{/isNewProjectTypeEnabled}}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"profiles": {
{{^DeclarativeCopilot}}
// Launch project within the Microsoft 365 app
"Microsoft 365 app (browser)": {
"commandName": "Project",
Expand All @@ -10,5 +11,13 @@
"commandName": "Project",
"launchUrl": "https://teams.microsoft.com?appTenantId=${{TEAMS_APP_TENANT_ID}}&login_hint=${{TEAMSFX_M365_USER_NAME}}",
}
{{/DeclarativeCopilot}}
{{#DeclarativeCopilot}}
// Launch project within Copilot
"Copilot (browser)": {
"commandName": "Project",
"launchUrl": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${{AGENT_HINT}}?auth=2"
}
{{/DeclarativeCopilot}}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ provision:
target: ./Properties/launchSettings.json
content:
profiles:
{{^DeclarativeCopilot}}
Microsoft 365 app (browser):
commandName: "Project"
dotnetRunMessages: true
Expand All @@ -77,4 +78,11 @@ provision:
environmentVariables:
ASPNETCORE_ENVIRONMENT: "Development"
hotReloadProfile: "aspnetcore"
{{/DeclarativeCopilot}}
{{#DeclarativeCopilot}}
"Copilot (browser)": {
"commandName": "Project",
"launchUrl": "https://m365.cloud.microsoft/chat/entity1-d870f6cd-4aa5-4d42-9626-ab690c041429/${{AGENT_HINT}}?auth=2"
}
{{/DeclarativeCopilot}}
{{/isNewProjectTypeEnabled}}

0 comments on commit 54baef2

Please sign in to comment.