fix(ui): render unknown routes and correct status description

This commit is contained in:
sam committed 2026-10-09 09:57:56 +11:00
1 parent 02ab747ca9
commit 0792f0ba84
12 files changed
+53 -33

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
<script setup lang="ts">
import PageHeader from "./PageHeader.vue";
</script>
<template>
<div>
<PageHeader title="Page not found" />
<p class="mb-4 text-sm text-fg-muted">This address does not match a page.</p>
<RouterLink to="/" class="text-sm underline">Return to dashboard</RouterLink>
</div>
</template>
+7 -1
View File
@@ -119,7 +119,7 @@ const routes = [
settings: true,
label: "Status",
description:
"Update state, configuration sources, and the listen address.",
"Service presence, dependency health, and build versions.",
section: "settings",
},
},
@@ -395,6 +395,12 @@ const routes = [
label: "Settings",
},
},
{
path: "/:pathMatch(.*)*",
name: "not-found",
component: () => import("@/base/NotFoundPage.vue"),
meta: { nav: false },
},
// Paths from before Settings existed, kept for bookmarks and chat history.
...Object.entries({
"/system/status": "/settings/status",