Skip to content

Commit c815202

Browse files
committed
feat: WIP Major Updates.
1 parent e82a83a commit c815202

28 files changed

+2634
-3588
lines changed

.git-ftp-ignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/src/
2-
node_modules
2+
node\*modules
33
.vscode
44
.editorconfig
55
.env
6-
.eslint.config.ts
6+
.eslint.config.js
77
.git
88
.github
99
.gitignore
@@ -17,8 +17,7 @@ package.json
1717
package-lock.json
1818
postcss.config.ts
1919
tsconfig.json
20-
phpcs.xml
21-
**/*.md
20+
phpcs.xml \*\*/\_.md
2221
.prettierrc
2322
stylelint.config.ts
2423
tailwind.config.ts

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"tofino"
2323
],
2424
"require": {
25-
"php": ">=8.1.0",
25+
"php": ">=8.2.0",
2626
"composer/installers": "~v2.2.0"
2727
},
2828
"autoload": {
2929
"psr-4": {
30-
"Tofino\\": "inc/lib/"
30+
"Tofino\\": "inc/lib/class"
3131
}
3232
},
3333
"config": {

header.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@
5050
</div>
5151
</nav>
5252
</header>
53-

inc/acf-json/group_62583ddaa0897.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"id": ""
1818
},
1919
"acfe_flexible_advanced": 0,
20-
"layouts": [
21-
{
22-
"key": "layout_62586ca1c1a98",
20+
"layouts": {
21+
"layout_66e9fc13df61f": {
22+
"key": "layout_66e9fc13df61f",
2323
"name": "general_content",
2424
"label": "General Content",
2525
"display": "block",
2626
"sub_fields": [
2727
{
28-
"key": "field_62586caef1a1b",
28+
"key": "field_6716bcc404299",
2929
"label": "General Content",
3030
"name": "general_content",
3131
"aria-label": "",
@@ -38,14 +38,14 @@
3838
"class": "",
3939
"id": ""
4040
},
41+
"graphql_field_name": "generalContent",
4142
"clone": [
4243
"group_62586c11ea98d"
4344
],
4445
"display": "seamless",
4546
"layout": "block",
4647
"prefix_label": 0,
4748
"prefix_name": 0,
48-
"wpml_cf_preferences": 1,
4949
"acfe_seamless_style": 0,
5050
"acfe_clone_modal": 0,
5151
"acfe_clone_modal_close": 0,
@@ -64,7 +64,7 @@
6464
"acfe_flexible_modal_edit_size": false,
6565
"acfe_flexible_category": false
6666
}
67-
],
67+
},
6868
"min": "",
6969
"max": "",
7070
"button_label": "Add Row",
@@ -107,7 +107,7 @@
107107
]
108108
],
109109
"menu_order": 0,
110-
"position": "acf_after_title",
110+
"position": "normal",
111111
"style": "seamless",
112112
"label_placement": "top",
113113
"instruction_placement": "label",
@@ -132,11 +132,11 @@
132132
"json"
133133
],
134134
"acfe_form": 0,
135-
"show_in_graphql": 1,
135+
"show_in_graphql": 0,
136136
"graphql_field_name": "__pageModules",
137137
"map_graphql_types_from_location_rules": 0,
138138
"graphql_types": "",
139139
"acfe_meta": "",
140140
"acfe_note": "",
141-
"modified": 1726688649
141+
"modified": 1729892148
142142
}

inc/acf-json/group_65a167568ac34.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,14 +511,15 @@
511511
"acfe_autosync": [
512512
"json"
513513
],
514+
"acfml_field_group_mode": "translation",
514515
"acfe_form": 0,
515516
"show_in_graphql": 0,
516517
"graphql_field_name": "admin",
517518
"map_graphql_types_from_location_rules": 0,
518519
"graphql_types": "",
519520
"acfe_meta": "",
520521
"acfe_note": "",
521-
"modified": 1729891561,
522+
"modified": 1731604985,
522523
"acfe_categories": {
523524
"options": "Options"
524525
}

inc/acf-json/group_66e8b2aebe427.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"id": ""
1818
},
1919
"choices": {
20-
"": "Custom"
20+
"": "Custom",
21+
"[\"general_content\",\"form_select\"]": "Test Layout 1"
2122
},
2223
"default_value": "custom",
2324
"return_format": "value",
@@ -88,7 +89,9 @@
8889
"style": "seamless",
8990
"label_placement": "top",
9091
"instruction_placement": "label",
91-
"hide_on_screen": "",
92+
"hide_on_screen": [
93+
"the_content"
94+
],
9295
"active": true,
9396
"description": "",
9497
"show_in_rest": false,
@@ -103,5 +106,5 @@
103106
"graphql_types": "",
104107
"acfe_meta": "",
105108
"acfe_note": "",
106-
"modified": 1726775073
109+
"modified": 1729543484
107110
}

inc/acf-json/group_66e8b46d1a2b6.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@
1616
"class": "",
1717
"id": ""
1818
},
19-
"message": "",
19+
"message": "Experimental, use at your own risk.",
2020
"default_value": 0,
2121
"allow_in_bindings": 0,
2222
"ui_on_text": "",
2323
"ui_off_text": "",
24-
"ui": 1
24+
"ui": 1,
25+
"show_in_graphql": 1,
26+
"graphql_description": "",
27+
"graphql_field_name": "customLayouts",
28+
"graphql_non_null": 0
2529
},
2630
{
2731
"key": "field_66e8b46db4145",
@@ -178,7 +182,7 @@
178182
"graphql_types": "",
179183
"acfe_meta": "",
180184
"acfe_note": "",
181-
"modified": 1726758744,
185+
"modified": 1729551355,
182186
"acfe_categories": {
183187
"options": "Options"
184188
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"key": "ui_options_page_672bb05b52624",
3+
"title": "Form Builder",
4+
"active": true,
5+
"menu_order": 0,
6+
"page_title": "Form Builder",
7+
"menu_slug": "form-builder",
8+
"parent_slug": "none",
9+
"advanced_configuration": 1,
10+
"icon_url": "",
11+
"menu_title": "Form Builder",
12+
"position": 10,
13+
"redirect": 0,
14+
"description": "",
15+
"menu_icon": {
16+
"type": "dashicons",
17+
"value": "dashicons-forms"
18+
},
19+
"update_button": "Update",
20+
"updated_message": "Options Updated",
21+
"capability": "edit_posts",
22+
"data_storage": "options",
23+
"post_id": "",
24+
"autoload": 0,
25+
"show_in_graphql": 0,
26+
"modified": 1731607380
27+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"key": "ui_options_page_672bb10a3e2d6",
3+
"title": "Settings",
4+
"active": true,
5+
"menu_order": 0,
6+
"page_title": "Settings",
7+
"menu_slug": "form-builder-settings",
8+
"parent_slug": "form-builder",
9+
"advanced_configuration": 1,
10+
"icon_url": "",
11+
"menu_title": "Settings",
12+
"position": "",
13+
"redirect": false,
14+
"description": "",
15+
"menu_icon": [],
16+
"update_button": "Update",
17+
"updated_message": "Options Updated",
18+
"capability": "manage_options",
19+
"data_storage": "post_id",
20+
"post_id": "form_builder_settings",
21+
"autoload": 0,
22+
"show_in_graphql": 1,
23+
"graphql_type_name": "settings",
24+
"_parent": 737,
25+
"modified": 1731607784
26+
}

inc/lib/class/CustomLoginForm.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,6 @@ public function admin_login_logo()
101101
}
102102
}
103103

104-
new CustomLoginForm();
104+
add_filter('acf/init', function() {
105+
new CustomLoginForm();
106+
});

0 commit comments

Comments
 (0)