From b0c5e4c20f088b8c9386c7a67426aba495f0fe9f Mon Sep 17 00:00:00 2001 From: Pascal Martineau Date: Wed, 11 Feb 2026 09:53:31 -0500 Subject: [PATCH] fix: Abstract social profiles should not be non-null --- .../acf-json/group_abstract_social.json | 162 +++++----- .../acf-json/group_options_site.json | 304 +++++++++--------- 2 files changed, 236 insertions(+), 230 deletions(-) diff --git a/wp-content/themes/moonshine/acf-json/group_abstract_social.json b/wp-content/themes/moonshine/acf-json/group_abstract_social.json index b50a427..16135ec 100644 --- a/wp-content/themes/moonshine/acf-json/group_abstract_social.json +++ b/wp-content/themes/moonshine/acf-json/group_abstract_social.json @@ -1,84 +1,86 @@ { - "key": "group_abstract_social", - "title": "Abstract - Social", - "fields": [ - { - "key": "field_6855a1d643408", - "label": "Médias sociaux", - "name": "profiles", - "aria-label": "", - "type": "repeater", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "acfe_repeater_stylised_button": 0, - "layout": "table", - "pagination": 0, - "min": 0, - "max": 0, - "collapsed": "", - "button_label": "Ajouter un élément", - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "profiles", - "graphql_non_null": 1, - "rows_per_page": 20, - "sub_fields": [ + "key": "group_abstract_social", + "title": "Abstract - Social", + "fields": [ { - "key": "field_6855a7e143409", - "label": "URL", - "name": "url", - "aria-label": "", - "type": "url", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "allow_in_bindings": 0, - "placeholder": "", - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "url", - "graphql_non_null": 1, - "parent_repeater": "field_6855a1d643408" + "key": "field_6855a1d643408", + "label": "Médias sociaux", + "name": "profiles", + "aria-label": "", + "type": "repeater", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "acfe_repeater_stylised_button": 0, + "layout": "table", + "pagination": 0, + "min": 0, + "max": 0, + "collapsed": "", + "button_label": "Ajouter un élément", + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "profiles", + "graphql_non_null": 0, + "rows_per_page": 20, + "sub_fields": [ + { + "key": "field_6855a7e143409", + "label": "URL", + "name": "url", + "aria-label": "", + "type": "url", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "allow_in_bindings": 0, + "placeholder": "", + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "url", + "graphql_non_null": 1, + "parent_repeater": "field_6855a1d643408" + } + ] } - ] - } - ], - "location": [ - [ - { - "param": "abstract" - } - ] - ], - "menu_order": 0, - "position": "normal", - "style": "seamless", - "label_placement": "top", - "instruction_placement": "label", - "hide_on_screen": "", - "active": true, - "description": "", - "show_in_rest": 0, - "display_title": "", - "acfe_autosync": ["json"], - "acfe_form": 0, - "show_in_graphql": 1, - "graphql_field_name": "GroupAbstractSocial", - "map_graphql_types_from_location_rules": 0, - "graphql_types": "", - "acfe_meta": "", - "acfe_note": "", - "modified": 1769788591 + ], + "location": [ + [ + { + "param": "abstract" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "seamless", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": true, + "description": "", + "show_in_rest": 0, + "display_title": "", + "acfe_autosync": [ + "json" + ], + "acfe_form": 0, + "show_in_graphql": 1, + "graphql_field_name": "GroupAbstractSocial", + "map_graphql_types_from_location_rules": 0, + "graphql_types": "", + "acfe_meta": "", + "acfe_note": "", + "modified": 1770821599 } diff --git a/wp-content/themes/moonshine/acf-json/group_options_site.json b/wp-content/themes/moonshine/acf-json/group_options_site.json index 03c27ae..eb6d311 100644 --- a/wp-content/themes/moonshine/acf-json/group_options_site.json +++ b/wp-content/themes/moonshine/acf-json/group_options_site.json @@ -1,154 +1,158 @@ { - "key": "group_options_site", - "title": "Options - Site", - "fields": [ - { - "key": "field_697220310aaaf", - "label": "Courriel", - "name": "email", - "aria-label": "", - "type": "email", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "default_value": "", - "allow_in_bindings": 0, - "placeholder": "", - "prepend": "", - "append": "", - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "email", - "graphql_non_null": 1 - }, - { - "key": "field_697cbf414fdd5", - "label": "Numéro de téléphone", - "name": "phone_number", - "aria-label": "", - "type": "phone", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "initial_country": "CA", - "return_format": "national", - "allow_in_bindings": 0, - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "phoneNumber", - "graphql_non_null": 1 - }, - { - "key": "field_697cd4c5fc56a", - "label": "Médias sociaux", - "name": "social", - "aria-label": "", - "type": "clone", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "graphql_field_name": "social", - "clone": ["group_abstract_social"], - "display": "seamless", - "layout": "block", - "prefix_label": 0, - "prefix_name": 0, - "acfe_seamless_style": 0, - "acfe_clone_modal": 0, - "acfe_clone_modal_close": 0, - "acfe_clone_modal_button": "", - "acfe_clone_modal_size": "large" - }, - { - "key": "field_697cc921234cc", - "label": "Liens globaux", - "name": "links", - "aria-label": "", - "type": "group", - "instructions": "", - "required": 0, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "layout": "row", - "acfe_seamless_style": 0, - "acfe_group_modal": 0, - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "links", - "graphql_non_null": 0, - "sub_fields": [ + "key": "group_options_site", + "title": "Options - Site", + "fields": [ { - "key": "field_697cc93e234cd", - "label": "Contact", - "name": "contact", - "aria-label": "", - "type": "link", - "instructions": "", - "required": 1, - "conditional_logic": 0, - "wrapper": { - "width": "", - "class": "", - "id": "" - }, - "return_format": "array", - "allow_in_bindings": 0, - "show_in_graphql": 1, - "graphql_description": "", - "graphql_field_name": "contact", - "graphql_non_null": 1 + "key": "field_697220310aaaf", + "label": "Courriel", + "name": "email", + "aria-label": "", + "type": "email", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "allow_in_bindings": 0, + "placeholder": "", + "prepend": "", + "append": "", + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "email", + "graphql_non_null": 1 + }, + { + "key": "field_697cbf414fdd5", + "label": "Numéro de téléphone", + "name": "phone_number", + "aria-label": "", + "type": "phone", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "initial_country": "CA", + "return_format": "national", + "allow_in_bindings": 0, + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "phoneNumber", + "graphql_non_null": 1 + }, + { + "key": "field_697cd4c5fc56a", + "label": "Médias sociaux", + "name": "social", + "aria-label": "", + "type": "clone", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "graphql_field_name": "social", + "clone": [ + "group_abstract_social" + ], + "display": "seamless", + "layout": "block", + "prefix_label": 0, + "prefix_name": 0, + "acfe_seamless_style": 0, + "acfe_clone_modal": 0, + "acfe_clone_modal_close": 0, + "acfe_clone_modal_button": "", + "acfe_clone_modal_size": "large" + }, + { + "key": "field_697cc921234cc", + "label": "Liens globaux", + "name": "links", + "aria-label": "", + "type": "group", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "layout": "row", + "acfe_seamless_style": 0, + "acfe_group_modal": 0, + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "links", + "graphql_non_null": 0, + "acfe_group_modal_close": 0, + "acfe_group_modal_button": "", + "acfe_group_modal_size": "large", + "sub_fields": [ + { + "key": "field_697cc93e234cd", + "label": "Contact", + "name": "contact", + "aria-label": "", + "type": "link", + "instructions": "", + "required": 1, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "return_format": "array", + "allow_in_bindings": 0, + "show_in_graphql": 1, + "graphql_description": "", + "graphql_field_name": "contact", + "graphql_non_null": 1 + } + ] } - ], - "acfe_group_modal_close": 0, - "acfe_group_modal_button": "", - "acfe_group_modal_size": "large" - } - ], - "location": [ - [ - { - "param": "options_page", - "operator": "==", - "value": "site-options" - } - ] - ], - "menu_order": 0, - "position": "normal", - "style": "seamless", - "label_placement": "top", - "instruction_placement": "label", - "hide_on_screen": "", - "active": true, - "description": "", - "show_in_rest": 0, - "display_title": "", - "acfe_autosync": ["json"], - "acfe_form": 0, - "show_in_graphql": 1, - "graphql_field_name": "GroupSiteOptions", - "map_graphql_types_from_location_rules": 0, - "graphql_types": "", - "acfe_meta": "", - "acfe_note": "", - "modified": 1770002699 + ], + "location": [ + [ + { + "param": "options_page", + "operator": "==", + "value": "site-options" + } + ] + ], + "menu_order": 0, + "position": "normal", + "style": "seamless", + "label_placement": "top", + "instruction_placement": "label", + "hide_on_screen": "", + "active": true, + "description": "", + "show_in_rest": 0, + "display_title": "", + "acfe_autosync": [ + "json" + ], + "acfe_form": 0, + "show_in_graphql": 1, + "graphql_field_name": "GroupSiteOptions", + "map_graphql_types_from_location_rules": 0, + "graphql_types": "", + "acfe_meta": "", + "acfe_note": "", + "modified": 1770820358 }