Skip to content

Commit 35caa86

Browse files
mudlerlocalai-org-maint-bot
authored andcommitted
refactor(ui): repoint internal links from /app/nodes to /app/cluster
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 0a8bc44 commit 35caa86

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

core/http/react-ui/src/components/NodeInstallPicker.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ export default function NodeInstallPicker({
479479
Approve pending workers or register new ones.
480480
{pendingCount > 0 && ` (${pendingCount} awaiting approval.)`}
481481
</p>
482-
<a className="btn btn-secondary btn-sm" href="/app/nodes">
482+
<a className="btn btn-secondary btn-sm" href="/app/cluster">
483483
<i className="fas fa-network-wired" /> Manage nodes
484484
</a>
485485
</div>
@@ -672,7 +672,7 @@ export default function NodeInstallPicker({
672672

673673
{pendingCount > 0 && (
674674
<p style={{ fontSize: '0.75rem', color: 'var(--color-text-muted)', marginTop: 0, marginBottom: 'var(--spacing-sm)' }}>
675-
+{pendingCount} awaiting approval — <a href="/app/nodes" style={{ color: 'var(--color-primary)' }}>approve from Nodes</a>.
675+
+{pendingCount} awaiting approval — <a href="/app/cluster" style={{ color: 'var(--color-primary)' }}>approve from Nodes</a>.
676676
</p>
677677
)}
678678

core/http/react-ui/src/pages/BackendLogs.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function DistributedBackendLogsResolver({ modelId, fromTimestamp }) {
335335
<h2 className="empty-state-title">Model not loaded on any worker</h2>
336336
<p className="empty-state-text">
337337
<span style={{ fontFamily: 'var(--font-mono)' }}>{modelId}</span> isn't currently loaded on any node in the cluster.
338-
Check the <Link to="/app/nodes" style={{ color: 'var(--color-primary)' }}>Nodes page</Link> to see which models are running where.
338+
Check the <Link to="/app/cluster" style={{ color: 'var(--color-primary)' }}>Nodes page</Link> to see which models are running where.
339339
</p>
340340
</div>
341341
</div>

core/http/react-ui/src/pages/Backends.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function Backends() {
5050
// whenever splitMenuFor changes to a different row index.
5151
const splitMenuAnchorRef = useRef(null)
5252

53-
// Target-node mode: set when navigated from /app/nodes via "+ Add backend".
53+
// Target-node mode: set when navigated from /app/cluster via "+ Add backend".
5454
// The gallery page header banners the scope; rows collapse their split-button
5555
// to a single Install-on-this-node action; manual install posts to the
5656
// per-node endpoint.
@@ -324,7 +324,7 @@ export default function Backends() {
324324
return (
325325
<div className="page page--wide">
326326
{/* Target-node banner: when this gallery is scoped to one node via
327-
?target=<id> (entered from /app/nodes), show the scope clearly and
327+
?target=<id> (entered from /app/cluster), show the scope clearly and
328328
give a fast way to clear it. Visually a primary-tinted strip so the
329329
user knows they're in a special mode without it feeling alarming. */}
330330
{targetNode && (

core/http/react-ui/src/pages/NodeBackendLogs.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default function NodeBackendLogs() {
163163
<h2 className="empty-state-title">No node/model selected</h2>
164164
<p className="empty-state-text">
165165
View backend logs from the{' '}
166-
<Link to="/app/nodes" style={{ color: 'var(--color-primary)' }}>Nodes page</Link>.
166+
<Link to="/app/cluster" style={{ color: 'var(--color-primary)' }}>Nodes page</Link>.
167167
</p>
168168
</div>
169169
</div>
@@ -223,7 +223,7 @@ export default function NodeBackendLogs() {
223223
supporting={
224224
<>
225225
Backend logs from node <strong>{nodeName || nodeId}</strong>
226-
{' '}<Link to="/app/nodes" style={{ color: 'var(--color-primary)', fontSize: '0.8125rem' }}>(back to nodes)</Link>
226+
{' '}<Link to="/app/cluster" style={{ color: 'var(--color-primary)', fontSize: '0.8125rem' }}>(back to nodes)</Link>
227227
</>
228228
}
229229
/>

0 commit comments

Comments
 (0)