Skip to content

Commit a02b77d

Browse files
committed
feat: remove unused files
1 parent 67f2b34 commit a02b77d

File tree

6 files changed

+6
-361
lines changed

6 files changed

+6
-361
lines changed

apps/web/src/components/JupyterNotebook.css

Lines changed: 0 additions & 104 deletions
This file was deleted.

apps/web/src/components/JupyterNotebook.tsx

Lines changed: 0 additions & 77 deletions
This file was deleted.

apps/web/src/components/NotebookCell.css

Lines changed: 0 additions & 126 deletions
This file was deleted.

apps/web/src/components/NotebookCell.tsx

Lines changed: 0 additions & 46 deletions
This file was deleted.

apps/web/src/components/TraceStep.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ import DataTransformation from './DataTransformation';
44

55
interface TraceStepProps {
66
record: TraceRecord;
7-
isFirst: boolean;
87
index: number;
98
}
109

1110
// Determine if we should show arguments for this operation
12-
function shouldShowArgs(operation: string, args: any[]): boolean {
11+
function shouldShowArgs(operation: string): boolean {
1312
// Hide arguments for operations where they're too verbose or obvious from visualization
1413
const hideArgsFor = ['with_columns', 'with_column'];
1514
return !hideArgsFor.includes(operation);
@@ -61,7 +60,7 @@ function formatArgs(operation: string, args: any[]): string {
6160
return 'See table data below';
6261
}
6362

64-
export default function TraceStep({ record, isFirst, index }: TraceStepProps) {
63+
export default function TraceStep({ record, index }: TraceStepProps) {
6564
const [expanded, setExpanded] = useState(false);
6665
const [isVisible, setIsVisible] = useState(false);
6766

@@ -96,7 +95,7 @@ export default function TraceStep({ record, isFirst, index }: TraceStepProps) {
9695

9796
{expanded && hasValidData && (
9897
<div className="step-details">
99-
{record.args && record.args.length > 0 && shouldShowArgs(record.operation, record.args) && (
98+
{record.args && record.args.length > 0 && shouldShowArgs(record.operation) && (
10099
<div className="step-args">
101100
<strong>Arguments:</strong> <code>{formatArgs(record.operation, record.args)}</code>
102101
</div>

0 commit comments

Comments
 (0)