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

@@ -16,6 +16,13 @@
* specific language governing permissions and limitations
* under the License.
*/
import {
ControlPanelConfig,
D3_TIME_FORMAT_OPTIONS,
Dataset,
getStandardizedControls,
sharedControls,
} from '@superset-ui/chart-controls';
import {
ensureIsArray,
isAdhocColumn,
@@ -25,13 +32,6 @@ import {
t,
validateNonEmpty,
} from '@superset-ui/core';
import {
ControlPanelConfig,
D3_TIME_FORMAT_OPTIONS,
sharedControls,
Dataset,
getStandardizedControls,
} from '@superset-ui/chart-controls';
import { MetricsLayoutEnum } from '../types';
const config: ControlPanelConfig = {
@@ -436,7 +436,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.',
),
},
},
],