From 899e277dc8870e065c532f96850a67e30c19f070 Mon Sep 17 00:00:00 2001
From: Ubuntu <fundacio@dev.network.guifi.net>
Date: Tue, 28 Feb 2023 15:39:11 +0000
Subject: [PATCH] Change order of execute webform

---
 .../block.block.views_block__aa28_block_2.yml |   8 +-
 config/sync/system.site.yml                   |   2 +-
 config/sync/webform.webform.execute_drop.yml  | 132 +++++++++---------
 3 files changed, 71 insertions(+), 71 deletions(-)

diff --git a/config/sync/block.block.views_block__aa28_block_2.yml b/config/sync/block.block.views_block__aa28_block_2.yml
index 1c543bd..fcc5fc5 100644
--- a/config/sync/block.block.views_block__aa28_block_2.yml
+++ b/config/sync/block.block.views_block__aa28_block_2.yml
@@ -30,10 +30,6 @@ visibility:
     id: condition_group
     negate: false
     block_visibility_group: ''
-  request_path:
-    id: request_path
-    negate: false
-    pages: '/guifi/*'
   user_role:
     id: user_role
     negate: false
@@ -42,3 +38,7 @@ visibility:
     roles:
       administrator: administrator
       guifi_net_content_admin: guifi_net_content_admin
+  request_path:
+    id: request_path
+    negate: false
+    pages: '/guifi/*'
diff --git a/config/sync/system.site.yml b/config/sync/system.site.yml
index be5afdf..9e879ab 100644
--- a/config/sync/system.site.yml
+++ b/config/sync/system.site.yml
@@ -8,7 +8,7 @@ slogan: 'Freedom & Internet for all'
 page:
   403: ''
   404: ''
-  front: /node/69805
+  front: /node/69621
 admin_compact_mode: false
 weight_select_max: 100
 default_langcode: en
diff --git a/config/sync/webform.webform.execute_drop.yml b/config/sync/webform.webform.execute_drop.yml
index f11b21b..561843f 100644
--- a/config/sync/webform.webform.execute_drop.yml
+++ b/config/sync/webform.webform.execute_drop.yml
@@ -81,72 +81,6 @@ elements: |-
           view_name: eref_pending_drops
           display_name: entity_reference_1
           arguments: {  }
-  device:
-    '#type': webform_wizard_page
-    '#title': 'Device Configuration'
-    onu:
-      '#type': entity_autocomplete
-      '#title': ONU
-      '#required': true
-      '#target_type': guifi
-      '#selection_handler': views
-      '#selection_settings':
-        view:
-          view_name: onu_discovered_pending
-          display_name: entity_reference_1
-          arguments: {  }
-    ont_configure_response:
-      '#type': textarea
-      '#title': 'ONT configure response'
-      '#readonly': true
-      '#wrapper_attributes':
-        id: edit-ont-configure-response
-    model:
-      '#type': entity_autocomplete
-      '#title': Model
-      '#description': |-
-        Will be populated while provisioning.<br />
-        For now, being hidded (by condition)
-      '#required': true
-      '#states':
-        invisible:
-          ':input[name="user_email"]':
-            filled: true
-      '#default_value': '985'
-      '#target_type': guifi
-      '#selection_handler': 'default:guifi'
-      '#selection_settings':
-        target_bundles:
-          guifi_device_models: guifi_device_models
-  interior_documentation:
-    '#type': webform_wizard_page
-    '#title': 'Interior documentation'
-    drop_type:
-      '#type': select
-      '#title': 'Drop type'
-      '#options':
-        na: 'Not Applicable'
-        'null': Nothing
-        any: Any
-        ext: 'Exterior - facade'
-        int: 'Interior - wall socket'
-      '#required': true
-      '#default_value': int
-    wall_socket_pic:
-      '#type': webform_image_file
-      '#title': 'Wall socket picture'
-      '#uri_scheme': public
-      '#file_preview': 'medium:image'
-    onu_label_picture:
-      '#type': webform_image_file
-      '#title': 'ONU Label picture'
-      '#uri_scheme': public
-      '#file_preview': 'medium:image'
-    onu_power_picture:
-      '#type': webform_image_file
-      '#title': 'ONU Power picture'
-      '#uri_scheme': public
-      '#file_preview': 'medium:image'
   cto:
     '#type': webform_wizard_page
     '#title': 'CTO & Exterior'
@@ -227,6 +161,72 @@ elements: |-
       '#max': 256
       '#step': 1
       '#required': true
+  interior_documentation:
+    '#type': webform_wizard_page
+    '#title': 'Interior documentation'
+    drop_type:
+      '#type': select
+      '#title': 'Drop type'
+      '#options':
+        na: 'Not Applicable'
+        'null': Nothing
+        any: Any
+        ext: 'Exterior - facade'
+        int: 'Interior - wall socket'
+      '#required': true
+      '#default_value': int
+    wall_socket_pic:
+      '#type': webform_image_file
+      '#title': 'Wall socket picture'
+      '#uri_scheme': public
+      '#file_preview': 'medium:image'
+    onu_label_picture:
+      '#type': webform_image_file
+      '#title': 'ONU Label picture'
+      '#uri_scheme': public
+      '#file_preview': 'medium:image'
+    onu_power_picture:
+      '#type': webform_image_file
+      '#title': 'ONU Power picture'
+      '#uri_scheme': public
+      '#file_preview': 'medium:image'
+  device:
+    '#type': webform_wizard_page
+    '#title': 'Device Configuration'
+    onu:
+      '#type': entity_autocomplete
+      '#title': ONU
+      '#required': true
+      '#target_type': guifi
+      '#selection_handler': views
+      '#selection_settings':
+        view:
+          view_name: onu_discovered_pending
+          display_name: entity_reference_1
+          arguments: {  }
+    ont_configure_response:
+      '#type': textarea
+      '#title': 'ONT configure response'
+      '#readonly': true
+      '#wrapper_attributes':
+        id: edit-ont-configure-response
+    model:
+      '#type': entity_autocomplete
+      '#title': Model
+      '#description': |-
+        Will be populated while provisioning.<br />
+        For now, being hidded (by condition)
+      '#required': true
+      '#states':
+        invisible:
+          ':input[name="user_email"]':
+            filled: true
+      '#default_value': '985'
+      '#target_type': guifi
+      '#selection_handler': 'default:guifi'
+      '#selection_settings':
+        target_bundles:
+          guifi_device_models: guifi_device_models
   finalization_notes:
     '#type': webform_wizard_page
     '#title': 'Finalization & Notes'
-- 
GitLab