mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(table): consolidate visual column options under Visual formatting section (#39856)
This commit is contained in:
committed by
GitHub
parent
d3784879c2
commit
69fbbfd7ce
@@ -494,6 +494,12 @@ const config: ControlPanelConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: t('Visual formatting'),
|
||||||
|
expanded: true,
|
||||||
|
controlSetRows: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
name: 'column_config',
|
name: 'column_config',
|
||||||
@@ -587,18 +593,12 @@ const config: ControlPanelConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: t('Visual formatting'),
|
|
||||||
expanded: true,
|
|
||||||
controlSetRows: [
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
name: 'show_cell_bars',
|
name: 'show_cell_bars',
|
||||||
config: {
|
config: {
|
||||||
type: 'CheckboxControl',
|
type: 'CheckboxControl',
|
||||||
label: t('Show cell bars'),
|
label: t('Show cell bars for all columns'),
|
||||||
renderTrigger: true,
|
renderTrigger: true,
|
||||||
default: true,
|
default: true,
|
||||||
description: t(
|
description: t(
|
||||||
@@ -612,7 +612,7 @@ const config: ControlPanelConfig = {
|
|||||||
name: 'align_pn',
|
name: 'align_pn',
|
||||||
config: {
|
config: {
|
||||||
type: 'CheckboxControl',
|
type: 'CheckboxControl',
|
||||||
label: t('Align +/-'),
|
label: t('Align +/- for all columns'),
|
||||||
renderTrigger: true,
|
renderTrigger: true,
|
||||||
default: false,
|
default: false,
|
||||||
description: t(
|
description: t(
|
||||||
@@ -626,7 +626,7 @@ const config: ControlPanelConfig = {
|
|||||||
name: 'color_pn',
|
name: 'color_pn',
|
||||||
config: {
|
config: {
|
||||||
type: 'CheckboxControl',
|
type: 'CheckboxControl',
|
||||||
label: t('Add colors to cell bars for +/-'),
|
label: t('Add colors to cell bars for +/- for all columns'),
|
||||||
renderTrigger: true,
|
renderTrigger: true,
|
||||||
default: true,
|
default: true,
|
||||||
description: t(
|
description: t(
|
||||||
|
|||||||
@@ -552,6 +552,12 @@ const config: ControlPanelConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: t('Visual formatting'),
|
||||||
|
expanded: true,
|
||||||
|
controlSetRows: [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
name: 'column_config',
|
name: 'column_config',
|
||||||
@@ -648,18 +654,12 @@ const config: ControlPanelConfig = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: t('Visual formatting'),
|
|
||||||
expanded: true,
|
|
||||||
controlSetRows: [
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
name: 'show_cell_bars',
|
name: 'show_cell_bars',
|
||||||
config: {
|
config: {
|
||||||
type: 'CheckboxControl',
|
type: 'CheckboxControl',
|
||||||
label: t('Show cell bars'),
|
label: t('Show cell bars for all columns'),
|
||||||
renderTrigger: true,
|
renderTrigger: true,
|
||||||
default: true,
|
default: true,
|
||||||
description: t(
|
description: t(
|
||||||
@@ -673,7 +673,7 @@ const config: ControlPanelConfig = {
|
|||||||
name: 'align_pn',
|
name: 'align_pn',
|
||||||
config: {
|
config: {
|
||||||
type: 'CheckboxControl',
|
type: 'CheckboxControl',
|
||||||
label: t('Align +/-'),
|
label: t('Align +/- for all columns'),
|
||||||
renderTrigger: true,
|
renderTrigger: true,
|
||||||
default: false,
|
default: false,
|
||||||
description: t(
|
description: t(
|
||||||
@@ -687,7 +687,7 @@ const config: ControlPanelConfig = {
|
|||||||
name: 'color_pn',
|
name: 'color_pn',
|
||||||
config: {
|
config: {
|
||||||
type: 'CheckboxControl',
|
type: 'CheckboxControl',
|
||||||
label: t('Add colors to cell bars for +/-'),
|
label: t('Add colors to cell bars for +/- for all columns'),
|
||||||
renderTrigger: true,
|
renderTrigger: true,
|
||||||
default: true,
|
default: true,
|
||||||
description: t(
|
description: t(
|
||||||
|
|||||||
Reference in New Issue
Block a user