Skip to content

Commit 1ad3ab7

Browse files
author
Lasim
committed
feat(frontend): add statistics page with under construction message
1 parent ae5ab63 commit 1ad3ab7

File tree

7 files changed

+61
-1
lines changed

7 files changed

+61
-1
lines changed

.assets/deploystack-banner.png

362 Bytes
Loading

services/frontend/src/components/AppSidebar.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ import {
4444
FolderTree,
4545
Satellite,
4646
ListTodo,
47-
Bot
47+
Bot,
48+
BarChart3
4849
} from 'lucide-vue-next'
4950
5051
// Define props, including variant
@@ -104,6 +105,11 @@ const navigationItems = [
104105
icon: Bot,
105106
url: '/client-configuration',
106107
},
108+
{
109+
title: t('sidebar.navigation.statistics'),
110+
icon: BarChart3,
111+
url: '/statistics',
112+
},
107113
// {
108114
// title: t('sidebar.navigation.credentials'),
109115
// icon: Key,

services/frontend/src/i18n/locales/en/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import satelliteConfigMessages from './satelliteConfig'
2525
import satellitesMessages from './satellites'
2626
import userAccountMessages from './userAccount'
2727
import clientConfigurationMessages from './clientConfiguration'
28+
import statisticsMessages from './statistics'
2829

2930
import walkthroughMessages from './walkthrough'
3031

@@ -55,6 +56,7 @@ export default {
5556
satellites: satellitesMessages,
5657
userAccount: userAccountMessages,
5758
clientConfiguration: clientConfigurationMessages,
59+
statistics: statisticsMessages,
5860
walkthrough: walkthroughMessages,
5961
common: commonMessages
6062
}

services/frontend/src/i18n/locales/en/sidebar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default {
55
title: 'Navigation',
66
mcpServer: 'MCP Server',
77
clientConfiguration: 'Client Configuration',
8+
statistics: 'Statistics',
89
provider: 'Provider',
910
credentials: 'Credentials',
1011
},
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default {
2+
title: 'Statistics',
3+
underConstruction: {
4+
title: 'Under Construction',
5+
description: 'This page is currently being built',
6+
message: 'Statistics and analytics features are coming soon. Check back later for insights into your MCP server usage, team activity, and more.',
7+
},
8+
}

services/frontend/src/router/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,12 @@ const routes = [
129129
component: () => import('../views/client-configuration/index.vue'),
130130
meta: { requiresSetup: true },
131131
},
132+
{
133+
path: '/statistics',
134+
name: 'Statistics',
135+
component: () => import('../views/statistics/index.vue'),
136+
meta: { requiresSetup: true },
137+
},
132138
{
133139
path: '/provider',
134140
name: 'Provider',
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<script setup lang="ts">
2+
import { useI18n } from 'vue-i18n'
3+
import DashboardLayout from '@/components/DashboardLayout.vue'
4+
import {
5+
Card,
6+
CardContent,
7+
CardDescription,
8+
CardHeader,
9+
CardTitle,
10+
} from '@/components/ui/card'
11+
import { Construction } from 'lucide-vue-next'
12+
13+
const { t } = useI18n()
14+
</script>
15+
16+
<template>
17+
<DashboardLayout :title="t('statistics.title')">
18+
<div class="space-y-6">
19+
<Card>
20+
<CardHeader>
21+
<CardTitle class="flex items-center gap-2">
22+
<Construction class="h-5 w-5" />
23+
{{ t('statistics.underConstruction.title') }}
24+
</CardTitle>
25+
<CardDescription>
26+
{{ t('statistics.underConstruction.description') }}
27+
</CardDescription>
28+
</CardHeader>
29+
<CardContent>
30+
<p class="text-muted-foreground">
31+
{{ t('statistics.underConstruction.message') }}
32+
</p>
33+
</CardContent>
34+
</Card>
35+
</div>
36+
</DashboardLayout>
37+
</template>

0 commit comments

Comments
 (0)