From 4798d7bbbd895cef1736eb9b586d9005bc15f71b Mon Sep 17 00:00:00 2001 From: Nivedin <53208152+nivedin@users.noreply.github.com> Date: Tue, 5 Mar 2024 18:14:41 +0530 Subject: [PATCH] refactor: remove restore tab popup and its functionalities (#3867) --- .../hoppscotch-common/src/pages/index.vue | 133 +----------------- .../hoppscotch-common/src/platform/index.ts | 2 - .../hoppscotch-common/src/platform/tab.ts | 11 -- .../api/mutations/UpdateUserSession.graphql | 11 -- .../api/queries/GetCurrentRESTSession.graphql | 5 - .../hoppscotch-selfhost-desktop/src/main.ts | 35 ++--- .../src/platform/tabState/tabState.api.ts | 36 ----- .../platform/tabState/tabState.platform.ts | 37 ----- .../api/mutations/UpdateUserSession.graphql | 11 -- .../api/queries/GetCurrentRESTSession.graphql | 5 - packages/hoppscotch-selfhost-web/src/main.ts | 2 - .../src/platform/tabState/tabState.api.ts | 36 ----- .../platform/tabState/tabState.platform.ts | 38 ----- 13 files changed, 21 insertions(+), 341 deletions(-) delete mode 100644 packages/hoppscotch-common/src/platform/tab.ts delete mode 100644 packages/hoppscotch-selfhost-desktop/src/api/mutations/UpdateUserSession.graphql delete mode 100644 packages/hoppscotch-selfhost-desktop/src/api/queries/GetCurrentRESTSession.graphql delete mode 100644 packages/hoppscotch-selfhost-desktop/src/platform/tabState/tabState.api.ts delete mode 100644 packages/hoppscotch-selfhost-desktop/src/platform/tabState/tabState.platform.ts delete mode 100644 packages/hoppscotch-selfhost-web/src/api/mutations/UpdateUserSession.graphql delete mode 100644 packages/hoppscotch-selfhost-web/src/api/queries/GetCurrentRESTSession.graphql delete mode 100644 packages/hoppscotch-selfhost-web/src/platform/tabState/tabState.api.ts delete mode 100644 packages/hoppscotch-selfhost-web/src/platform/tabState/tabState.platform.ts diff --git a/packages/hoppscotch-common/src/pages/index.vue b/packages/hoppscotch-common/src/pages/index.vue index ecd169105..aa1fb8478 100644 --- a/packages/hoppscotch-common/src/pages/index.vue +++ b/packages/hoppscotch-common/src/pages/index.vue @@ -95,31 +95,15 @@