Menu: osTicket into Operations, new Reference group
Reference holds Map, Inventory, Admin Links and Generator, leaving Infrastructure with live systems only. Docs and UI text name the new locations. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0e26696b79
commit
d3d89648c5
6 files changed
+22
-14
No files matched your search
+1
-1
@@ -291,7 +291,7 @@ tasks added by hand.
|
|||||||
#### `server_links`
|
#### `server_links`
|
||||||
|
|
||||||
Admin-page bookmarks for a server (Dockge, Webmin, Cockpit, …). Shown on the
|
Admin-page bookmarks for a server (Dockge, Webmin, Cockpit, …). Shown on the
|
||||||
server's page and summarised under Infrastructure → Admin Links.
|
server's page and summarised under Reference → Admin Links.
|
||||||
|
|
||||||
| Column | Type | Notes |
|
| Column | Type | Notes |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ All modules from the original plan are built:
|
|||||||
start/stop/restart buttons right on the detail page. The detail page also has an **Admin Links** section
|
start/stop/restart buttons right on the detail page. The detail page also has an **Admin Links** section
|
||||||
(operator/admin to add/edit/remove) for bookmarking that server's own
|
(operator/admin to add/edit/remove) for bookmarking that server's own
|
||||||
admin UIs — Dockge, Webmin, Cockpit, Portainer, or anything else reachable
|
admin UIs — Dockge, Webmin, Cockpit, Portainer, or anything else reachable
|
||||||
by URL. **Infrastructure → Admin Links** summarizes every server's admin links
|
by URL. **Reference → Admin Links** summarizes every server's admin links
|
||||||
in one sortable, searchable table (server, label, URL, an "Open" link, and
|
in one sortable, searchable table (server, label, URL, an "Open" link, and
|
||||||
the same add/edit/delete as the per-server section — adding one here just
|
the same add/edit/delete as the per-server section — adding one here just
|
||||||
asks which server it belongs to), so finding or managing one doesn't mean
|
asks which server it belongs to), so finding or managing one doesn't mean
|
||||||
@@ -222,7 +222,7 @@ offered as one-click suggestions when tagging), give any tag a colour of your ch
|
|||||||
that already exists merges the two, and both rename and delete rewrite every server
|
that already exists merges the two, and both rename and delete rewrite every server
|
||||||
that carries the tag.
|
that carries the tag.
|
||||||
|
|
||||||
**Name generator** — Administration → Generator suggests server names (and usernames and
|
**Name generator** — Reference → Generator suggests server names (and usernames and
|
||||||
passwords, which are made in your browser and never stored). Server names are picked from
|
passwords, which are made in your browser and never stored). Server names are picked from
|
||||||
name lists: Swedish girl and boy names, Disney and Pixar characters, Norse mythology and
|
name lists: Swedish girl and boy names, Disney and Pixar characters, Norse mythology and
|
||||||
Astrid Lindgren to start with, or "Mixed" for all of them together. A name already used
|
Astrid Lindgren to start with, or "Mixed" for all of them together. A name already used
|
||||||
@@ -405,7 +405,7 @@ devices, Uptime Kuma monitors, Gitea repositories or Semaphore templates, a
|
|||||||
click (or Enter) on a row opens a panel with everything known about it, without
|
click (or Enter) on a row opens a panel with everything known about it, without
|
||||||
leaving the table.
|
leaving the table.
|
||||||
|
|
||||||
**Map** (Infrastructure → Map) has two views, *Connections* and *Dependencies* (see below). *Connections* draws how things connect: which Proxmox host each
|
**Map** (Reference → Map) has two views, *Connections* and *Dependencies* (see below). *Connections* draws how things connect: which Proxmox host each
|
||||||
linked server runs on, which DNS names point at it (an A or AAAA record holding
|
linked server runs on, which DNS names point at it (an A or AAAA record holding
|
||||||
one of the server's own addresses — nothing is guessed from names), and which
|
one of the server's own addresses — nothing is guessed from names), and which
|
||||||
Uptime Kuma monitors watch it. Hover or tab to a box to light up its
|
Uptime Kuma monitors watch it. Hover or tab to a box to light up its
|
||||||
@@ -450,7 +450,7 @@ settings changed (with what to what), maintenance started and ended, dependencie
|
|||||||
each as a sentence. Narrow it by kind of change, by server, by how far back (a day to everything kept), or by a word; "Show older" goes on from where it stopped; CSV
|
each as a sentence. Narrow it by kind of change, by server, by how far back (a day to everything kept), or by a word; "Show older" goes on from where it stopped; CSV
|
||||||
export. A server's Activity card links to its slice of it. Sign-ins and people's own data exports aren't changes and are left out. The raw audit log is the other tab of the same page (Change log → *Raw audit log*).
|
export. A server's Activity card links to its slice of it. Sign-ins and people's own data exports aren't changes and are left out. The raw audit log is the other tab of the same page (Change log → *Raw audit log*).
|
||||||
|
|
||||||
**Dependencies beyond servers** (Infrastructure → Map → *Dependencies*, which draws the graph with the editor under it). Say that Gitea needs the server it is installed on, or that a server
|
**Dependencies beyond servers** (Reference → Map → *Dependencies*, which draws the graph with the editor under it). Say that Gitea needs the server it is installed on, or that a server
|
||||||
needs Proxmox to answer. When what is needed is down, the alert of what needs it is folded under the first one exactly like a
|
needs Proxmox to answer. When what is needed is down, the alert of what needs it is folded under the first one exactly like a
|
||||||
guest under its host — shown, labelled "caused by …", left out of notifications and tickets — and the root cause says what else it
|
guest under its host — shown, labelled "caused by …", left out of notifications and tickets — and the root cause says what else it
|
||||||
takes down. It follows chains and the "runs on" links of servers; something needing two things is explained by whichever is down;
|
takes down. It follows chains and the "runs on" links of servers; something needing two things is explained by whichever is down;
|
||||||
@@ -675,7 +675,7 @@ digest and `/metrics`. The same place keeps the **services to ignore** on that s
|
|||||||
Host health card; and a card, **What the agent couldn't collect**, tells you why a figure is missing (no `smartctl`, an update check that didn't answer …) and what
|
Host health card; and a card, **What the agent couldn't collect**, tells you why a figure is missing (no `smartctl`, an update check that didn't answer …) and what
|
||||||
to do. See AGENT_UPDATE.md.
|
to do. See AGENT_UPDATE.md.
|
||||||
|
|
||||||
**Inventory** (Infrastructure → Inventory) keeps the hardware behind it all: name and
|
**Inventory** (Reference → Inventory) keeps the hardware behind it all: name and
|
||||||
kind, maker, model, serial, where it sits (and rack unit), when it was bought and for
|
kind, maker, model, serial, where it sits (and rack unit), when it was bought and for
|
||||||
how much, when its warranty ends, its typical power draw, and which server it is.
|
how much, when its warranty ends, its typical power draw, and which server it is.
|
||||||
Summary cards show how much is under warranty (and what ends within 90 days), the total
|
Summary cards show how much is under warranty (and what ends within 90 days), the total
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ serversRouter.get("/updates", asyncHandler(async (_req, res) => {
|
|||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// For the Operations > Admin Links page — every server's admin bookmarks in one place, instead of visiting
|
// For the Reference > Admin Links page — every server's admin bookmarks in one place, instead of visiting
|
||||||
// each server's own detail page to find them.
|
// each server's own detail page to find them.
|
||||||
serversRouter.get("/links", asyncHandler(async (_req, res) => {
|
serversRouter.get("/links", asyncHandler(async (_req, res) => {
|
||||||
const rows = await db
|
const rows = await db
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* The name lists behind Administration → Generator's server-name picker.
|
* The name lists behind Reference → Generator's server-name picker.
|
||||||
*
|
*
|
||||||
* The built-in lists below are hand-picked, not taken from any official source — they're a starting point. Admins can
|
* The built-in lists below are hand-picked, not taken from any official source — they're a starting point. Admins can
|
||||||
* edit every list under Settings → Names, and can replace a Swedish list with real statistics from Skatteverket.
|
* edit every list under Settings → Names, and can replace a Swedish list with real statistics from Skatteverket.
|
||||||
|
|||||||
+13
-5
@@ -37,6 +37,7 @@ import {
|
|||||||
IconListCheck,
|
IconListCheck,
|
||||||
IconRefresh,
|
IconRefresh,
|
||||||
IconApps,
|
IconApps,
|
||||||
|
IconBooks,
|
||||||
IconDownload,
|
IconDownload,
|
||||||
IconBox,
|
IconBox,
|
||||||
IconHeartbeat,
|
IconHeartbeat,
|
||||||
@@ -93,9 +94,6 @@ export const NAV: NavEntry[] = [
|
|||||||
{ to: "/docker", label: "Docker", icon: <IconBrandDocker size={20} /> },
|
{ to: "/docker", label: "Docker", icon: <IconBrandDocker size={20} /> },
|
||||||
{ to: "/hetzner", label: "Hetzner Cloud", icon: <IconServerBolt size={20} /> },
|
{ to: "/hetzner", label: "Hetzner Cloud", icon: <IconServerBolt size={20} /> },
|
||||||
{ to: "/tailscale", label: "Tailscale", icon: <IconAffiliate size={20} /> },
|
{ to: "/tailscale", label: "Tailscale", icon: <IconAffiliate size={20} /> },
|
||||||
{ to: "/map", label: "Map", icon: <IconSitemap size={20} /> },
|
|
||||||
{ to: "/inventory", label: "Inventory", icon: <IconBox size={20} /> },
|
|
||||||
{ to: "/admin-links", label: "Admin Links", icon: <IconExternalLink size={20} /> },
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -156,7 +154,6 @@ export const NAV: NavEntry[] = [
|
|||||||
items: [
|
items: [
|
||||||
{ to: "/semaphore", label: "Semaphore", icon: <IconPlayerPlay size={20} /> },
|
{ to: "/semaphore", label: "Semaphore", icon: <IconPlayerPlay size={20} /> },
|
||||||
{ to: "/gitea", label: "Gitea", icon: <IconBrandGit size={20} /> },
|
{ to: "/gitea", label: "Gitea", icon: <IconBrandGit size={20} /> },
|
||||||
{ to: "/osticket", label: "osTicket", icon: <IconTicket size={20} /> },
|
|
||||||
{ to: "/n8n", label: "n8n", icon: <IconBolt size={20} /> },
|
{ to: "/n8n", label: "n8n", icon: <IconBolt size={20} /> },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -173,6 +170,18 @@ export const NAV: NavEntry[] = [
|
|||||||
{ to: "/todo", label: "To do", icon: <IconListDetails size={20} /> },
|
{ to: "/todo", label: "To do", icon: <IconListDetails size={20} /> },
|
||||||
{ to: "/reports", label: "Monthly report", icon: <IconReportAnalytics size={20} /> },
|
{ to: "/reports", label: "Monthly report", icon: <IconReportAnalytics size={20} /> },
|
||||||
{ to: "/changes", label: "Change log", icon: <IconGitCommit size={20} />, minRole: "operator" },
|
{ to: "/changes", label: "Change log", icon: <IconGitCommit size={20} />, minRole: "operator" },
|
||||||
|
{ to: "/osticket", label: "osTicket", icon: <IconTicket size={20} /> },
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "reference",
|
||||||
|
label: "Reference",
|
||||||
|
icon: <IconBooks size={20} />,
|
||||||
|
items: [
|
||||||
|
{ to: "/map", label: "Map", icon: <IconSitemap size={20} /> },
|
||||||
|
{ to: "/inventory", label: "Inventory", icon: <IconBox size={20} /> },
|
||||||
|
{ to: "/admin-links", label: "Admin Links", icon: <IconExternalLink size={20} /> },
|
||||||
|
{ to: "/generator", label: "Generator", icon: <IconWand size={20} /> },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -181,7 +190,6 @@ export const NAV: NavEntry[] = [
|
|||||||
icon: <IconSettings size={20} />,
|
icon: <IconSettings size={20} />,
|
||||||
items: [
|
items: [
|
||||||
{ to: "/integrations", label: "Integrations", icon: <IconPlugConnected size={20} /> },
|
{ to: "/integrations", label: "Integrations", icon: <IconPlugConnected size={20} /> },
|
||||||
{ to: "/generator", label: "Generator", icon: <IconWand size={20} /> },
|
|
||||||
{ to: "/users", label: "Users", icon: <IconUsers size={20} />, minRole: "admin" },
|
{ to: "/users", label: "Users", icon: <IconUsers size={20} />, minRole: "admin" },
|
||||||
{ to: "/settings", label: "Settings", icon: <IconSettings size={20} />, minRole: "admin" },
|
{ to: "/settings", label: "Settings", icon: <IconSettings size={20} />, minRole: "admin" },
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ export default function NameSettings() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="card-body">
|
<div className="card-body">
|
||||||
<div className="text-secondary small mb-3">
|
<div className="text-secondary small mb-3">
|
||||||
Administration → Generator picks server names from these lists. A name is letters, digits and hyphens (å, ä and ö become a, a and o), so
|
Reference → Generator picks server names from these lists. A name is letters, digits and hyphens (å, ä and ö become a, a and o), so
|
||||||
it works as a hostname. Changes apply when you save.
|
it works as a hostname. Changes apply when you save.
|
||||||
</div>
|
</div>
|
||||||
{drafts.length === 0 ? (
|
{drafts.length === 0 ? (
|
||||||
|
|||||||
Reference in new issue
Block a user