diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 000000000..32488803d --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,10 @@ +{ + "permissions": { + "allow": [ + "Bash(npm run build:*)", + "mcp__ide__getDiagnostics" + ], + "deny": [], + "ask": [] + } +} \ No newline at end of file diff --git a/frontend/src/components/shared/ProfileRepoList.vue b/frontend/src/components/shared/ProfileRepoList.vue index da34e462a..96d21bdd4 100644 --- a/frontend/src/components/shared/ProfileRepoList.vue +++ b/frontend/src/components/shared/ProfileRepoList.vue @@ -1,5 +1,5 @@ + + diff --git a/frontend/src/locales/en_js/profile.js b/frontend/src/locales/en_js/profile.js index 171d536e4..6059da6fb 100644 --- a/frontend/src/locales/en_js/profile.js +++ b/frontend/src/locales/en_js/profile.js @@ -5,6 +5,16 @@ export const profile = { organization: "Organization", title: "Profile", likes: "My Favorites", + tabs: { + all: "All", + collections: "Collections", + models: "Models", + datasets: "Datasets", + codes: "Codes", + prompts: "Prompts", + spaces: "Application Spaces", + mcps: "MCPs" + }, menu: { accountInformation: "Account Information", accessToken: "Access Token", diff --git a/frontend/src/locales/zh_hant_js/profile.js b/frontend/src/locales/zh_hant_js/profile.js index d10847f20..75d561497 100644 --- a/frontend/src/locales/zh_hant_js/profile.js +++ b/frontend/src/locales/zh_hant_js/profile.js @@ -8,6 +8,16 @@ export const profile = { organization: "組織機構", title: "個人主頁", likes: "我的收藏", + tabs: { + all: "全部", + collections: "合集", + models: "模型", + datasets: "數據集", + codes: "代碼", + prompts: "提示詞", + spaces: "應用空間", + mcps: "MCP" + }, menu: { accountInformation: "帳戶資訊", accessToken: "Access Token", diff --git a/frontend/src/locales/zh_js/profile.js b/frontend/src/locales/zh_js/profile.js index 15ba24980..73812c118 100644 --- a/frontend/src/locales/zh_js/profile.js +++ b/frontend/src/locales/zh_js/profile.js @@ -5,6 +5,16 @@ export const profile = { organization: "组织机构", title: "个人主页", likes: "我的收藏", + tabs: { + all: "全部", + collections: "合集", + models: "模型", + datasets: "数据集", + codes: "代码", + prompts: "提示词", + spaces: "应用空间", + mcps: "MCP" + }, menu: { accountInformation: "账户信息", accessToken: "Access Token", diff --git a/frontend/src/main.js b/frontend/src/main.js index a0eb0bf6d..5e321be9a 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -290,14 +290,21 @@ const routes = [ repoName: route.params.name }) }, - { - path: '/mcp/servers/:namespace/:name', + { + path: '/mcp/servers/:namespace/:name', component: RepoDetail, - props: (route) => ({ + props: (route) => ({ repoType: 'mcp', namespace: route.params.namespace, repoName: route.params.name }) + }, + { + path: '/profile/:username', + component: Profile, + props: (route) => ({ + username: route.params.username + }) } ]