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

Update page to "dynamic page" #524

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions studio/schemas/builders/pageBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ export const pageBuilderID = "pageBuilder";
const pageBuilder = defineType({
name: pageBuilderID,
type: "document",
title: "Pages",
title: "Dynamic pages",
fields: [
defineField({
name: "page",
title: "Page name",
title: "Dynamic page name",
anemne marked this conversation as resolved.
Show resolved Hide resolved
description:
"Enter a distinctive name for the page to help content editors easily identify and manage it. This name is used internally and is not visible on your website.",
"Enter a distinctive name for the dynamic page to help content editors easily identify and manage it. This name is used internally and is not visible on your website.",
type: "string",
validation: (Rule) => Rule.required().max(30),
}),
Expand Down
4 changes: 2 additions & 2 deletions studio/schemas/deskStructure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export default (S: StructureBuilder) =>
.title("Navigation Manager"),
),
S.listItem()
.title("Pages")
.title("Dynamic Pages")
.icon(ProjectsIcon)
.child(S.documentTypeList(pageBuilderID).title("Pages")),
.child(S.documentTypeList(pageBuilderID).title("Dynamic Pages")),
S.listItem()
.title("Blog")
.icon(ComposeIcon)
Expand Down