project-nomad/admin/inertia/hooks
chriscrosstalk 401fbf46c9 feat(benchmark): dashboard re-run banner prompting a Score v2 re-run (#1096)
Shows a dismissible dashboard banner to users who submitted a benchmark under
v1 scoring but don't yet have a Score v2 result, nudging them to re-run so the
community leaderboard gets their v2 number.

- Show logic (benchmark_service.shouldShowRerunBanner): has a result with
  submitted_to_repository=true AND no result with nomad_score_v2 AND the
  dismiss KV isn't set. Self-clears two ways — dismiss sets the KV, and any v2
  run gives a result a nomad_score_v2 so the condition flips off on its own.
- New GET /api/benchmark/rerun-banner + useBenchmarkRerunBanner hook (mirrors
  useUpdateAvailable), rendered as a dismissible Alert on the dashboard with a
  "Re-run benchmark" CTA to /settings/benchmark.
- New KV key benchmark.rerunBannerDismissed (boolean) in both KV_STORE_SCHEMA
  and the SETTINGS_KEYS whitelist (the PATCH /system/settings validator enum);
  dismiss writes it via the existing updateSetting endpoint + invalidates the
  query.

Sibling to the Score v2 app client (#1094); stacked on it for the
nomad_score_v2 column. Browser-verified on the NOMAD3 dev env: show/dismiss/
reload-persist/self-clear-on-v2 all correct.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 09:36:14 -07:00
..
useAppAutoUpdateStatus.ts feat(supply-depot): opt-in automatic updates for installed apps 2026-06-23 04:46:52 +00:00
useAutoUpdateStatus.ts feat(system): add opt-in automatic updates for the core NOMAD app 2026-06-23 04:46:51 +00:00
useBenchmarkRerunBanner.ts feat(benchmark): dashboard re-run banner prompting a Score v2 re-run (#1096) 2026-07-21 09:36:14 -07:00
useBenchmarkRun.ts feat(benchmark): end-of-run score reveal + NVIDIA GPU-util overlay (#1087) 2026-07-20 12:07:45 -07:00
useContentAutoUpdateStatus.ts feat(content): opt-in automatic updates for installed ZIM & map content 2026-06-23 04:47:01 +00:00
useCreatorPacks.ts feat(creator-packs): gated per-creator video packs, offline via Kiwix (#1106) 2026-07-20 16:21:18 -07:00
useDebounce.ts feat: [wip] custom map and zim downloads 2025-12-02 08:25:09 -08:00
useDiskDisplayData.ts fix(UI): gate NAS Storage label on network filesystem type (#749) 2026-04-21 14:26:28 -07:00
useDownloads.ts feat(content-updates): show size, surface downloads in Active Downloads 2026-05-20 10:16:00 -07:00
useEmbedJobs.ts feat(AI): enable remote AI chat host 2026-04-03 14:26:50 -07:00
useErrorNotification.ts feat: container controls & convienience scripts 2025-08-08 15:07:32 -07:00
useInternetStatus.ts feat: easy setup wizard 2026-01-15 15:54:59 -08:00
useMapMarkers.ts feat(maps): add notes input to map pin placement popup (#926) 2026-07-18 08:59:35 -07:00
useMapRegionFiles.ts feat: [wip] new maps system 2025-11-30 22:29:16 -08:00
useOllamaModelDownloads.ts fix(AI): allow cancelling in-progress model downloads and ensure consistent progress UI (#701) 2026-04-21 14:26:28 -07:00
useServiceInstallationActivity.ts feat: display model download progress 2026-02-06 16:22:23 -08:00
useServiceInstalledStatus.tsx feat(AI): chat suggestions and assistant settings 2026-02-01 07:24:21 +00:00
useSystemInfo.ts fix(CuratedCategories): improve fetching from Github 2026-01-19 14:41:51 -08:00
useSystemSetting.ts feat(AI): chat suggestions and assistant settings 2026-02-01 07:24:21 +00:00
useTheme.ts feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
useUpdateAvailable.ts feat: cron job for system update checks 2026-02-06 15:40:30 -08:00