Skip to content

Commit

Permalink
fix: remove faq plus sample app in extension sample gallery page (#1081)
Browse files Browse the repository at this point in the history
* fix: remove faq plus app in extension

* feat: reorder sample apps in cmd
  • Loading branch information
HuihuiWu-Microsoft authored and LongOddCode committed May 20, 2021
1 parent 71067c3 commit 11708a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
12 changes: 6 additions & 6 deletions packages/fx-core/src/core/question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,6 @@ export const SampleSelect: SingleSelectQuestion = {
name: CoreQuestionNames.Samples,
title: "Start from a sample",
option: [
{
id: "in-meeting-app",
label: "In-meeting App",
detail: "A template for apps using only in the context of a Teams meeting",
data: "https://github.com/OfficeDev/TeamsFx-Samples/archive/refs/heads/main.zip",
},
{
id: "todo-list-with-Azure-backend",
label: "Todo List with backend on Azure",
Expand All @@ -116,6 +110,12 @@ export const SampleSelect: SingleSelectQuestion = {
detail: "Knowledge sharing app contains a Tab and a Message Extension",
data: "https://github.com/OfficeDev/TeamsFx-Samples/archive/refs/heads/main.zip",
},
{
id: "in-meeting-app",
label: "In-meeting App",
detail: "A template for apps using only in the context of a Teams meeting",
data: "https://github.com/OfficeDev/TeamsFx-Samples/archive/refs/heads/main.zip",
},
],
placeholder: "Select a sample",
returnObject: true,
Expand Down
8 changes: 0 additions & 8 deletions packages/vscode-extension/src/controls/SampleGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,6 @@ export default class SampleGallery extends React.Component<any, any> {
sampleAppFolder="share-now"
sampleAppUrl="https://github.com/OfficeDev/TeamsFx-Samples/archive/refs/heads/main.zip"
/>
<SampleAppCard
image={FAQPlus}
tags={["Easy QnA", "Bot", "JS"]}
title="FAQ Plus"
description="FAQ Plus is a conversational Q&A bot providing an easy way to answer frequently asked questions by users. One can ask a question and the bot responds with information in the knowledge base. If the answer is not in the knowledge base, the bot submits the question to a pre-configured team of experts who help provide support."
sampleAppFolder="faq-plus"
sampleAppUrl="https://github.com/OfficeDev/TeamsFx-Samples/archive/refs/heads/main.zip"
/>
<SampleAppCard
image={InMeetingApp}
tags={["Meeting extension", "JS"]}
Expand Down

0 comments on commit 11708a6

Please sign in to comment.