From 3c62068ab658e1027da1a26054dd466fbfb809ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Fri, 31 Jan 2025 13:21:56 +0000 Subject: [PATCH 01/21] WIP Tool: gitpod/catfood.gitpod.cloud --- components/dashboard/package.json | 1 + .../src/components/podkit/forms/TextArea.tsx | 27 + components/dashboard/src/index.css | 16 +- .../dashboard/src/teams/TeamOnboarding.tsx | 107 +- yarn.lock | 1215 ++++++++++++++++- 5 files changed, 1362 insertions(+), 4 deletions(-) create mode 100644 components/dashboard/src/components/podkit/forms/TextArea.tsx diff --git a/components/dashboard/package.json b/components/dashboard/package.json index eb1074a84b2d44..7e36a69fb9d4b1 100644 --- a/components/dashboard/package.json +++ b/components/dashboard/package.json @@ -26,6 +26,7 @@ "@tanstack/react-query": "^4.29.19", "@tanstack/react-query-devtools": "^4.29.19", "@tanstack/react-query-persist-client": "^4.29.19", + "@uiw/react-md-editor": "^4.0.5", "@xterm/addon-fit": "^0.10.0", "@xterm/xterm": "^5.5.0", "buffer": "^4.3.0", diff --git a/components/dashboard/src/components/podkit/forms/TextArea.tsx b/components/dashboard/src/components/podkit/forms/TextArea.tsx new file mode 100644 index 00000000000000..ed44bce408c11d --- /dev/null +++ b/components/dashboard/src/components/podkit/forms/TextArea.tsx @@ -0,0 +1,27 @@ +/** + * Copyright (c) 2025 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 * as React from "react"; + +import { cn } from "@podkit/lib/cn"; + +const Textarea = React.forwardRef>( + ({ className, ...props }, ref) => { + return ( +