@@ -85,7 +85,7 @@ export const VALID_MENU_KEYS = [
8585 'summary' , // alias to dashboard for backward compatibility
8686 'session' ,
8787 'job' , // alias to session for backward compatibility
88- 'serving ' ,
88+ 'deployments ' ,
8989 'model-store' ,
9090 'ai-agent' ,
9191 'chat' ,
@@ -101,7 +101,7 @@ export const VALID_MENU_KEYS = [
101101 'scheduler' ,
102102 'resource-policy' ,
103103 'reservoir' ,
104- 'admin-serving ' ,
104+ 'admin-deployments ' ,
105105 'admin-dashboard' ,
106106 'admin-data' ,
107107 'project-admin-users' ,
@@ -126,7 +126,7 @@ const ALL_ADMIN_PAGE_KEYS: ReadonlySet<string> = new Set([
126126 'scheduler' ,
127127 'resource-policy' ,
128128 'reservoir' ,
129- 'admin-serving ' ,
129+ 'admin-deployments ' ,
130130 'admin-dashboard' ,
131131 'admin-data' ,
132132 'project-admin-users' ,
@@ -141,13 +141,13 @@ const ALL_ADMIN_PAGE_KEYS: ReadonlySet<string> = new Set([
141141] ) ;
142142
143143// Admin-category page keys reachable by a project admin (3-tier admin gating).
144- // Project admins see Sessions, Serving , Data (vfolders) and Members within the
145- // admin category. Other admin pages remain visible only to domain admins or
144+ // Project admins see Sessions, Deployments , Data (vfolders) and Members within
145+ // the admin category. Other admin pages remain visible only to domain admins or
146146// superadmins. Kept as a plain array so it can be exported and reused (e.g. for
147147// per-page route gating in follow-up PRs).
148148export const PROJECT_ADMIN_PAGE_KEYS = [
149149 // 'admin-session',
150- // 'admin-serving ',
150+ // 'admin-deployments ',
151151 // 'admin-data',
152152 'project-admin-users' ,
153153] as const ;
@@ -158,7 +158,7 @@ const PROJECT_ADMIN_PAGE_KEY_SET: ReadonlySet<string> = new Set(
158158
159159// Page keys that additionally require superadmin role
160160const SUPERADMIN_ONLY_PAGE_KEYS : ReadonlySet < string > = new Set ( [
161- 'admin-serving ' ,
161+ 'admin-deployments ' ,
162162 'admin-dashboard' ,
163163 'admin-data' ,
164164 'agent' ,
@@ -268,10 +268,10 @@ export const useWebUIMenuItems = (props?: UseWebUIMenuItemsProps) => {
268268 'workload' ,
269269 ) ,
270270 createMenuItem (
271- '/serving ' ,
272- t ( 'webui.menu.Serving ' ) ,
271+ '/deployments ' ,
272+ t ( 'webui.menu.Deployments ' ) ,
273273 < BAIEndpointsIcon style = { { color : token . colorPrimary } } /> ,
274- 'serving ' ,
274+ 'deployments ' ,
275275 'service' ,
276276 ) ,
277277 createMenuItem (
@@ -379,10 +379,12 @@ export const useWebUIMenuItems = (props?: UseWebUIMenuItemsProps) => {
379379 } ,
380380 isSuperAdmin && {
381381 label : (
382- < WebUILink to = "/admin-serving" > { t ( 'webui.menu.Serving' ) } </ WebUILink >
382+ < WebUILink to = "/admin-deployments" >
383+ { t ( 'webui.menu.Deployments' ) }
384+ </ WebUILink >
383385 ) ,
384386 icon : < BAIEndpointsIcon style = { { color : token . colorInfo } } /> ,
385- key : 'admin-serving ' as MenuKeys ,
387+ key : 'admin-deployments ' as MenuKeys ,
386388 group : 'admin-operations' as AdminMenuGroupName ,
387389 } ,
388390 {
0 commit comments