Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

feature/COR-1284-Improve-readability-Sanity-shrink-or-hide-fields #4541

Merged
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 12 additions & 0 deletions packages/cms/src/schemas/topical/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ export const theme = {
type: 'document',
title: 'Thema',
name: 'theme',
fieldsets: [
{
title: 'Ondertitel',
description: 'Klik op het label om de velden te tonen.',
name: 'ondertitel',
options: {
collapsible: true,
collapsed: true,
},
},
],
fields: [
{
title: 'Titel',
Expand All @@ -16,6 +27,7 @@ export const theme = {
title: 'Ondertitel',
name: 'subTitle',
type: 'localeRichContentBlock',
fieldset: 'ondertitel',
},
{
title: 'Thema icoon',
Expand Down
32 changes: 32 additions & 0 deletions packages/cms/src/schemas/topical/thermometer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,35 @@ export const thermometer = {
type: 'object',
title: 'Thermometer',
name: 'thermometer',
fieldsets: [
Jorrik-Klijnsma-Work marked this conversation as resolved.
Show resolved Hide resolved
{
title: 'De beschrijving boven de thermometer',
name: 'description',
description: 'Klik op het label om de velden te tonen.',
options: {
collapsible: true,
collapsed: true,
},
},
{
title: 'Artikel referentie',
name: 'artikel-referentie',
description: 'Klik op het label om de velden te tonen.',
options: {
collapsible: true,
collapsed: true,
},
},
{
title: 'Titel van standen informatie',
name: 'level-information',
description: 'Klik op het label om de velden te tonen.',
options: {
collapsible: true,
collapsed: true,
},
},
],
fields: [
{
title: 'Thermometer icoon',
Expand All @@ -28,6 +57,7 @@ export const thermometer = {
title: 'De beschrijving boven de thermometer',
name: 'subTitle',
type: 'localeRichContentBlock',
fieldset: 'description',
},
{
title: 'De titel binnen de thermometer tegel',
Expand Down Expand Up @@ -73,6 +103,7 @@ export const thermometer = {
title: 'Artikel referentie',
name: 'articleReference',
type: 'localeRichContentBlock',
fieldset: 'artikel-referentie',
},
{
title: 'Titel van uitklapbare sectie',
Expand All @@ -84,6 +115,7 @@ export const thermometer = {
title: 'Titel van standen informatie',
name: 'trendIcon',
type: 'trendIcon',
APW26 marked this conversation as resolved.
Show resolved Hide resolved
fieldset: 'level-information',
},
{
title: 'Tijdlijn',
Expand Down