diff --git a/.gitignore b/.gitignore index 9fd8f3f..862ddd1 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 1ba8b8c..ffa87c4 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 50ca363..c8c1f47 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,17 @@ import { import { ReactNode, useState } from 'react'; import { useTranslation } from 'react-i18next'; -export function SetupGuide() { +interface SetupGuideProps { + className?: string; +} + +export function SetupGuide({ className }: SetupGuideProps) { const { t } = useTranslation('plugin__console-functions-plugin'); const [isOpen, setIsOpen] = useState(false); return ( <> - setIsOpen(false)} /> @@ -39,25 +36,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} - + ))} - + -