Enhance admin UI and schema management: Introduce generic handling for image/asset URL fields, ensuring explicit widget usage for image previews. Update translations for new UI elements and implement field ordering in schema definitions. Add functionality for managing field extensions and improve asset filtering in the admin UI.
This commit is contained in:
@@ -1,8 +1,49 @@
|
||||
{
|
||||
// Page with layout, SEO and optional top fullwidth banner (extends content_layout + seo)
|
||||
name: "page",
|
||||
description: "Simple page type for demo references.",
|
||||
description: "Page with 3-row content layout, SEO and optional top banner",
|
||||
tags: [
|
||||
"content",
|
||||
"layout"
|
||||
],
|
||||
category: "content",
|
||||
extends: [
|
||||
"content_layout",
|
||||
"seo"
|
||||
],
|
||||
fields: {
|
||||
title: { type: "string", required: true },
|
||||
slug: { type: "string", required: true },
|
||||
},
|
||||
}
|
||||
slug: {
|
||||
type: "string",
|
||||
required: true,
|
||||
unique: true,
|
||||
description: "URL slug"
|
||||
},
|
||||
name: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Internal page name"
|
||||
},
|
||||
linkName: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Display name in navigation"
|
||||
},
|
||||
icon: {
|
||||
type: "string",
|
||||
description: "Icon identifier (optional)"
|
||||
},
|
||||
headline: {
|
||||
type: "string",
|
||||
required: true
|
||||
},
|
||||
subheadline: {
|
||||
type: "string"
|
||||
},
|
||||
topFullwidthBanner: {
|
||||
type: "reference",
|
||||
collection: "fullwidth_banner",
|
||||
description: "Hero banner at the top"
|
||||
},
|
||||
// row1/row2/row3 (JustifyContent, AlignItems, Content) come from extends: content_layout – single source of truth
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user