project-nomad/admin/types
Yi-111-a 9aad8ff3c9 fix(ui): let the Service Logs sidebar link honor a custom URL
#991 added custom_url overrides for app launch links, but the Settings
sidebar's "Service Logs & Metrics" entry still built its href from just a
port: getServiceLink('9999') in SettingsLayout.tsx.

Dozzle is a management-compose container (nomad_dozzle), not a `services`
row, so that override has nothing to attach to and the link always
resolved to http://<current-host>:9999. For anyone reaching NOMAD through
a reverse proxy or a local DNS name — the exact audience #991 served — the
logs link is broken with no workaround in the UI.

Add a KV-backed ui.serviceLogsUrl override, editable under Advanced >
Reverse Proxy, and route the sidebar entry through getServiceLink's
existing customUrl argument. With nothing set the link is unchanged.

Validation accepts a full http(s) URL or a bare host (normalizeCustomUrl
prepends http://), treats empty as "clear", and refuses a declared
non-http(s) scheme so an input like file:///etc/passwd is rejected at the
boundary instead of being silently reinterpreted as a hostname.
2026-09-26 00:44:23 +08:00
..
benchmark.ts feat(benchmark): official multi-arch sysbench, resolved digest, platform metadata (#1158) 2026-08-04 03:39:53 +00:00
chat.ts fix(AI): improved perf via rewrite and streaming logic 2026-03-03 20:51:38 -08:00
collections.ts feat: support gated downloads for self-hosted curated content (#1172) 2026-08-04 03:39:55 +00:00
conditions.ts Add offline FDA drug reference (labels, interaction view, conditions, remedies) (#1040) 2026-08-04 03:38:33 +00:00
docker.ts feat: initial commit 2025-06-29 15:51:08 -07:00
downloads.ts feat(creator-packs): gated per-creator video packs, offline via Kiwix (#1106) 2026-08-04 03:38:27 +00:00
drug_reference.ts Add offline FDA drug reference (labels, interaction view, conditions, remedies) (#1040) 2026-08-04 03:38:33 +00:00
files.ts feat: curated content system overhaul 2026-02-11 15:44:46 -08:00
kb_ingest_state.ts feat(KB): per-file ingest state machine (Phase 1 of RFC #883) (#888) 2026-05-20 10:16:00 -07:00
kv_store.ts fix(ui): let the Service Logs sidebar link honor a custom URL 2026-09-26 00:44:23 +08:00
maps.ts feat(Maps): regional map downloads via go-pmtiles extract (#780) 2026-05-20 10:16:00 -07:00
ollama.ts feat(AI): per-model thinking toggle with global default (off) (#1079) 2026-08-04 03:38:29 +00:00
rag.ts feat(rag): add subject/collection organization to knowledge base (#1063) 2026-08-04 03:37:42 +00:00
services.ts feat: replace legacy Kolibri image default with latest v19 image (#1019) 2026-06-23 04:47:07 +00:00
system.ts feat(content): opt-in automatic updates for installed ZIM & map content 2026-06-23 04:47:01 +00:00
util.ts feat: initial commit 2025-06-29 15:51:08 -07:00
zim.ts feat: Expandable rows in Kiwix Library browser (#1060) 2026-08-04 03:37:32 +00:00