Skip to content

Commit c742270

Browse files
authored
Suggested Cards: Add new feature flag to control the suggested cards feature (#6436)
## Motivation for features / changes We are working on a new feature to suggest cards to a user based on their previous interactions with TensorBoard. This feature flag will help control it's rollout.
1 parent 56c51b0 commit c742270

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-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
@@ -115,6 +115,11 @@ export const FeatureFlagMetadataMap: FeatureFlagMetadataMapType<FeatureFlags> =
115115
queryParamOverride: 'enableHparamsInTimeSeries',
116116
parseValue: parseBoolean,
117117
},
118+
enableSuggestedCards: {
119+
defaultValue: false,
120+
queryParamOverride: 'enableSuggestedCards',
121+
parseValue: parseBoolean,
122+
},
118123
};
119124

120125
/**

tensorboard/webapp/feature_flag/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,7 @@ export interface FeatureFlags {
4747
enableScalarColumnCustomization: boolean;
4848
// Adds hparam columns to the runs table and the scalar card data table.
4949
enableHparamsInTimeSeries: boolean;
50+
// Adds a new section at the top of the time series metrics view
51+
// containing suggested cards based on the users previous interactions.
52+
enableSuggestedCards: boolean;
5053
}

0 commit comments

Comments
 (0)