Compare commits

..

1 Commits

Author SHA1 Message Date
Marc Brooks 0078d50a18
feat(ui) Add deviceName or deviceID to the browser tab title
Addresses #304. In local mode will show the deviceId, in cloud connection will show the deviceName.

Would be nice to show the hostname, but that would require device-side code changes to the /device endpoint.
2025-06-13 06:21:17 -05:00
2 changed files with 5 additions and 10 deletions

View File

@ -2,8 +2,8 @@ BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
BUILDDATE ?= $(shell date -u +%FT%T%z) BUILDDATE ?= $(shell date -u +%FT%T%z)
BUILDTS ?= $(shell date -u +%s) BUILDTS ?= $(shell date -u +%s)
REVISION ?= $(shell git rev-parse HEAD) REVISION ?= $(shell git rev-parse HEAD)
VERSION_DEV ?= 0.4.5-dev$(shell date +%Y%m%d%H%M) VERSION_DEV := 0.4.5-dev$(shell date +%Y%m%d%H%M)
VERSION ?= 0.4.4 VERSION := 0.4.4
PROMETHEUS_TAG := github.com/prometheus/common/version PROMETHEUS_TAG := github.com/prometheus/common/version
KVM_PKG_NAME := github.com/jetkvm/kvm KVM_PKG_NAME := github.com/jetkvm/kvm

View File

@ -295,10 +295,6 @@ if (isOnDevice) {
path: "hardware", path: "hardware",
element: <SettingsHardwareRoute />, element: <SettingsHardwareRoute />,
}, },
{
path: "network",
element: <SettingsNetworkRoute />,
},
{ {
path: "access", path: "access",
children: [ children: [
@ -354,11 +350,10 @@ if (isOnDevice) {
loader: DeviceIdRename.loader, loader: DeviceIdRename.loader,
action: DeviceIdRename.action, action: DeviceIdRename.action,
}, },
{ {
path: "devices", path: "devices",
element: <DevicesRoute />, element: <DevicesRoute />,
loader: DevicesRoute.loader loader: DevicesRoute.loader },
},
], ],
}, },
], ],