fix(explore): Update tooltip copy for rendering html in tables and pivot tables (#30682)

Co-authored-by: Joe Li <joe@preset.io>
This commit is contained in:
yousoph
2024-11-01 10:54:50 -07:00
committed by GitHub
parent ab95bff7b6
commit 3ec3f0a610
2 changed files with 30 additions and 26 deletions

View File

@@ -17,6 +17,23 @@
* specific language governing permissions and limitations
* under the License.
*/
import {
ColumnMeta,
ColumnOption,
ControlConfig,
ControlPanelConfig,
ControlPanelsContainerProps,
ControlPanelState,
ControlState,
ControlStateMapping,
D3_TIME_FORMAT_OPTIONS,
Dataset,
defineSavedMetrics,
getStandardizedControls,
QueryModeLabel,
sections,
sharedControls,
} from '@superset-ui/chart-controls';
import {
ensureIsArray,
GenericDataType,
@@ -27,23 +44,6 @@ import {
SMART_DATE_ID,
t,
} from '@superset-ui/core';
import {
ColumnOption,
ControlConfig,
ControlPanelConfig,
ControlPanelsContainerProps,
ControlStateMapping,
D3_TIME_FORMAT_OPTIONS,
QueryModeLabel,
sharedControls,
ControlPanelState,
ControlState,
Dataset,
ColumnMeta,
defineSavedMetrics,
getStandardizedControls,
sections,
} from '@superset-ui/chart-controls';
import { isEmpty } from 'lodash';
import { PAGE_SIZE_OPTIONS } from './consts';
@@ -466,7 +466,9 @@ const config: ControlPanelConfig = {
label: t('Render columns in HTML format'),
renderTrigger: true,
default: true,
description: t('Render data in HTML format if applicable.'),
description: t(
'Renders table cells as HTML when applicable. For example, HTML &lt;a&gt; tags will be rendered as hyperlinks.',
),
},
},
],