File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed
Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export type MockDashboardConfigType = {
5050 mlflow ?: boolean ;
5151 projectRBAC ?: boolean ;
5252 disableLLMd ?: boolean ;
53+ YAMLViewer ?: boolean ;
5354} ;
5455
5556export const mockDashboardConfig = ( {
@@ -93,6 +94,7 @@ export const mockDashboardConfig = ({
9394 trainingJobs = true ,
9495 observabilityDashboard = false ,
9596 disableLLMd = false ,
97+ YAMLViewer = false ,
9698 hardwareProfileOrder = [ 'test-hardware-profile' ] ,
9799 modelServerSizes = [
98100 {
@@ -259,6 +261,7 @@ export const mockDashboardConfig = ({
259261 trainingJobs,
260262 observabilityDashboard,
261263 disableLLMd,
264+ YAMLViewer,
262265 } ,
263266 notebookController : {
264267 enabled : ! disableNotebookController ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export const techPreviewFlags = {
1010 mlflow : false ,
1111 projectRBAC : true ,
1212 observabilityDashboard : false ,
13+ YAMLViewer : false ,
1314} satisfies Partial < DashboardCommonConfig > ;
1415
1516export const devTemporaryFeatureFlags = {
@@ -207,6 +208,10 @@ export const SupportedAreasStateMap: SupportedAreasState = {
207208 [ SupportedArea . PROJECT_RBAC_SETTINGS ] : {
208209 featureFlags : [ 'projectRBAC' ] ,
209210 } ,
211+ [ SupportedArea . YAML_VIEWER ] : {
212+ featureFlags : [ 'YAMLViewer' ] ,
213+ reliantAreas : [ SupportedArea . LLMD_SERVING ] ,
214+ } ,
210215} ;
211216
212217/** Maps each DataScienceStackComponent to its human-readable name **/
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ export enum SupportedArea {
6060 SERVING_RUNTIME_PARAMS = 'serving-runtime-params' ,
6161 MODEL_AS_SERVICE = 'model-as-service' ,
6262 LLMD_SERVING = 'llmd-serving' ,
63+ YAML_VIEWER = 'yaml-viewer' ,
64+
6365 /* Distributed Workloads areas */
6466 DISTRIBUTED_WORKLOADS = 'distributed-workloads' ,
6567 KUEUE = 'kueue' ,
Original file line number Diff line number Diff line change @@ -1308,6 +1308,7 @@ export type DashboardCommonConfig = {
13081308 projectRBAC ?: boolean ;
13091309 observabilityDashboard ?: boolean ;
13101310 disableLLMd ?: boolean ;
1311+ YAMLViewer ?: boolean ;
13111312} ;
13121313
13131314// [1] Intentionally disjointed fields from the CRD in this type definition
You can’t perform that action at this time.
0 commit comments