Skip to content

Commit e5717f6

Browse files
committed
Show loading when querying MCP registry
1 parent 2d1c6d2 commit e5717f6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/renderer/components/common/ConfigDxtCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const getErrorMessages = (para: McpbUserConfigurationOption, key: string) => {
249249
</v-col>
250250
<v-col v-if="manifest.repository" cols="12" md="6">
251251
<v-card
252-
color="light-green-darken-1"
252+
color="green-lighten-1"
253253
append-icon="mdi-open-in-new"
254254
class="mx-auto"
255255
:href="manifest.repository.url"

src/renderer/components/common/RegistryCard.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ function getPackageUrl(registry: McpRegistryPackage) {
9696
<template #title>
9797
<v-text-field
9898
v-model="queryString"
99+
:loading="loadingServers"
99100
class="mr-4"
100101
prepend-inner-icon="mdi-server"
101102
variant="outlined"
@@ -106,6 +107,7 @@ function getPackageUrl(registry: McpRegistryPackage) {
106107
</template>
107108
<template #append>
108109
<v-btn
110+
:loading="loadingServers"
109111
rounded="lg"
110112
variant="tonal"
111113
icon="mdi-magnify"
@@ -151,7 +153,7 @@ function getPackageUrl(registry: McpRegistryPackage) {
151153
<v-expansion-panel-text>
152154
<v-col v-if="item.raw.repository">
153155
<v-card
154-
color="light-green-darken-1"
156+
color="green-lighten-1"
155157
class="mx-auto"
156158
:subtitle="item.raw.repository.url"
157159
:title="item.raw.repository.source"
@@ -211,6 +213,7 @@ function getPackageUrl(registry: McpRegistryPackage) {
211213

212214
<v-btn
213215
:disabled="!lastQuery.metadata?.next_cursor"
216+
:loading="loadingServers"
214217
rounded="lg"
215218
icon="mdi-book-open-page-variant"
216219
color="secondary"

0 commit comments

Comments
 (0)