From b30e8c9ee6cfe479ab76dc18213ac0869b13741f Mon Sep 17 00:00:00 2001
From: yuetsh <517252939@qq.com>
Date: Sun, 5 Jul 2026 00:02:57 -0600
Subject: [PATCH] feat: add SqlSection UI wired into the desktop editor layout
Selecting SQL now shows a table picker, read-only setup-SQL preview,
and results panel instead of the Input/Output split, mirroring how
Turtle already replaces that pane with its own canvas.
---
src/desktop/Content.vue | 6 +++--
src/desktop/SqlSection.vue | 55 ++++++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+), 2 deletions(-)
create mode 100644 src/desktop/SqlSection.vue
diff --git a/src/desktop/Content.vue b/src/desktop/Content.vue
index 852db90..22fdbb3 100644
--- a/src/desktop/Content.vue
+++ b/src/desktop/Content.vue
@@ -3,6 +3,7 @@ import { code } from "../composables/code"
import CodeSection from "./CodeSection.vue"
import InputSection from "./InputSection.vue"
import OutputSection from "./OutputSection.vue"
+import SqlSection from "./SqlSection.vue"
import TurtleSection from "./TurtleSection.vue"
@@ -14,7 +15,7 @@ import TurtleSection from "./TurtleSection.vue"
-
+
+
diff --git a/src/desktop/SqlSection.vue b/src/desktop/SqlSection.vue
new file mode 100644
index 0000000..c32f985
--- /dev/null
+++ b/src/desktop/SqlSection.vue
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+