Skip to content

Commit

Permalink
feat: update the newly added samples
Browse files Browse the repository at this point in the history
  • Loading branch information
huimiu committed Feb 4, 2024
1 parent 2065905 commit f16b86c
Show file tree
Hide file tree
Showing 27 changed files with 52 additions and 590 deletions.
33 changes: 0 additions & 33 deletions basic-blazor-tab-app/BasicBlazorTabApp/Pages/TabConfig.razor

This file was deleted.

19 changes: 6 additions & 13 deletions basic-blazor-tab-app/BasicBlazorTabApp/appPackage/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.14/MicrosoftTeams.schema.json",
"manifestVersion": "1.14",
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.0",
"id": "${{TEAMS_APP_ID}}",
"packageName": "com.microsoft.teams.extension",
Expand All @@ -25,24 +25,17 @@
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"configurableTabs": [
{
"configurationUrl": "${{TAB_ENDPOINT}}/config",
"canUpdateConfiguration": true,
"scopes": [
"team",
"groupchat"
]
}
],
"configurableTabs": [],
"staticTabs": [
{
"entityId": "index",
"name": "Personal Tab",
"contentUrl": "${{TAB_ENDPOINT}}/tab",
"websiteUrl": "${{TAB_ENDPOINT}}/tab",
"scopes": [
"personal"
"personal",
"groupChat",
"team"
]
}
],
Expand Down
5 changes: 3 additions & 2 deletions developer-assist-dashboard/appPackage/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"configurableTabs": [],
"staticTabs": [
{
"entityId": "index0",
Expand All @@ -33,8 +34,8 @@
"websiteUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"scopes": [
"personal",
"team",
"groupChat"
"groupChat",
"team"
]
}
],
Expand Down
5 changes: 3 additions & 2 deletions graph-connector-app/appPackage/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"configurableTabs": [],
"staticTabs": [
{
"entityId": "index",
Expand All @@ -35,8 +36,8 @@
"websiteUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"scopes": [
"personal",
"team",
"groupChat"
"groupChat",
"team"
]
}
],
Expand Down
5 changes: 3 additions & 2 deletions graph-toolkit-contact-exporter/appPackage/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"configurableTabs": [],
"staticTabs": [
{
"entityId": "index",
Expand All @@ -33,8 +34,8 @@
"websiteUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"scopes": [
"personal",
"team",
"groupChat"
"groupChat",
"team"
]
}
],
Expand Down
4 changes: 2 additions & 2 deletions graph-toolkit-one-productivity-hub/appPackage/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"websiteUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"scopes": [
"personal",
"team",
"groupChat"
"groupChat",
"team"
]
}
],
Expand Down
15 changes: 4 additions & 11 deletions hello-world-bot-with-tab/appPackage/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,17 @@
}
],
"composeExtensions": [],
"configurableTabs": [
{
"configurationUrl": "${{TAB_ENDPOINT}}/index.html#/config",
"canUpdateConfiguration": true,
"scopes": [
"team",
"groupchat"
]
}
],
"configurableTabs": [],
"staticTabs": [
{
"entityId": "index0",
"name": "Personal Tab",
"contentUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"websiteUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"scopes": [
"personal"
"personal",
"groupChat",
"team"
]
}
],
Expand Down
2 changes: 0 additions & 2 deletions hello-world-bot-with-tab/tab/src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { HashRouter as Router, Navigate, Route, Routes } from "react-router-dom"
import Privacy from "./Privacy";
import TermsOfUse from "./TermsOfUse";
import Tab from "./Tab";
import TabConfig from "./TabConfig";
import { useTeams } from "@microsoft/teamsfx-react";
import { app } from "@microsoft/teams-js";

Expand Down Expand Up @@ -36,7 +35,6 @@ export default function App() {
<Route path="/privacy" element={<Privacy />} />
<Route path="/termsofuse" element={<TermsOfUse />} />
<Route path="/tab" element={<Tab />} />
<Route path="/config" element={<TabConfig />} />
<Route path="*" element={<Navigate to={"/tab"} />}></Route>
</Routes>
</Router>
Expand Down
54 changes: 0 additions & 54 deletions hello-world-bot-with-tab/tab/src/components/TabConfig.tsx

This file was deleted.

3 changes: 2 additions & 1 deletion hello-world-in-meeting/appPackage/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"configurableTabs": [],
"staticTabs": [
{
"entityId": "index",
Expand All @@ -33,7 +34,7 @@
"websiteUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"scopes": [
"team",
"groupchat"
"groupChat"
],
"context": [
"channelTab",
Expand Down
14 changes: 3 additions & 11 deletions hello-world-tab-codespaces/appPackage/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,16 @@
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"configurableTabs": [
{
"configurationUrl": "${{TAB_ENDPOINT}}/index.html#/config",
"canUpdateConfiguration": true,
"scopes": [
"team",
"groupchat"
]
}
],
"staticTabs": [
{
"entityId": "index0",
"name": "Personal Tab",
"contentUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"websiteUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"scopes": [
"personal"
"personal",
"groupChat",
"team"
]
}
],
Expand Down
2 changes: 0 additions & 2 deletions hello-world-tab-codespaces/src/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
import Privacy from "./Privacy";
import TermsOfUse from "./TermsOfUse";
import Tab from "./Tab";
import TabConfig from "./TabConfig";
import { useTeams } from "@microsoft/teamsfx-react";

/**
Expand All @@ -38,7 +37,6 @@ export default function App() {
<Route path="/privacy" element={<Privacy />} />
<Route path="/termsofuse" element={<TermsOfUse />} />
<Route path="/tab" element={<Tab />} />
<Route path="/config" element={<TabConfig />} />
<Route path="*" element={<Navigate to={"/tab"} />}></Route>
</Routes>
</Router>
Expand Down
54 changes: 0 additions & 54 deletions hello-world-tab-codespaces/src/components/TabConfig.jsx

This file was deleted.

5 changes: 3 additions & 2 deletions hello-world-tab-with-backend/appPackage/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"configurableTabs": [],
"staticTabs": [
{
"entityId": "index",
Expand All @@ -33,8 +34,8 @@
"websiteUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"scopes": [
"personal",
"team",
"groupChat"
"groupChat",
"team"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"accentColor": "#FFFFFF",
"bots": [],
"composeExtensions": [],
"configurableTabs": [],
"staticTabs": [
{
"entityId": "index0",
Expand All @@ -33,8 +34,8 @@
"websiteUrl": "${{TAB_ENDPOINT}}/index.html#/tab",
"scopes": [
"personal",
"team",
"groupChat"
"groupChat",
"team"
]
}
],
Expand Down

0 comments on commit f16b86c

Please sign in to comment.