Compare commits

...

3 Commits

Author SHA1 Message Date
nivedin
d28bc580c6 fix: gql history schema error 2023-12-19 16:36:04 +05:30
Akash K
a75bfa9d9e fix: actions not working when sidebar is hidden (#3669) 2023-12-19 16:13:59 +05:30
Andrew Bastin
7374a35b41 fix: broken ui due to accidentally moved postcss config 2023-12-19 12:40:07 +05:30
5 changed files with 23 additions and 13 deletions

View File

@@ -1,11 +1,11 @@
// generated by unplugin-vue-components /* eslint-disable */
// We suggest you to commit this file into source control /* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399 // Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core'
export {} export {}
declare module '@vue/runtime-core' { declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
AppActionHandler: typeof import('./components/app/ActionHandler.vue')['default'] AppActionHandler: typeof import('./components/app/ActionHandler.vue')['default']
AppBanner: typeof import('./components/app/Banner.vue')['default'] AppBanner: typeof import('./components/app/Banner.vue')['default']
@@ -210,5 +210,4 @@ declare module '@vue/runtime-core' {
WorkspaceCurrent: typeof import('./components/workspace/Current.vue')['default'] WorkspaceCurrent: typeof import('./components/workspace/Current.vue')['default']
WorkspaceSelector: typeof import('./components/workspace/Selector.vue')['default'] WorkspaceSelector: typeof import('./components/workspace/Selector.vue')['default']
} }
} }

View File

@@ -1,15 +1,16 @@
<template> <template>
<Splitpanes <Splitpanes
class="smart-splitter"
:rtl="SIDEBAR_ON_LEFT && mdAndLarger" :rtl="SIDEBAR_ON_LEFT && mdAndLarger"
:class="{ :class="{
'!flex-row-reverse': SIDEBAR_ON_LEFT && mdAndLarger, '!flex-row-reverse': SIDEBAR_ON_LEFT && mdAndLarger,
'smart-splitter': SIDEBAR && hasSidebar,
'no-splitter': !(SIDEBAR && hasSidebar),
}" }"
:horizontal="!mdAndLarger" :horizontal="!mdAndLarger"
@resize="setPaneEvent($event, 'vertical')" @resize="setPaneEvent($event, 'vertical')"
> >
<Pane <Pane
:size="PANE_MAIN_SIZE" :size="SIDEBAR && hasSidebar ? PANE_MAIN_SIZE : 100"
min-size="65" min-size="65"
class="flex flex-col !overflow-auto" class="flex flex-col !overflow-auto"
> >
@@ -36,9 +37,8 @@
</Splitpanes> </Splitpanes>
</Pane> </Pane>
<Pane <Pane
v-if="SIDEBAR && hasSidebar" :size="SIDEBAR && hasSidebar ? PANE_SIDEBAR_SIZE : 0"
:size="PANE_SIDEBAR_SIZE" :min-size="25"
min-size="25"
class="flex flex-col !overflow-auto bg-primaryContrast" class="flex flex-col !overflow-auto bg-primaryContrast"
> >
<slot name="sidebar" /> <slot name="sidebar" />

View File

@@ -140,7 +140,10 @@ const runQuery = async (
const runVariables = clone(request.value.variables) const runVariables = clone(request.value.variables)
const runAuth = const runAuth =
request.value.auth.authType === "inherit" && request.value.auth.authActive request.value.auth.authType === "inherit" && request.value.auth.authActive
? clone(tabs.currentActiveTab.value.document.inheritedProperties?.auth) ? clone(
tabs.currentActiveTab.value.document.inheritedProperties?.auth
.inheritedAuth
)
: clone(request.value.auth) : clone(request.value.auth)
const inheritedHeaders = const inheritedHeaders =

View File

@@ -27,7 +27,7 @@ export const getDefaultGQLRequest = (): HoppGQLRequest => ({
}`, }`,
query: DEFAULT_QUERY, query: DEFAULT_QUERY,
auth: { auth: {
authType: "inherit", authType: "none",
authActive: true, authActive: true,
}, },
}) })

View File

@@ -0,0 +1,8 @@
const config = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
module.exports = config