From e323b4355ecc342a8e2f52fc5e72d0e737df4448 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Fri, 14 Jan 2022 20:40:54 +0530 Subject: [PATCH] feat: ui for new importer --- .../components/collections/ImportExport.vue | 105 ++++++++++-------- .../helpers/import-export/import/gist.ts | 3 +- .../helpers/import-export/import/hopp.ts | 3 +- .../helpers/import-export/import/importers.ts | 2 + .../helpers/import-export/import/index.ts | 6 + .../helpers/import-export/import/insomnia.ts | 1 + .../import-export/import/myCollections.ts | 21 ++++ .../helpers/import-export/import/openapi.ts | 1 + .../helpers/import-export/import/postman.ts | 1 + .../helpers/import-export/steps.ts | 8 +- packages/hoppscotch-app/locales/en.json | 11 +- .../hoppscotch-app/newstore/collections.ts | 4 + 12 files changed, 116 insertions(+), 50 deletions(-) create mode 100644 packages/hoppscotch-app/helpers/import-export/import/myCollections.ts diff --git a/packages/hoppscotch-app/components/collections/ImportExport.vue b/packages/hoppscotch-app/components/collections/ImportExport.vue index 65124db58..7103d75d6 100644 --- a/packages/hoppscotch-app/components/collections/ImportExport.vue +++ b/packages/hoppscotch-app/components/collections/ImportExport.vue @@ -33,7 +33,7 @@ check_circle - {{ t("import.json_description") }} + {{ t(`${step.metadata.caption}`) }}

@@ -59,7 +59,7 @@ check_circle - {{ t("import.gist_description") }} + {{ t(`${step.metadata.caption}`) }}

@@ -77,23 +77,13 @@ >