diff --git a/.gitignore b/.gitignore index 9fd8f3f3..862ddd1e 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ AGENTS.override.md .claude/*.local.* .claude/settings*.json .claude/pr/* +.claude/worktrees/ .mcp* .tmp .pi-subagents diff --git a/src/pages/function-list/components/EmptyState.tsx b/src/pages/function-list/components/EmptyState.tsx index 1ba8b8cf..ffa87c43 100644 --- a/src/pages/function-list/components/EmptyState.tsx +++ b/src/pages/function-list/components/EmptyState.tsx @@ -25,9 +25,7 @@ export function FunctionsEmptyState({ isCreateDisabled }: FunctionsEmptyStatePro "A GitHub Personal Access Token is required to create functions. Click 'Connect to GitHub' in the top-right corner to connect. Once connected, the create button will be enabled.", ) : t('Create a serverless function to get started.')} -
- -
+ diff --git a/src/pages/function-list/components/SetupGuide.tsx b/src/pages/function-list/components/SetupGuide.tsx index 50ca363d..bb22c0cf 100644 --- a/src/pages/function-list/components/SetupGuide.tsx +++ b/src/pages/function-list/components/SetupGuide.tsx @@ -1,8 +1,6 @@ import { Button, Content, - List, - ListItem, Modal, ModalBody, ModalFooter, @@ -11,18 +9,13 @@ import { import { ReactNode, useState } from 'react'; import { useTranslation } from 'react-i18next'; -export function SetupGuide() { +export function SetupGuide({ className }: { className?: string }) { const { t } = useTranslation('plugin__console-functions-plugin'); const [isOpen, setIsOpen] = useState(false); return ( <> - setIsOpen(false)} /> @@ -39,25 +32,25 @@ function SetupGuideModal({ isOpen, onClose }: SetupGuideModalProps) { const { t } = useTranslation('plugin__console-functions-plugin'); return ( - + {t('Follow these steps to create and deploy your serverless function.')} - + {steps(t).map((step) => ( - - - {step.title} + + + {step.title} {step.body} - + ))} - + -