diff --git a/components/dashboard/src/whatsnew/WhatsNew-2021-08.tsx b/components/dashboard/src/whatsnew/WhatsNew-2021-08.tsx new file mode 100644 index 00000000000000..bb9d2384904fa5 --- /dev/null +++ b/components/dashboard/src/whatsnew/WhatsNew-2021-08.tsx @@ -0,0 +1,27 @@ +/** + * Copyright (c) 2021 Gitpod GmbH. All rights reserved. + * Licensed under the GNU Affero General Public License (AGPL). + * See License-AGPL.txt in the project root for license information. + */ + +import { User } from "@gitpod/gitpod-protocol"; +import { WhatsNewEntry } from "./WhatsNew"; +import { switchToVSCodeAction } from "./WhatsNew-2021-04"; +import PillLabel from "../components/PillLabel"; + +export const WhatsNewEntry202108: WhatsNewEntry = { + children: (user: User, setUser: React.Dispatch) => { + + return <> +
+

Teams & Projects New Feature

+

Hey! We're introducing Teams & Projects to surface Prebuilds in the dashboard. All existing teams will be migrated over the upcoming weeks. No action is required on your side. 🎉

+

You can create as many teams as you need and import repositories as projects from the top navigation. 💡

+

We welcome any input on this first iteration in the feedback issue. 📝

+
+ ; + }, + newsKey: 'August-2021', + maxUserCreationDate: '2021-08-17', + actionAfterSeen: switchToVSCodeAction, +}; diff --git a/components/dashboard/src/whatsnew/WhatsNew.tsx b/components/dashboard/src/whatsnew/WhatsNew.tsx index 83f33477d11260..95910b664db109 100644 --- a/components/dashboard/src/whatsnew/WhatsNew.tsx +++ b/components/dashboard/src/whatsnew/WhatsNew.tsx @@ -8,6 +8,7 @@ import { User } from "@gitpod/gitpod-protocol"; import Modal from "../components/Modal"; import { WhatsNewEntry202104 } from "./WhatsNew-2021-04"; import { WhatsNewEntry202106 } from "./WhatsNew-2021-06"; +import { WhatsNewEntry202108 } from "./WhatsNew-2021-08"; import { UserContext } from "../user-context"; import { useContext, useState } from "react"; import { getGitpodService } from "../service/service"; @@ -15,6 +16,7 @@ import { getGitpodService } from "../service/service"; const allEntries: WhatsNewEntry[] = [ WhatsNewEntry202106, WhatsNewEntry202104, + WhatsNewEntry202108 ] export const shouldSeeWhatsNew = (user: User, news: { newsKey: string, maxUserCreationDate: string }[] = allEntries) => {