Skip to content
Snippets Groups Projects
Unverified Commit 8bfaae71 authored by Henrique Guimarães Ribeiro's avatar Henrique Guimarães Ribeiro Committed by GitHub
Browse files

refactor: Improve troubleshoot settings (#29231)

parent 83bb79e7
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ function BooleanSettingInput({
};
return (
<Field.Row>
<Field.Row marginBlockEnd='x8'>
<ToggleSwitch
data-qa-setting-id={_id}
id={_id}
......
......@@ -4,7 +4,7 @@ export const createTroubleshootSettings = () =>
settingsRegistry.addGroup('Troubleshoot', async function () {
await this.add('Troubleshoot_Disable_Notifications', false, {
type: 'boolean',
alert: 'Troubleshoot_Disable_Notifications_Alert',
i18nDescription: 'Troubleshoot_Disable_Notifications_Alert',
});
// this settings will let clients know in case presence has been disabled
......@@ -16,32 +16,32 @@ export const createTroubleshootSettings = () =>
await this.add('Troubleshoot_Disable_Presence_Broadcast', false, {
type: 'boolean',
alert: 'Troubleshoot_Disable_Presence_Broadcast_Alert',
i18nDescription: 'Troubleshoot_Disable_Presence_Broadcast_Alert',
enableQuery: { _id: 'Presence_broadcast_disabled', value: false },
});
await this.add('Troubleshoot_Disable_Instance_Broadcast', false, {
type: 'boolean',
alert: 'Troubleshoot_Disable_Instance_Broadcast_Alert',
i18nDescription: 'Troubleshoot_Disable_Instance_Broadcast_Alert',
});
await this.add('Troubleshoot_Disable_Sessions_Monitor', false, {
type: 'boolean',
alert: 'Troubleshoot_Disable_Sessions_Monitor_Alert',
i18nDescription: 'Troubleshoot_Disable_Sessions_Monitor_Alert',
});
await this.add('Troubleshoot_Disable_Livechat_Activity_Monitor', false, {
type: 'boolean',
alert: 'Troubleshoot_Disable_Livechat_Activity_Monitor_Alert',
i18nDescription: 'Troubleshoot_Disable_Livechat_Activity_Monitor_Alert',
});
await this.add('Troubleshoot_Disable_Statistics_Generator', false, {
type: 'boolean',
alert: 'Troubleshoot_Disable_Statistics_Generator_Alert',
i18nDescription: 'Troubleshoot_Disable_Statistics_Generator_Alert',
});
await this.add('Troubleshoot_Disable_Data_Exporter_Processor', false, {
type: 'boolean',
alert: 'Troubleshoot_Disable_Data_Exporter_Processor_Alert',
i18nDescription: 'Troubleshoot_Disable_Data_Exporter_Processor_Alert',
});
await this.add('Troubleshoot_Disable_Workspace_Sync', false, {
type: 'boolean',
alert: 'Troubleshoot_Disable_Workspace_Sync_Alert',
i18nDescription: 'Troubleshoot_Disable_Workspace_Sync_Alert',
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment