Skip to content

Commit 362dd85

Browse files
Merge pull request #19 from Gerome-Elassaad/copilot/fix-18
Enhance code-interpreter with notebook-style interface and dedicated preview tab
2 parents 239c3e0 + 4167b35 commit 362dd85

File tree

5 files changed

+496
-8
lines changed

5 files changed

+496
-8
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
# testing
1010
/coverage
1111

12+
# demo files (temporary for testing)
13+
/app/demo
14+
/components/demo-enhanced-interpreter.tsx
15+
.env.local
16+
1217
# next.js
1318
/.next/
1419
/out/

app/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import './globals.css'
22
import { AuthProvider, PostHogProvider, ThemeProvider } from './providers'
33
import { Toaster } from '@/components/ui/toaster'
44
import type { Metadata } from 'next'
5-
import { Inter } from 'next/font/google'
5+
// import { Inter } from 'next/font/google'
66

7-
const inter = Inter({ subsets: ['latin'] })
7+
// const inter = Inter({ subsets: ['latin'] })
88

99
export const metadata: Metadata = {
1010
metadataBase: new URL('https://codingit.vercel.app'),
@@ -43,7 +43,7 @@ export default function RootLayout({
4343
}>) {
4444
return (
4545
<html lang="en" suppressHydrationWarning>
46-
<body>
46+
<body className="font-sans">
4747
<ThemeProvider
4848
attribute="class"
4949
defaultTheme="dark"

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default function Home() {
4444
const [result, setResult] = useState<ExecutionResult>()
4545
const [messages, setMessages] = useState<Message[]>([])
4646
const [fragment, setFragment] = useState<DeepPartial<FragmentSchema>>()
47-
const [currentTab, setCurrentTab] = useState<'code' | 'fragment' | 'terminal'>('code')
47+
const [currentTab, setCurrentTab] = useState<'code' | 'fragment' | 'terminal' | 'interpreter'>('code')
4848
const [isPreviewLoading, setIsPreviewLoading] = useState(false)
4949
const [isAuthDialogOpen, setAuthDialog] = useState(false)
5050
const [authView, setAuthView] = useState<ViewType>('sign_in')

0 commit comments

Comments
 (0)