Skip to main content
Glama
TaskSelectEmpty.tsx1.17 kB
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 import { Center, Flex, Stack, Text, ThemeIcon } from '@mantine/core'; import { IconClipboardList } from '@tabler/icons-react'; import type { JSX } from 'react'; interface TaskSelectEmptyProps { notFound?: boolean; } export function TaskSelectEmpty(props: TaskSelectEmptyProps): JSX.Element { const { notFound = false } = props; return ( <Flex direction="row" h="100%" w="100%"> <Center h="100%" w="100%"> <Stack align="center" gap="md"> <ThemeIcon size={64} variant="light" color="gray"> <IconClipboardList size={32} /> </ThemeIcon> <Stack align="center" gap="xs"> <Text size="lg" fw={500} c="dimmed"> {notFound ? 'Task not found' : 'No task selected'} </Text> {!notFound && ( <Text size="sm" c="dimmed" ta="center"> Select a task from the list to view details, add notes, and manage properties </Text> )} </Stack> </Stack> </Center> </Flex> ); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/medplum/medplum'

If you have feedback or need assistance with the MCP directory API, please join our Discord server