diff --git a/nuxt-app/components/guide/JSONItem.vue b/nuxt-app/components/guide/JSONItem.vue index 4f1dcd0c..e648703d 100644 --- a/nuxt-app/components/guide/JSONItem.vue +++ b/nuxt-app/components/guide/JSONItem.vue @@ -1,11 +1,24 @@ + Attention Required
- +
- +
-
- @@ -135,11 +142,39 @@ + + + +
+ + + + + diff --git a/nuxt-app/pages/guide/Guide.vue b/nuxt-app/pages/guide/Guide.vue index 888406ef..9a7f8ba2 100644 --- a/nuxt-app/pages/guide/Guide.vue +++ b/nuxt-app/pages/guide/Guide.vue @@ -23,10 +23,10 @@
- + v-text="jsonItems.length + ' items found'" + >
-
+
- - - - + + + + @@ -89,7 +83,7 @@ diff --git a/nuxt-app/plugins/fontawesome.js b/nuxt-app/plugins/fontawesome.js index 33ab8e97..7c0056e7 100644 --- a/nuxt-app/plugins/fontawesome.js +++ b/nuxt-app/plugins/fontawesome.js @@ -70,6 +70,7 @@ import { faChevronUp, faExpand, faIndent, + faMagnifyingGlass, } from "@fortawesome/free-solid-svg-icons"; import { faGithub, @@ -147,7 +148,8 @@ library.add( faChevronDown, faChevronUp, faExpand, - faIndent + faIndent, + faMagnifyingGlass ); // This is important, we are going to let Nuxt worry about the CSS diff --git a/nuxt-app/store/modules/guide.js b/nuxt-app/store/modules/guide.js index 51650b33..ae58129d 100644 --- a/nuxt-app/store/modules/guide.js +++ b/nuxt-app/store/modules/guide.js @@ -25,7 +25,7 @@ export const guide = { }, output_default: {}, editingID: false, - beginBulkRegistration: false, + beginBulkRegistration: 1, bulkReport: { Exists: [], Registered: [], @@ -58,7 +58,7 @@ export const guide = { }; }, toggleBeginBulkRegistration(state) { - state.beginBulkRegistration = !state.beginBulkRegistration; + state.beginBulkRegistration += 1; }, toggleDesc(state) { state.showDescriptions = !state.showDescriptions; @@ -847,6 +847,26 @@ export const guide = { }); state.editingID = payload["id"]; }, + saveEditedItem(state, payload) { + state.bulkJSONItems[payload.index] = payload.value; + new Notify({ + status: "success", + title: "Guide", + text: "Updated", + effect: "fade", + speed: 300, + customClass: null, + customIcon: null, + showIcon: true, + showCloseButton: true, + autoclose: true, + autotimeout: 2000, + gap: 20, + distance: 20, + type: 1, + position: "right top", + }); + }, }, getters: { getBulkReport: (state) => {
- Name - - Result/Details - - Options - - Status - NameResult/DetailsOptionsStatus