From 8e1946548ba509d6e7bab7504b8205c412441112 Mon Sep 17 00:00:00 2001 From: Birgit Pauli-Haack <birgit.pauli@gmail.com> Date: Wed, 11 Dec 2024 18:31:38 +0100 Subject: [PATCH 1/3] v1 blueprint --- blueprints/gb-more-experiments/blueprint.json | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 blueprints/gb-more-experiments/blueprint.json diff --git a/blueprints/gb-more-experiments/blueprint.json b/blueprints/gb-more-experiments/blueprint.json new file mode 100644 index 0000000..c280cbd --- /dev/null +++ b/blueprints/gb-more-experiments/blueprint.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://playground.wordpress.net/blueprint-schema.json", + "meta": { + "title": "Enable all Dataview Experiments in Gutenberg", + "author": "bph", + "description": "Blueprint example to enable multiple Experiments within the Gutenberg plugin ", + "categories": ["Gutenberg", "Experiments"] + }, + "landingPage": "/wp-admin/site-editor.php", + "plugins": [ "gutenberg" ], + "steps": [ + { + "step": "login" + }, + { + "step": "runPHP", + "code": "<?php require '/wordpress/wp-load.php'; update_option( 'gutenberg-experiments', array( 'gutenberg-custom-dataviews' => true, 'gutenberg-new-posts-dashboard' => true, 'gutenberg-quick-edit-dataviews' => true ) );" + } + ] +} \ No newline at end of file From 18ef4a6bab2330bfa52e038d670bd54643f57383 Mon Sep 17 00:00:00 2001 From: Birgit Pauli-Haack <birgit.pauli@gmail.com> Date: Thu, 12 Dec 2024 10:33:57 +0100 Subject: [PATCH 2/3] updated the title --- blueprints/gb-more-experiments/blueprint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprints/gb-more-experiments/blueprint.json b/blueprints/gb-more-experiments/blueprint.json index c280cbd..df11ad2 100644 --- a/blueprints/gb-more-experiments/blueprint.json +++ b/blueprints/gb-more-experiments/blueprint.json @@ -1,7 +1,7 @@ { "$schema": "https://playground.wordpress.net/blueprint-schema.json", "meta": { - "title": "Enable all Dataview Experiments in Gutenberg", + "title": "Enable all three Dataview Experiments in Gutenberg", "author": "bph", "description": "Blueprint example to enable multiple Experiments within the Gutenberg plugin ", "categories": ["Gutenberg", "Experiments"] From 3e08050cd865db2b082c93448b5d33d3420e25af Mon Sep 17 00:00:00 2001 From: Birgit Pauli-Haack <birgit.pauli@gmail.com> Date: Tue, 14 Jan 2025 16:27:43 +0100 Subject: [PATCH 3/3] add modern admin-color --- blueprints/gb-more-experiments/blueprint.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/blueprints/gb-more-experiments/blueprint.json b/blueprints/gb-more-experiments/blueprint.json index df11ad2..0781da1 100644 --- a/blueprints/gb-more-experiments/blueprint.json +++ b/blueprints/gb-more-experiments/blueprint.json @@ -15,6 +15,13 @@ { "step": "runPHP", "code": "<?php require '/wordpress/wp-load.php'; update_option( 'gutenberg-experiments', array( 'gutenberg-custom-dataviews' => true, 'gutenberg-new-posts-dashboard' => true, 'gutenberg-quick-edit-dataviews' => true ) );" + }, + { + "step": "updateUserMeta", + "meta": { + "admin_color": "modern" + }, + "userId": 1 } ] } \ No newline at end of file