From b63c70762405d543e740c27a1039d4470f8ad105 Mon Sep 17 00:00:00 2001 From: Shreyas Date: Tue, 10 Jun 2025 13:21:54 +0530 Subject: [PATCH] fix(desktop): align connected instance with launch (#5132) --- .../src/components/app/Header.vue | 22 ++++++-- .../src/components/instance/Switcher.vue | 25 ++++++++- .../hoppscotch-common/src/platform/index.ts | 2 + .../src/platform/instance.ts | 10 ++++ .../src/services/instance-switcher.service.ts | 55 ++++++++++++------- .../hoppscotch-desktop/src/views/Home.vue | 34 ++++++++++-- packages/hoppscotch-selfhost-web/src/main.ts | 10 ++++ 7 files changed, 126 insertions(+), 32 deletions(-) create mode 100644 packages/hoppscotch-common/src/platform/instance.ts diff --git a/packages/hoppscotch-common/src/components/app/Header.vue b/packages/hoppscotch-common/src/components/app/Header.vue index 6d72a9a3..7c766829 100644 --- a/packages/hoppscotch-common/src/components/app/Header.vue +++ b/packages/hoppscotch-common/src/components/app/Header.vue @@ -22,11 +22,23 @@ :on-shown="() => instanceSwitcherRef.focus()" >
- - {{ instanceDisplayName }} - +
+ + {{ instanceDisplayName }} + + + {{ platform.instance.displayConfig.description }} + +