-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
step selector: add control to settings panel behind feature flag #5734
step selector: add control to settings panel behind feature flag #5734
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I made a suggestion for another test.
@@ -88,6 +88,7 @@ describe('metrics right_pane', () => { | |||
store.overrideSelector(selectors.getIsFeatureFlagsLoaded, true); | |||
store.overrideSelector(selectors.getIsMetricsImageSupportEnabled, true); | |||
store.overrideSelector(selectors.getIsLinkedTimeEnabled, false); | |||
store.overrideSelector(selectors.getIsDataTableEnabled, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to see a test that shows it does not render when this is false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Added.
This is part of the work to wiring the "sticky data table" (aka step selector) to its own feature. Following up #5734, we create the ngrx state and toggle to change the state status, which will be used to turn on/off the feature.
…sorflow#5734) This is part of the work to separate the "sticky data table" (aka step selector) to its own feature. This PR adds the checkbox to enable/disable step selector. The checkbox is hided behind feature flag (enableScalarDataTable).
…5742) This is part of the work to wiring the "sticky data table" (aka step selector) to its own feature. Following up tensorflow#5734, we create the ngrx state and toggle to change the state status, which will be used to turn on/off the feature.
…sorflow#5734) This is part of the work to separate the "sticky data table" (aka step selector) to its own feature. This PR adds the checkbox to enable/disable step selector. The checkbox is hided behind feature flag (enableScalarDataTable).
…5742) This is part of the work to wiring the "sticky data table" (aka step selector) to its own feature. Following up tensorflow#5734, we create the ngrx state and toggle to change the state status, which will be used to turn on/off the feature.
Motivation for features / changes
This is part of the work to separate the "sticky data table" (aka step selector) to its own feature. This PR adds the checkbox to enable/disable step selector. The checkbox is hided behind feature flag (enableScalarDataTable).
Technical description of changes
Add visual component to settings panel and wiring toggle action. (no dispatch action yet)
TODO: add ngrx state to control enabling time selector and plump them together
TODO: consider renaming feature flag