From 2dd18e38c63a16547fadf8d881a1b2d78ae4ef00 Mon Sep 17 00:00:00 2001 From: Noah Date: Sat, 8 Feb 2025 10:13:00 -0600 Subject: [PATCH] Update content through Mattrbld --- .mattrbld/collections/skills.json | 2 +- .mattrbld/config.json | 3 + .../schemas/{skills.json => Skills.json} | 132 ++++++++++-------- skills/skills.json | 5 - skills/skills2.json | 19 --- skills/skills3.json | 49 +++++++ 6 files changed, 124 insertions(+), 86 deletions(-) rename .mattrbld/schemas/{skills.json => Skills.json} (50%) delete mode 100644 skills/skills.json delete mode 100644 skills/skills2.json create mode 100644 skills/skills3.json diff --git a/.mattrbld/collections/skills.json b/.mattrbld/collections/skills.json index f879b8e..19b0118 100644 --- a/.mattrbld/collections/skills.json +++ b/.mattrbld/collections/skills.json @@ -5,7 +5,7 @@ "disablePreview": false, "draftByDefault": false, "schemas": [ - "/.mattrbld/schemas/skills.json" + "/.mattrbld/schemas/Skills.json" ], "linkable": false, "maxSize": null, diff --git a/.mattrbld/config.json b/.mattrbld/config.json index 3d27b65..245eb75 100644 --- a/.mattrbld/config.json +++ b/.mattrbld/config.json @@ -46,6 +46,9 @@ "onlyPrivileged": true, "protected": true }, + { + "separator": true + }, { "icon": "bullet-list", "label": "Skills", diff --git a/.mattrbld/schemas/skills.json b/.mattrbld/schemas/Skills.json similarity index 50% rename from .mattrbld/schemas/skills.json rename to .mattrbld/schemas/Skills.json index 82c9d5f..d011d27 100644 --- a/.mattrbld/schemas/skills.json +++ b/.mattrbld/schemas/Skills.json @@ -1,13 +1,79 @@ { "fields": [ { - "type": "group", - "displayField": null, - "icon": "group", + "type": "rows", + "default": null, + "icon": "rows", "key": "skills", "label": "Skills", + "options": { + "compact": true, + "allowEditing": true, + "itemLabel": "Row" + }, "tab": "Untitled Tab", + "validation": { + "max": null, + "min": null, + "unit": "rows" + }, "value": [ + { + "type": "select", + "default": null, + "icon": "dropdown", + "key": "category", + "label": "Category", + "options": { + "filterable": false, + "removable": false, + "placeholder": "Select a value…", + "options": [ + "Experienced" + ] + }, + "tab": "Untitled Tab", + "validation": { + "required": true + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "select", + "default": null, + "icon": "dropdown", + "key": "group", + "label": "Group", + "options": { + "filterable": false, + "removable": false, + "placeholder": "Select a value…", + "options": [ + "Infrastructure as Code", + "Front-End Web Development", + "CI/CD" + ] + }, + "tab": "Untitled Tab", + "validation": { + "required": true + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, { "type": "rows", "default": null, @@ -26,67 +92,11 @@ "unit": "rows" }, "value": [ - { - "type": "select", - "default": null, - "icon": "dropdown", - "key": "category", - "label": "Category", - "options": { - "filterable": false, - "removable": false, - "placeholder": "Select a value…", - "options": [ - "Experienced" - ] - }, - "tab": "Untitled Tab", - "validation": { - "required": false - }, - "value": null, - "version": 1, - "visibility": { - "hidden": false, - "showByValue": { - "field": null - } - } - }, - { - "type": "select", - "default": null, - "icon": "dropdown", - "key": "group", - "label": "Group", - "options": { - "filterable": false, - "removable": false, - "placeholder": "Select a value…", - "options": [ - "Front-End Web Development", - "Infrastructure as Code", - "CI/CD" - ] - }, - "tab": "Untitled Tab", - "validation": { - "required": false - }, - "value": null, - "version": 1, - "visibility": { - "hidden": false, - "showByValue": { - "field": null - } - } - }, { "type": "text", "default": null, "icon": "text-input", - "key": "skill", + "key": "name", "label": "Skill", "localised": false, "options": { @@ -100,7 +110,7 @@ "min": null, "regex": null, "regexError": null, - "required": false, + "required": true, "unit": "length" }, "value": null, diff --git a/skills/skills.json b/skills/skills.json deleted file mode 100644 index 20fddeb..0000000 --- a/skills/skills.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rows": null, - "___mb_schema": "/.mattrbld/schemas/Skills.json", - "___mb_unedited": true -} \ No newline at end of file diff --git a/skills/skills2.json b/skills/skills2.json deleted file mode 100644 index d38ae1b..0000000 --- a/skills/skills2.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "skills": { - "rows": [ - { - "___mb_type": "category", - "category": "Experienced" - }, - { - "___mb_type": "group", - "group": "Front-End Web Development" - }, - { - "___mb_type": "skill", - "skill": "React" - } - ] - }, - "___mb_schema": "/.mattrbld/schemas/skills.json" -} \ No newline at end of file diff --git a/skills/skills3.json b/skills/skills3.json new file mode 100644 index 0000000..e7cc2d5 --- /dev/null +++ b/skills/skills3.json @@ -0,0 +1,49 @@ +{ + "skills": [ + { + "___mb_type": "category", + "category": "Experienced" + }, + { + "___mb_type": "group", + "group": "Front-End Web Development" + }, + { + "___mb_type": "rows", + "rows": [ + "React", + "Node.js", + "HTML/CSS" + ] + }, + { + "___mb_type": "category", + "category": "Experienced" + }, + { + "___mb_type": "group", + "group": "Infrastructure as Code" + }, + { + "___mb_type": "rows", + "rows": [ + "Terraform" + ] + }, + { + "___mb_type": "category", + "category": "Experienced" + }, + { + "___mb_type": "group", + "group": "CI/CD" + }, + { + "___mb_type": "rows", + "rows": [ + "GitHub Actions" + ] + } + ], + "___mb_schema": "/.mattrbld/schemas/Skills.json" +} \ No newline at end of file