diff --git a/.changeset/six-islands-laugh.md b/.changeset/six-islands-laugh.md new file mode 100644 index 00000000..3606fa16 --- /dev/null +++ b/.changeset/six-islands-laugh.md @@ -0,0 +1,5 @@ +--- +"@frameless/pdc-dashboard": patch +--- + +Verbeter de Internal Field- en VAC-labels in het Strapi-dashboard. diff --git a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.antwoord.json b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.antwoord.json index b29a0e1d..44f20ff5 100644 --- a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.antwoord.json +++ b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.antwoord.json @@ -15,13 +15,13 @@ "edit": {}, "list": { "label": "id", - "searchable": true, - "sortable": true + "searchable": false, + "sortable": false } }, "content": { "edit": { - "label": "content", + "label": "Inhoud", "description": "", "placeholder": "", "visible": true, diff --git a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.internal-block-content.json b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.internal-block-content.json index 1e2d4ea7..936a546e 100644 --- a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.internal-block-content.json +++ b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.internal-block-content.json @@ -21,9 +21,9 @@ }, "internal_field": { "edit": { - "label": "internal_field", + "label": "Gekoppelde interne informatie", "description": "", - "placeholder": "", + "placeholder": "Kies interne informatie", "visible": true, "editable": true, "mainField": "title" diff --git a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.internal-field.json b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.internal-field.json index d7a2e6a8..a1845b6f 100644 --- a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.internal-field.json +++ b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.internal-field.json @@ -35,7 +35,7 @@ }, "contentBlock": { "edit": { - "label": "contentBlock", + "label": "Contentblok", "description": "", "placeholder": "", "visible": true, diff --git a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.vac.json b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.vac.json index 4524678a..f2935478 100644 --- a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.vac.json +++ b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_components##components.vac.json @@ -105,7 +105,7 @@ }, "toelichting": { "edit": { - "label": "Toelichting", + "label": "Beheernotitie", "description": "", "placeholder": "", "visible": true, diff --git a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_content_types##api##internal-field.internal-field.json b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_content_types##api##internal-field.internal-field.json index 503219d0..036d0326 100644 --- a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_content_types##api##internal-field.internal-field.json +++ b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_content_types##api##internal-field.internal-field.json @@ -21,7 +21,7 @@ }, "title": { "edit": { - "label": "title", + "label": "Titel", "description": "", "placeholder": "", "visible": true, @@ -35,7 +35,7 @@ }, "content": { "edit": { - "label": "content", + "label": "Inhoud", "description": "", "placeholder": "", "visible": true, @@ -49,7 +49,7 @@ }, "product": { "edit": { - "label": "product", + "label": "Gekoppeld product", "description": "", "placeholder": "", "visible": true, @@ -122,7 +122,6 @@ } }, "layouts": { - "list": ["id", "title", "content", "product"], "edit": [ [ { @@ -142,7 +141,8 @@ "size": 6 } ] - ] + ], + "list": ["id", "title", "content", "product"] }, "uid": "api::internal-field.internal-field" }, diff --git a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_content_types##api##vac.vac.json b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_content_types##api##vac.vac.json index 105db9fb..ed93808f 100644 --- a/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_content_types##api##vac.vac.json +++ b/apps/pdc-dashboard/config/sync/core-store.plugin_content_manager_configuration_content_types##api##vac.vac.json @@ -7,7 +7,7 @@ "searchable": true, "pageSize": 10, "mainField": "id", - "defaultSortBy": "id", + "defaultSortBy": "createdAt", "defaultSortOrder": "ASC" }, "metadatas": { @@ -101,7 +101,7 @@ } ] ], - "list": ["id", "createdAt"] + "list": ["vac", "id", "createdAt"] }, "uid": "api::vac.vac" }, diff --git a/apps/pdc-dashboard/src/admin/app.ts b/apps/pdc-dashboard/src/admin/app.ts index 26affa70..d4f7d6a2 100644 --- a/apps/pdc-dashboard/src/admin/app.ts +++ b/apps/pdc-dashboard/src/admin/app.ts @@ -47,6 +47,7 @@ const config = { 'content-manager.popUpWarning.warning.publish-question': 'Wil je nog steeds publiceren?', 'content-manager.popUpWarning.warning.unpublish-question': 'Weet je zeker dat je het niet wilt publiceren?', 'content-manager.popUpWarning.warning.updateAllSettings': 'Dit zal al je instellingen wijzigen.', + 'content-manager.components.empty-repeatable': 'Nog geen items. Klik op de + om iets toe te voegen.', 'Not Found Page': 'Pagina niet gevonden', 'primary-action-button': 'Inwoners (blauw)', 'secondary-action-button': 'Aanvullende knop (wit)', diff --git a/apps/pdc-dashboard/src/components/components/internal-block-content.json b/apps/pdc-dashboard/src/components/components/internal-block-content.json index 8e4c4eb2..ea4660a2 100644 --- a/apps/pdc-dashboard/src/components/components/internal-block-content.json +++ b/apps/pdc-dashboard/src/components/components/internal-block-content.json @@ -1,7 +1,7 @@ { "collectionName": "internal_block_contents", "info": { - "displayName": "Interne blokinhoud", + "displayName": "Interne informatie", "description": "" }, "options": {},