diff --git a/packages/hoppscotch-app/components/http/Body.vue b/packages/hoppscotch-app/components/http/Body.vue index f5c8571b..5bebec59 100644 --- a/packages/hoppscotch-app/components/http/Body.vue +++ b/packages/hoppscotch-app/components/http/Body.vue @@ -49,6 +49,25 @@ /> + @@ -80,19 +99,56 @@ - diff --git a/packages/hoppscotch-app/components/http/RequestOptions.vue b/packages/hoppscotch-app/components/http/RequestOptions.vue index 7293245e..48650973 100644 --- a/packages/hoppscotch-app/components/http/RequestOptions.vue +++ b/packages/hoppscotch-app/components/http/RequestOptions.vue @@ -11,7 +11,7 @@ - + ("params") +const changeTab = (e: RequestOptionTabs) => { + selectedRealtimeTab.value = e +} + const newActiveParamsCount$ = useReadonlyStream( restActiveParamsCount$.pipe( map((e) => { diff --git a/packages/hoppscotch-app/components/smart/EnvInput.vue b/packages/hoppscotch-app/components/smart/EnvInput.vue index 0156efaa..860b787f 100644 --- a/packages/hoppscotch-app/components/smart/EnvInput.vue +++ b/packages/hoppscotch-app/components/smart/EnvInput.vue @@ -44,12 +44,14 @@ const props = withDefaults( placeholder: string styles: string envs: { key: string; value: string; source: string }[] | null + focus: boolean }>(), { value: "", placeholder: "", styles: "", envs: null, + focus: false, } ) diff --git a/packages/hoppscotch-app/components/smart/Tabs.vue b/packages/hoppscotch-app/components/smart/Tabs.vue index f6a8a5fd..54f5a4e4 100644 --- a/packages/hoppscotch-app/components/smart/Tabs.vue +++ b/packages/hoppscotch-app/components/smart/Tabs.vue @@ -65,7 +65,12 @@