mirror of
https://github.com/docmost/docmost.git
synced 2026-08-30 10:26:25 +08:00
fix(base): refer to the feature as 'base' rather than 'database'
This commit is contained in:
@@ -124,7 +124,7 @@ export function BaseEmbedView({ node, editor, deleteNode }: NodeViewProps) {
|
||||
} else if (isError) {
|
||||
content = (
|
||||
<Box p="md" bg="gray.0" style={{ borderRadius: 8 }}>
|
||||
<Text c="dimmed">You don't have access to this database.</Text>
|
||||
<Text c="dimmed">You don't have access to this base.</Text>
|
||||
</Box>
|
||||
);
|
||||
} else {
|
||||
|
||||
@@ -44,7 +44,7 @@ export function EmptyPageGetStarted({
|
||||
|
||||
const chips = [
|
||||
{
|
||||
key: "database",
|
||||
key: "base",
|
||||
label: t("Base"),
|
||||
icon: IconTable,
|
||||
onClick: () => convertMutation.mutate({ pageId }),
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user