Skip to content

Commit 356529f

Browse files
authored
HParams: Add feature flag to control the rollout of the hparams in time series (#6308)
## Motivation for features / changes We are about to start working on a new feature to show hparams in the runs table and the scalar card data table and would like to control its roll out. ## Technical description of changes I added a new feature flag. ## Screenshots of UI changes ![image](https://user-images.githubusercontent.com/78179109/231518750-a20110aa-3efa-4b2c-897c-ce09f9d71a71.png) ## Detailed steps to verify changes work correctly (as executed by you) 1) Start tensorboard 2) Navigate to localhost:6006?showFlags=hparams 3) Ensure the new feature flag is shown in the modal ![image](https://user-images.githubusercontent.com/78179109/231519055-cddbeb62-fc5c-4e59-8dd6-d112cfa6ec18.png)
1 parent 56b38b7 commit 356529f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tensorboard/webapp/feature_flag/store/feature_flag_metadata.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ export const FeatureFlagMetadataMap: FeatureFlagMetadataMapType<FeatureFlags> =
130130
queryParamOverride: 'enableScalarColumnCustomization',
131131
parseValue: parseBoolean,
132132
},
133+
enableHparamsInTimeSeries: {
134+
defaultValue: false,
135+
queryParamOverride: 'enableHparamsInTimeSeries',
136+
parseValue: parseBoolean,
137+
},
133138
};
134139

135140
/**

tensorboard/webapp/feature_flag/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@ export interface FeatureFlags {
5454
// Adds affordance for users to select and reorder the columns in the Scalar
5555
// Card Data Table
5656
enableScalarColumnCustomization: boolean;
57+
// Adds hparam columns to the runs table and the scalar card data table.
58+
enableHparamsInTimeSeries: boolean;
5759
}

0 commit comments

Comments
 (0)