Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
Adds no console rule to warn so it breaks in PR
elijahbenizzya161a75f55b4
diff --git a/telemetry/ui/.eslintrc.js b/telemetry/ui/.eslintrc.jsindex ec131827..8255b272 100644--- a/telemetry/ui/.eslintrc.js+++ b/telemetry/ui/.eslintrc.js@@ -23,6 +23,7 @@ module.exports = {'@typescript-eslint/ban-ts-comment': 'off','react/prop-types': 'off', //Appears to be busted: see https://stackoverflow.com/questions/38684925/react-eslint-error-missing-in-props-validation'eqeqeq': 'error',+ 'no-console': 'warn',},settings: {react: {diff --git a/telemetry/ui/src/components/common/layout.tsx b/telemetry/ui/src/components/common/layout.tsxindex 7f8b027c..77264f05 100644--- a/telemetry/ui/src/components/common/layout.tsx+++ b/telemetry/ui/src/components/common/layout.tsx@@ -13,7 +13,7 @@ const TwoColumnLayout: React.FC<TwoColumnLayoutProps> = ({rightColumnContent,mode}) => {- if (mode == 'first-minimal') {+ if (mode === 'first-minimal') {return (<div className={`flex h-full w-full ${mode === 'first-minimal' ? 'flex flex-1' : ''}`}><div className="h-full">{leftColumnContent}</div>diff --git a/telemetry/ui/src/components/common/table.tsx b/telemetry/ui/src/components/common/table.tsxindex c8b4aba5..230b3fcb 100644--- a/telemetry/ui/src/components/common/table.tsx+++ b/telemetry/ui/src/components/common/table.tsx@@ -36,13 +36,16 @@ export function Table({} & React.ComponentPropsWithoutRef<'div'>) {return (<TableContext.Provider- value={{ bleed, dense, grid, striped } as React.ContextType<typeof TableContext>}>+ value={{ bleed, dense, grid, striped } as React.ContextType<typeof TableContext>}+ ><div className="flow-root"><div{...props}- className={clsx(className, '-mx-[--gutter] overflow-x-auto whitespace-nowrap')}>+ className={clsx(className, '-mx-[--gutter] overflow-x-auto whitespace-nowrap')}+ ><div- className={clsx('inline-block min-w-full align-middle', !bleed && 'sm:px-[--gutter]')}>+ className={clsx('inline-block min-w-full align-middle', !bleed && 'sm:px-[--gutter]')}+ ><table className="min-w-full text-left text-sm/6">{children}</table></div></div>@@ -77,7 +80,8 @@ export function TableRow({return (<TableRowContext.Provider- value={{ href, target, title } as React.ContextType<typeof TableRowContext>}>+ value={{ href, target, title } as React.ContextType<typeof TableRowContext>}+ ><tr{...props}className={clsx(@@ -87,7 +91,8 @@ export function TableRow({striped && 'even:bg-zinc-950/[2.5%] dark:even:bg-white/[2.5%]',href && striped && 'hover:bg-zinc-950/5 dark:hover:bg-white/5',href && !striped && 'hover:bg-zinc-950/[2.5%] dark:hover:bg-white/[2.5%]'- )}>+ )}+ >{children}</tr></TableRowContext.Provider>@@ -124,9 +129,10 @@ export function TableCell({ className, children, ...props }: React.ComponentProp'relative px-4 first:pl-[var(--gutter,theme(spacing.2))] last:pr-[var(--gutter,theme(spacing.2))]',!striped && 'border-b border-zinc-950/5 dark:border-white/5',grid && 'border-l border-l-zinc-950/5 first:border-l-0 dark:border-l-white/5',- dense == 0 ? 'py-4' : dense == 1 ? 'py-2.5' : 'py-0.2', //'py-2.5' : 'py-4',+ dense === 0 ? 'py-4' : dense === 1 ? 'py-2.5' : 'py-0.2', //'py-2.5' : 'py-4',!bleed && 'sm:first:pl-2 sm:last:pr-2'- )}>+ )}+ >{href && (<Linkdata-row-link