From ab1b3723bc5badef9c1f1ebe7d7b8eb75e90175d Mon Sep 17 00:00:00 2001
From: Philipinho <16838612+Philipinho@users.noreply.github.com>
Date: Mon, 15 Jun 2026 09:46:08 +0100
Subject: [PATCH] fix(base): refer to the feature as 'base' rather than
'database'
---
apps/client/src/ee/base/components/base-view.tsx | 6 +++---
.../editor/components/base-embed/base-embed-view.tsx | 2 +-
.../editor/components/empty-page/empty-page-get-started.tsx | 2 +-
.../src/features/editor/components/slash-menu/menu-items.ts | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/apps/client/src/ee/base/components/base-view.tsx b/apps/client/src/ee/base/components/base-view.tsx
index 69d692ecd..17bbca60d 100644
--- a/apps/client/src/ee/base/components/base-view.tsx
+++ b/apps/client/src/ee/base/components/base-view.tsx
@@ -1,7 +1,7 @@
import { useCallback, useEffect, useMemo, useRef } from "react";
import { Text, Stack } from "@mantine/core";
import { useAtom } from "jotai";
-import { IconDatabase } from "@tabler/icons-react";
+import { IconTable } from "@tabler/icons-react";
import { useTranslation } from "react-i18next";
import { notifications } from "@mantine/notifications";
import { reorder } from "@atlaskit/pragmatic-drag-and-drop/reorder";
@@ -364,14 +364,14 @@ export function BaseView({ pageId, embedded, editable = true, titleSlot }: BaseV
if (baseError) {
return (
-
+
{t("Failed to load base")}
);
}
if (!base) return null;
- // Ghost rows are an "empty database" affordance, not a "filter matched nothing" state.
+ // Ghost rows are an "empty base" affordance, not a "filter matched nothing" state.
const isFiltered = (activeFilter?.children?.length ?? 0) > 0;
const banner = (
diff --git a/apps/client/src/features/editor/components/base-embed/base-embed-view.tsx b/apps/client/src/features/editor/components/base-embed/base-embed-view.tsx
index 098e7b22a..2d7dbb2ab 100644
--- a/apps/client/src/features/editor/components/base-embed/base-embed-view.tsx
+++ b/apps/client/src/features/editor/components/base-embed/base-embed-view.tsx
@@ -124,7 +124,7 @@ export function BaseEmbedView({ node, editor, deleteNode }: NodeViewProps) {
} else if (isError) {
content = (
- You don't have access to this database.
+ You don't have access to this base.
);
} else {
diff --git a/apps/client/src/features/editor/components/empty-page/empty-page-get-started.tsx b/apps/client/src/features/editor/components/empty-page/empty-page-get-started.tsx
index 5ab576abf..5b180402f 100644
--- a/apps/client/src/features/editor/components/empty-page/empty-page-get-started.tsx
+++ b/apps/client/src/features/editor/components/empty-page/empty-page-get-started.tsx
@@ -44,7 +44,7 @@ export function EmptyPageGetStarted({
const chips = [
{
- key: "database",
+ key: "base",
label: t("Base"),
icon: IconTable,
onClick: () => convertMutation.mutate({ pageId }),
diff --git a/apps/client/src/features/editor/components/slash-menu/menu-items.ts b/apps/client/src/features/editor/components/slash-menu/menu-items.ts
index a5a3c13d0..daf0fa0e5 100644
--- a/apps/client/src/features/editor/components/slash-menu/menu-items.ts
+++ b/apps/client/src/features/editor/components/slash-menu/menu-items.ts
@@ -63,7 +63,7 @@ import type { Editor } from "@tiptap/core";
import { v7 as uuid7 } from "uuid";
// Resolve the position of a baseEmbed placeholder by its pendingKey.
-// Used by the Database slash command to patch in the real pageId once
+// Used by the Base slash command to patch in the real pageId once
// the create-base API responds — positions may have shifted in the
// interim from collab edits, undo/redo, or concurrent slash commands.
function findBaseEmbedPlaceholderPos(