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:
Peter Meier
2026-03-14 00:08:52 +01:00
parent 084a1d9e2a
commit 11d46049d1
23 changed files with 662 additions and 117 deletions

View File

@@ -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
}
}