From 24135748541c38aed50bab35bfadb81ad9ddeeaa Mon Sep 17 00:00:00 2001 From: Bhaskaran Rathnachalam Date: Sun, 26 Jan 2025 06:04:58 -0800 Subject: [PATCH] minor changes to sidebar --- .github/workflows/production-web.yml | 16 +- .../[project]/components/app-sidebar.tsx | 42 +- .../editor/src/lib/data/initialContent.tsx | 28 - packages/editor/src/lib/data/newContent.tsx | 670 +++--------------- .../src/components/code-block/SqlSnippet.tsx | 2 +- 5 files changed, 116 insertions(+), 642 deletions(-) delete mode 100644 packages/editor/src/lib/data/initialContent.tsx diff --git a/.github/workflows/production-web.yml b/.github/workflows/production-web.yml index 407b767..52be069 100644 --- a/.github/workflows/production-web.yml +++ b/.github/workflows/production-web.yml @@ -26,11 +26,11 @@ jobs: # run: bun run lint --filter=@deepnote-clone/web # - name: 🪐 Check TypeScript # run: bun run typecheck --filter=@deepnote-clone/web - - name: 📤 Pull Vercel Environment Information - run: bunx vercel env pull .env --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} - - name: 📤 Pull Vercel Environment Information - run: bunx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} - - name: 🏗 Build Project Artifacts - run: bunx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} - - name: Deploy Project Artifacts to Vercel - run: bunx vercel deploy --prebuilt --prod --archive=tgz --token=${{ secrets.VERCEL_TOKEN }} + # - name: 📤 Pull Vercel Environment Information + # run: bunx vercel env pull .env --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + # - name: 📤 Pull Vercel Environment Information + # run: bunx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + # - name: 🏗 Build Project Artifacts + # run: bunx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + # - name: Deploy Project Artifacts to Vercel + # run: bunx vercel deploy --prebuilt --prod --archive=tgz --token=${{ secrets.VERCEL_TOKEN }} diff --git a/apps/web/src/app/[locale]/(app)/projects/[project]/components/app-sidebar.tsx b/apps/web/src/app/[locale]/(app)/projects/[project]/components/app-sidebar.tsx index 163651c..c2fa463 100644 --- a/apps/web/src/app/[locale]/(app)/projects/[project]/components/app-sidebar.tsx +++ b/apps/web/src/app/[locale]/(app)/projects/[project]/components/app-sidebar.tsx @@ -162,13 +162,21 @@ export function AppSidebar() { placeholder="Search integration to connect" className="w-full p-2 mb-2 border border-gray-300 rounded" /> - + [Demo] Snowflake - + Create a new integration @@ -201,7 +209,7 @@ export function AppSidebar() { - +

Import files

@@ -210,23 +218,25 @@ export function AppSidebar() { notebooks in this project.

- +
Terminals - - - -
- - {"Bhaskaran Rathnachalam's terminal"} - - - - +
+
+ +
+
+

No terminals

+

+ Create a terminal to connect to the underlying project's + machine +

+
+
@@ -236,10 +246,10 @@ export function AppSidebar() {
-