Skip to content

Re-disables enableScalarColumnContextMenus flag #6838

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

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

hoonji
Copy link
Member

@hoonji hoonji commented Apr 22, 2024

Motivation for features / changes

In 3p, enabling standard (non-hparam column) hide is currently dangerous as there is currently no way to re-show them. Enabling for 3p will have to wait until we add an affordance other than the 1p-only column customizer.

Affected users can clear localStorage for the page, or add the enableScalarColumnCustomization=true flag to enable the column customizer in the settings menu and re-add hidden columns.

Technical description of changes

Sets enableScalarColumnContextMenus default to false. (Reverts #6817)

@hoonji hoonji requested a review from bmd3k April 22, 2024 09:20
@bmd3k bmd3k requested a review from JamesHollyer April 22, 2024 10:59
Copy link
Contributor

@bmd3k bmd3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be good to ask James about this, if you haven't already. He's recently back from leave.

@@ -111,7 +111,7 @@ export const FeatureFlagMetadataMap: FeatureFlagMetadataMapType<FeatureFlags> =
parseValue: parseBoolean,
},
enableScalarColumnContextMenus: {
defaultValue: true,
defaultValue: false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we instead enable ScalarColumnCustomization? Is there anything about it that forces it to be 1P-only?

@JamesHollyer

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in internal comms, I think the best plan is to dedupe the column customization functionality using the table affordances (add button, context menus). We can re-enable scalar table context menus in 3p after that's done.

@hoonji hoonji merged commit aa315d3 into tensorflow:master Apr 24, 2024
13 checks passed
AnuarTB pushed a commit to AnuarTB/tensorboard that referenced this pull request May 3, 2024
## Motivation for features / changes
In 3p, enabling standard (non-hparam column) hide is currently dangerous
as there is currently no way to re-show them. Enabling for 3p will have
to wait until we add an affordance other than the 1p-only column
customizer.

Affected users can clear localStorage for the page, or add the
`enableScalarColumnCustomization=true` flag to enable the column
customizer in the settings menu and re-add hidden columns.

## Technical description of changes
Sets `enableScalarColumnContextMenus` default to `false`. (Reverts
tensorflow#6817)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants