diff --git a/README.md b/README.md
index 747465d8..bfa8047f 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,21 @@
-# EdgeDB UI
+# Gel UI
-This monorepo is the home of EdgeDB UI and all related UI components
-that it shares with the EdgeDB website and cloud.
+This monorepo is the home of Gel UI and all related UI components
+that it shares with the Gel website and cloud.
-If you are just looking to use EdgeDB UI: it already comes bundled with
-the EdgeDB server, and opening it is as simple as running the command
-`edgedb ui` from your project directory.
+If you are just looking to use Gel UI: it already comes bundled with
+the Gel server, and opening it is as simple as running the command
+`gel ui` from your project directory.
## Contributing
This repo is organised using yarn workspaces as follows:
-- `/web`: This is the main workspace of EdgeDB UI that is bundled with the
- EdgeDB server. Refer to <./web/readme.md> for instructions on how to build
- and develop EdgeDB UI.
+- `/web`: This is the main workspace of Gel UI that is bundled with the
+ Gel server. Refer to <./web/readme.md> for instructions on how to build
+ and develop Gel UI.
-- `/shared`: This directory contains all the shared components used by EdgeDB
+- `/shared`: This directory contains all the shared components used by Gel
UI and across the website and cloud. Each subdirectory is it's own
workspace; the most notable being `studio`, which contains the REPL, schema
viewer and data viewer/editor components.
diff --git a/shared/common/components/infoCards/index.tsx b/shared/common/components/infoCards/index.tsx
index 13316c53..4fc485df 100644
--- a/shared/common/components/infoCards/index.tsx
+++ b/shared/common/components/infoCards/index.tsx
@@ -36,12 +36,12 @@ export function InfoCards({
priority: 0,
card: (
{exampleDBExists ? "Switch to the" : "Create an"} example{" "} {dbOrBranch} with our "movies" schema and data set, and play with @@ -209,8 +209,8 @@ const FirstRunDashboard = observer(function FirstRunDashboard() { instanceState.creatingExampleDB ? `Creating example ${dbOrBranch}...` : exampleDBExists - ? `Switch to example ${dbOrBranch}` - : `Create example ${dbOrBranch}` + ? `Switch to example ${dbOrBranch}` + : `Create example ${dbOrBranch}` } loading={instanceState.creatingExampleDB} disabled={instanceState.creatingExampleDB} diff --git a/shared/studio/tabs/repl/index.tsx b/shared/studio/tabs/repl/index.tsx index 25325c52..5e2fc9ef 100644 --- a/shared/studio/tabs/repl/index.tsx +++ b/shared/studio/tabs/repl/index.tsx @@ -159,7 +159,7 @@ const ReplList = observer(function ReplList({ const isMobile = useIsMobile(); const headerHeight = - (isMobile ? 320 : 330) + (replState._hasUnfetchedHistory ? 34 : 0); + (isMobile ? 360 : 275) + (replState._hasUnfetchedHistory ? 34 : 0); useEffect(() => { replState.scrollRef = ref.current; @@ -995,20 +995,21 @@ const QueryCodeBlock = observer(function QueryCodeBlock({ }); const headerASCII = ` - /$$ - | $$ - | $$ - /$$$$$$$$ /$$$$$$$ /$$$$$$ /$$$$$$$$ | $$ /$$$$$$$ /$$$$$$$ -| $$_____/| $$__ $$ /$$__ $$| $$_____/ | $$ | $$__ $$| $$__ $$ -| $$ | $$ \\ $$| $$ \\__/| $$ | $$ | $$ \\ $$| $$ \\ $$ -| $$$$$$ | $$ | $$| $$ /$$$$| $$$$$$ | $$ | $$ | $$| $$$$$$$ -| $$___/ | $$ | $$| $$|_ $$| $$___/ | $$ | $$ | $$| $$__ $$ -| $$ | $$ | $$| $$ \\ $$| $$ | $$ | $$ | $$| $$ \\ $$ -| $$$$$$$$| $$$$$$$/| $$$$$$/| $$$$$$$$ | $$ | $$$$$$$/| $$$$$$$/ -|________/|_______/ \\______/ |________/ | $$ |_______/ |_______/ - | $$ - | $$ - |__/ + /$$$ + /$$$$$ + | $$$$$ + /$$$$$$$$$ /$$$$$$$$ | $$$$$ + /$$$$$$$$$$$ /$$$$$$$$$$$| $$$$$ + /$$$$$$$$$$$$$ /$$$$$$$$$$$$| $$$$$ +| $$$$$$$$$$$$$| $$$$$$$$$$/ | $$$$$ +| $$$$$$$$$$$$$| $$$$$$$$/ | $$$$$ +| $$$$$$$$$$$ | $$$$$$$$$ | $$$$$ + \\ $$$$$$$ \\ $$$$$$ | $$$ + / $$$$$$$$$ \\______/ \\___/ + | $$$$$$$$$ + | $$$$$$$$$ + \\ $$$$$$$ + \\_______/ `.replace(/\$+/g, "$&"); const ReplHeader = observer(function ReplHeader() { @@ -1031,10 +1032,11 @@ const ReplHeader = observer(function ReplHeader() { dangerouslySetInnerHTML={{__html: headerASCII}} />