From fd5db6c8c9556ebad1f78d08ccca87ae2399a8bd Mon Sep 17 00:00:00 2001 From: Jason Casareno Date: Tue, 19 Jul 2022 15:56:42 -0700 Subject: [PATCH] Duplicated and disconnected parameter UI for reuse --- .../components/http/Parameters.vue | 5 + .../components/http/Variables.vue | 175 ++++++++++++++++++ 2 files changed, 180 insertions(+) create mode 100644 packages/hoppscotch-app/components/http/Variables.vue diff --git a/packages/hoppscotch-app/components/http/Parameters.vue b/packages/hoppscotch-app/components/http/Parameters.vue index b070ce125..6b5911ba1 100644 --- a/packages/hoppscotch-app/components/http/Parameters.vue +++ b/packages/hoppscotch-app/components/http/Parameters.vue @@ -148,6 +148,10 @@ /> +
+ + + @@ -167,6 +171,7 @@ import { import isEqual from "lodash/isEqual" import cloneDeep from "lodash/cloneDeep" import draggable from "vuedraggable" +import Variables from "./Variables.vue" import linter from "~/helpers/editor/linting/rawKeyValue" import { useCodemirror } from "~/helpers/editor/codemirror" import { useI18n, useToast, useStream } from "~/helpers/utils/composables" diff --git a/packages/hoppscotch-app/components/http/Variables.vue b/packages/hoppscotch-app/components/http/Variables.vue new file mode 100644 index 000000000..bff82ac42 --- /dev/null +++ b/packages/hoppscotch-app/components/http/Variables.vue @@ -0,0 +1,175 @@ + + +