Skip to content

Commit 7295e6c

Browse files
author
Lasim
committed
feat(frontend): rename installation information route to general and update tabs
1 parent 2a0866d commit 7295e6c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

services/frontend/src/components/mcp-server/installation/InstallationTabs.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const environmentVariablesCount = computed(() => {
2323
2424
// Map route names to tab values
2525
const routeToTabMap: Record<string, string> = {
26-
'McpServerInstallationInformation': 'information',
26+
'McpServerInstallationGeneral': 'general',
2727
'McpServerInstallationTools': 'tools',
2828
'McpServerInstallationUserConfig': 'user-config',
2929
'McpServerInstallationTeamConfig': 'team-config',
@@ -33,7 +33,7 @@ const routeToTabMap: Record<string, string> = {
3333
3434
// Map tab values to route names
3535
const tabToRouteMap: Record<string, string> = {
36-
'information': 'McpServerInstallationInformation',
36+
'general': 'McpServerInstallationGeneral',
3737
'tools': 'McpServerInstallationTools',
3838
'user-config': 'McpServerInstallationUserConfig',
3939
'team-config': 'McpServerInstallationTeamConfig',
@@ -45,7 +45,7 @@ const tabToRouteMap: Record<string, string> = {
4545
const activeTab = computed({
4646
get: () => {
4747
const routeName = route.name as string
48-
return routeToTabMap[routeName] || 'information'
48+
return routeToTabMap[routeName] || 'general'
4949
},
5050
set: (value: string) => {
5151
const routeName = tabToRouteMap[value]
@@ -58,7 +58,7 @@ const activeTab = computed({
5858

5959
<template>
6060
<DsTabs v-model="activeTab" variant="underlined" full-width-border class="mb-10">
61-
<DsTabsItem value="information" label="Installation Info" />
61+
<DsTabsItem value="general" label="General" />
6262
<DsTabsItem value="tools" :label="t('mcpInstallations.details.tools.title')" />
6363
<DsTabsItem value="user-config" label="User Configuration" />
6464
<DsTabsItem

services/frontend/src/router/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ const routes: RouteRecordRaw[] = [
127127
path: '/mcp-server/installation/:id',
128128
redirect: (to) => {
129129
return {
130-
name: 'McpServerInstallationInformation',
130+
name: 'McpServerInstallationGeneral',
131131
params: to.params
132132
}
133133
}
134134
},
135135
{
136-
path: '/mcp-server/installation/:id/information',
137-
name: 'McpServerInstallationInformation',
138-
component: () => import('../views/mcp-server/installation/[id]/information.vue'),
136+
path: '/mcp-server/installation/:id/general',
137+
name: 'McpServerInstallationGeneral',
138+
component: () => import('../views/mcp-server/installation/[id]/general.vue'),
139139
meta: { requiresSetup: true },
140140
},
141141
{

services/frontend/src/views/mcp-server/installation/[id]/information.vue renamed to services/frontend/src/views/mcp-server/installation/[id]/general.vue

File renamed without changes.

0 commit comments

Comments
 (0)