Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop book and tutorial links from from dashboard + update docs/site link #409

Merged
merged 2 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shared/common/components/infoCards/getLatestInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {z} from "zod";

const latestInfoUrl =
(import.meta as any).env?.VITE_LATEST_INFO_URL ||
"https://www.edgedb.com/latestInfo.json";
"https://www.geldata.com/latestInfo.json";

const latestInfoType = z.object({
latestBlogPost: z.object({
Expand Down
4 changes: 2 additions & 2 deletions shared/common/components/infoCards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function InfoCards({
<InfoCard
title="Learn Gel"
icon={<DocsIcon />}
link="https://docs.edgedb.com"
link="https://docs.geldata.com"
>
Check out our docs for to learn everything you need to know about
Gel, from helpful guides to full API reference docs.
Expand Down Expand Up @@ -77,7 +77,7 @@ export function InfoCards({
<InfoCard
title={`Gel ${data.latestEdgeDBVersion.major}.${data.latestEdgeDBVersion.minor} is available`}
icon={<UpgradeIcon />}
link={`https://docs.edgedb.com/changelog/${data.latestEdgeDBVersion.major}_x`}
link={`https://www.geldata.com/p/changelog/${data.latestEdgeDBVersion.major}_x`}
>
This instance is ready to update to the latest version of Gel.{" "}
<u>Find out what's new in the changelog.</u>
Expand Down
2 changes: 1 addition & 1 deletion shared/studio/components/visualQuerybuilder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const QuerybuilderRoot = observer(function QuerybuilderRoot({
The query builder UI requires a database with a non-empty schema.
Check out the{" "}
<a
href="https://www.edgedb.com/docs/intro/quickstart"
href="https://www.geldata.com/p/quickstart-docs"
target="_blank"
>
Getting Started
Expand Down
2 changes: 1 addition & 1 deletion shared/studio/tabs/ai/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const AuthAdminLoader = observer(function AuthAdminLoader() {
<CodeBlock code="using extension ai;" />
<p>
For more information check out the{" "}
<a href="https://www.edgedb.com/p/ai-ext-docs" target="_blank">
<a href="https://www.geldata.com/p/ai-ext-docs" target="_blank">
AI extension docs
</a>
.
Expand Down
7 changes: 4 additions & 3 deletions shared/studio/tabs/auth/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const ConfigTab = observer(function ConfigTab() {
<b>Need help integrating Gel Auth into your app?</b>
<br />
Check out the{" "}
<a href="https://www.edgedb.com/p/auth-ext-docs" target="_blank">
<a href="https://www.geldata.com/p/auth-ext-docs" target="_blank">
auth extension docs
</a>
, also here are some useful URLs:
Expand Down Expand Up @@ -372,8 +372,9 @@ const AuthUrls = observer(function AuthUrls({
const urlWithPort = new URL(
instanceState.serverUrlWithPort ?? instanceState.serverUrl
);
url.pathname =
urlWithPort.pathname = `db/${encodeURIComponent(databaseState.name)}/ext/auth`;
url.pathname = urlWithPort.pathname = `db/${encodeURIComponent(
databaseState.name
)}/ext/auth`;

const baseUrl = url.toString();

Expand Down
2 changes: 1 addition & 1 deletion shared/studio/tabs/auth/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const AuthAdminLoader = observer(function AuthAdminLoader() {
<CodeBlock code="using extension auth;" />
<p>
For more information check out the{" "}
<a href="https://www.edgedb.com/p/auth-ext-docs" target="_blank">
<a href="https://www.geldata.com/p/auth-ext-docs" target="_blank">
auth extension docs
</a>
</p>
Expand Down
24 changes: 3 additions & 21 deletions shared/studio/tabs/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ import {useDatabaseState} from "../../state/database";
import {DatabaseTabSpec} from "../../components/databasePage";
import {useDBRouter} from "../../hooks/dbRoute";

import {
DocsQuickstartIcon,
DocsTutorialIcon,
DocsEasyEdgeDBIcon,
DocsIcon,
} from "../../icons/docs";
import {DocsQuickstartIcon, DocsIcon} from "../../icons/docs";

import {ArrowRightIcon, Button} from "@edgedb/common/newui";
import {CustomScrollbars} from "@edgedb/common/ui/customScrollbar";
Expand Down Expand Up @@ -127,25 +122,12 @@ export const DatabaseDashboard = observer(function DatabaseDashboard() {
</div>

<div className={styles.docButtons}>
<a
href="https://www.edgedb.com/docs/guides/quickstart"
target="_blank"
>
<a href="https://www.geldata.com/p/quickstart-docs">
<DocsQuickstartIcon />
<span>5-min Quickstart</span>
</a>

<a href="https://www.edgedb.com/tutorial" target="_blank">
<DocsTutorialIcon />
<span>Interactive Tutorial</span>
</a>

<a href="https://www.edgedb.com/easy-edgedb" target="_blank">
<DocsEasyEdgeDBIcon />
<span>Easy EdgeDB</span>
</a>

<a href="https://www.edgedb.com/docs/" target="_blank">
<a href="https://docs.geldata.com" target="_blank">
<DocsIcon />
<span>Documentation</span>
</a>
Expand Down