From b0a6692179ab5d656d3b0f7cf71ef14a47671e47 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Sat, 18 Sep 2021 23:50:42 +0530 Subject: [PATCH] feat: vertical tabs for right sidebars --- packages/hoppscotch-app/assets/icons/box.svg | 1 + .../hoppscotch-app/assets/icons/clock.svg | 1 + .../components/collections/graphql/index.vue | 2 +- .../components/collections/index.vue | 1 - .../components/environments/index.vue | 11 +- .../components/graphql/Sidebar.vue | 230 ++++++++++-------- .../components/history/index.vue | 11 +- .../hoppscotch-app/components/smart/Tabs.vue | 79 ++++-- packages/hoppscotch-app/locales/en.json | 2 + packages/hoppscotch-app/newstore/settings.ts | 2 +- packages/hoppscotch-app/pages/index.vue | 41 ++-- packages/hoppscotch-app/pages/settings.vue | 2 +- 12 files changed, 217 insertions(+), 166 deletions(-) create mode 100644 packages/hoppscotch-app/assets/icons/box.svg create mode 100644 packages/hoppscotch-app/assets/icons/clock.svg diff --git a/packages/hoppscotch-app/assets/icons/box.svg b/packages/hoppscotch-app/assets/icons/box.svg new file mode 100644 index 000000000..81371fad9 --- /dev/null +++ b/packages/hoppscotch-app/assets/icons/box.svg @@ -0,0 +1 @@ + diff --git a/packages/hoppscotch-app/assets/icons/clock.svg b/packages/hoppscotch-app/assets/icons/clock.svg new file mode 100644 index 000000000..52c2e41ff --- /dev/null +++ b/packages/hoppscotch-app/assets/icons/clock.svg @@ -0,0 +1 @@ + diff --git a/packages/hoppscotch-app/components/collections/graphql/index.vue b/packages/hoppscotch-app/components/collections/graphql/index.vue index 6d7dc5074..d915e97c9 100644 --- a/packages/hoppscotch-app/components/collections/graphql/index.vue +++ b/packages/hoppscotch-app/components/collections/graphql/index.vue @@ -8,7 +8,7 @@ divide-y divide-dividerLight border-b border-dividerLight flex flex-col - top-sidebarPrimaryStickyFold + top-0 z-10 sticky " diff --git a/packages/hoppscotch-app/components/collections/index.vue b/packages/hoppscotch-app/components/collections/index.vue index fa04132dd..019aacbf5 100644 --- a/packages/hoppscotch-app/components/collections/index.vue +++ b/packages/hoppscotch-app/components/collections/index.vue @@ -14,7 +14,6 @@ z-10 sticky " - :class="{ '!top-sidebarPrimaryStickyFold': !saveRequest && !doc }" >
-
+