Skip to content

Commit b09345e

Browse files
fix: move inverted disk space setting to general page (#589)
1 parent c2f0d74 commit b09345e

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/containers/UserSettings/i18n/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"page.general": "General",
3-
"section.general": "General",
3+
"section.appearance": "Appearance",
44

55
"page.experiments": "Experiments",
66
"section.experiments": "Experiments",

src/containers/UserSettings/i18n/ru.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"page.general": "Общие",
3-
"section.general": "Общие",
3+
"section.appearance": "Внешний вид",
44

55
"page.experiments": "Эксперименты",
66
"section.experiments": "Эксперименты",

src/containers/UserSettings/settings.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,15 @@ export const enableNewTenantDiagnosticsDesign: SettingProps = {
101101
helpPopoverContent: i18n('settings.tenantDiagnostics.popover'),
102102
};
103103

104-
export const generalSection: SettingsSection = {
105-
id: 'generalSection',
106-
title: i18n('section.general'),
107-
settings: [themeSetting],
104+
export const appearanceSection: SettingsSection = {
105+
id: 'appearanceSection',
106+
title: i18n('section.appearance'),
107+
settings: [themeSetting, invertedDisksSetting],
108108
};
109109
export const experimentsSection: SettingsSection = {
110110
id: 'experimentsSection',
111111
title: i18n('section.experiments'),
112112
settings: [
113-
invertedDisksSetting,
114113
useNodesEndpointSetting,
115114
useBackendParamsForTables,
116115
enableQueryModesForExplainSetting,
@@ -122,7 +121,7 @@ export const generalPage: SettingsPage = {
122121
id: 'generalPage',
123122
title: i18n('page.general'),
124123
icon: {data: favoriteFilledIcon, height: 14, width: 14},
125-
sections: [generalSection],
124+
sections: [appearanceSection],
126125
};
127126
export const experimentsPage: SettingsPage = {
128127
id: 'experimentsPage',

0 commit comments

Comments
 (0)