diff --git a/admin/app/services/benchmark_service.ts b/admin/app/services/benchmark_service.ts
index 2e9d149..80cb9e8 100644
--- a/admin/app/services/benchmark_service.ts
+++ b/admin/app/services/benchmark_service.ts
@@ -5,6 +5,7 @@ import Docker from 'dockerode'
import si from 'systeminformation'
import { v4 as uuidv4 } from 'uuid'
import axios from 'axios'
+import { DateTime } from 'luxon'
import BenchmarkResult from '#models/benchmark_result'
import BenchmarkSetting from '#models/benchmark_setting'
import { SystemService } from '#services/system_service'
@@ -154,7 +155,7 @@ export class BenchmarkService {
if (response.data.success) {
result.submitted_to_repository = true
- result.submitted_at = new Date() as any
+ result.submitted_at = DateTime.now()
result.repository_id = response.data.repository_id
await result.save()
diff --git a/admin/inertia/layouts/SettingsLayout.tsx b/admin/inertia/layouts/SettingsLayout.tsx
index dd08a4c..996ee5e 100644
--- a/admin/inertia/layouts/SettingsLayout.tsx
+++ b/admin/inertia/layouts/SettingsLayout.tsx
@@ -1,4 +1,5 @@
import {
+ ChartBarIcon,
Cog6ToothIcon,
CommandLineIcon,
FolderIcon,
@@ -16,6 +17,7 @@ import { getServiceLink } from '~/lib/navigation'
const navigation = [
{ name: 'Apps', href: '/settings/apps', icon: CommandLineIcon, current: false },
+ { name: 'Benchmark', href: '/settings/benchmark', icon: ChartBarIcon, current: false },
{ name: 'Legal Notices', href: '/settings/legal', icon: IconGavel, current: false },
{ name: 'Maps Manager', href: '/settings/maps', icon: IconMapRoute, current: false },
{ name: 'Models Manager', href: '/settings/models', icon: IconDatabaseStar, current: false },
diff --git a/admin/inertia/pages/settings/benchmark.tsx b/admin/inertia/pages/settings/benchmark.tsx
index 57a5072..015e7d9 100644
--- a/admin/inertia/pages/settings/benchmark.tsx
+++ b/admin/inertia/pages/settings/benchmark.tsx
@@ -128,18 +128,27 @@ export default function BenchmarkPage(props: {
})
// Submit to repository mutation
+ const [submitError, setSubmitError] = useState
+ Share your benchmark score anonymously with the NOMAD community. Only your hardware specs and scores are sent — no identifying information. +
+