@@ -10,11 +10,13 @@ import {
1010 USE_BACKEND_PARAMS_FOR_TABLES_KEY ,
1111 USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY ,
1212 QUERY_USE_MULTI_SCHEMA_KEY ,
13+ BINARY_DATA_IN_PLAIN_TEXT_DISPLAY ,
1314} from '../../utils/constants' ;
1415import { Lang , defaultLang } from '../../utils/i18n' ;
1516
1617import type { SettingProps } from './Setting' ;
1718import i18n from './i18n' ;
19+ import { ClusterModeGuard } from '../ClusterModeGuard' ;
1820
1921export interface SettingsSection {
2022 id : string ;
@@ -75,6 +77,16 @@ export const languageSetting: SettingProps = {
7577 } ,
7678} ;
7779
80+ export const binaryDataInPlainTextDisplay : SettingProps = {
81+ settingKey : BINARY_DATA_IN_PLAIN_TEXT_DISPLAY ,
82+ title : i18n ( 'settings.binaryDataInPlainTextDisplay.title' ) ,
83+ description : (
84+ < ClusterModeGuard mode = "multi" >
85+ { i18n ( 'settings.binaryDataInPlainTextDisplay.description' ) }
86+ </ ClusterModeGuard >
87+ ) ,
88+ } ;
89+
7890export const invertedDisksSetting : SettingProps = {
7991 settingKey : INVERTED_DISKS_KEY ,
8092 title : i18n ( 'settings.invertedDisks.title' ) ,
@@ -98,7 +110,7 @@ export const queryUseMultiSchemaSetting: SettingProps = {
98110export const appearanceSection : SettingsSection = {
99111 id : 'appearanceSection' ,
100112 title : i18n ( 'section.appearance' ) ,
101- settings : [ themeSetting , invertedDisksSetting ] ,
113+ settings : [ themeSetting , invertedDisksSetting , binaryDataInPlainTextDisplay ] ,
102114} ;
103115export const experimentsSection : SettingsSection = {
104116 id : 'experimentsSection' ,
0 commit comments