From 4b6581934e74a717e73d42f9b4fb815558323958 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Wed, 2 Mar 2022 07:57:05 +0530 Subject: [PATCH] refactor: use pane layout component in pages --- .../components/app/PaneLayout.vue | 55 +++ .../components/realtime/Mqtt.vue | 148 +++---- .../components/realtime/Socketio.vue | 405 ++++++++---------- .../components/realtime/Sse.vue | 22 +- .../components/realtime/Websocket.vue | 296 ++++++------- packages/hoppscotch-app/layouts/default.vue | 2 +- .../hoppscotch-app/pages/documentation.vue | 233 +++++----- packages/hoppscotch-app/pages/graphql.vue | 60 +-- packages/hoppscotch-app/pages/index.vue | 141 +++--- 9 files changed, 583 insertions(+), 779 deletions(-) create mode 100644 packages/hoppscotch-app/components/app/PaneLayout.vue diff --git a/packages/hoppscotch-app/components/app/PaneLayout.vue b/packages/hoppscotch-app/components/app/PaneLayout.vue new file mode 100644 index 000000000..0fbb92388 --- /dev/null +++ b/packages/hoppscotch-app/components/app/PaneLayout.vue @@ -0,0 +1,55 @@ + + + diff --git a/packages/hoppscotch-app/components/realtime/Mqtt.vue b/packages/hoppscotch-app/components/realtime/Mqtt.vue index c7144b339..6cd482c20 100644 --- a/packages/hoppscotch-app/components/realtime/Mqtt.vue +++ b/packages/hoppscotch-app/components/realtime/Mqtt.vue @@ -1,84 +1,56 @@