We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The warning is a button and when you click it, it's supposed to remove it from the job mappings. This worked at some point…
It no longer does. May be fixed when we start refactoring out the form from nested components.
From SyncLinear.com | NEOS-1583
The text was updated successfully, but these errors were encountered:
It would be great if this ticket also surfaced the error in the validations pane.
Sorry, something went wrong.
My refactor (#2960) has removed this feature. This ticket should re-add it.
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from '@/components/ui/tooltip'; import { ExclamationTriangleIcon } from '@radix-ui/react-icons'; import { ReactElement } from 'react'; import { ColumnKey, SchemaConstraintHandler, } from './schema-constraint-handler'; interface Props { rowKey: ColumnKey; handler: SchemaConstraintHandler; onRemoveClick(): void; } export default function SchemaRowAlert(props: Props): ReactElement { const { rowKey, handler, onRemoveClick } = props; const isInSchema = handler.getIsInSchema(rowKey); const messages: string[] = []; if (!isInSchema) { messages.push('This column was not found in the backing source schema'); } if (messages.length === 0) { return <div className="hidden" />; } return ( <TooltipProvider delayDuration={100}> <Tooltip> <TooltipTrigger asChild> <div className="cursor-default"> <ExclamationTriangleIcon className="text-yellow-600 dark:text-yellow-300 cursor-pointer" onClick={() => onRemoveClick()} /> </div> </TooltipTrigger> <TooltipContent> <p>{messages.join('\n')}</p> </TooltipContent> </Tooltip> </TooltipProvider> ); }
No branches or pull requests
The warning is a button and when you click it, it's supposed to remove it from the job mappings. This worked at some point…
It no longer does. May be fixed when we start refactoring out the form from nested components.
From SyncLinear.com | NEOS-1583
The text was updated successfully, but these errors were encountered: