Skip to content

Commit

Permalink
Audit log and svg change
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford committed Aug 1, 2023
1 parent 91faa3d commit 4cea9ae
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ import {
EuiPanel,
EuiSpacer,
EuiTitle,
EuiDescriptionList,
EuiDescriptionListDescription,
EuiDescriptionListTitle

Check failure on line 28 in public/apps/configuration/panels/audit-logging/audit-logging-edit-settings.tsx

View workflow job for this annotation

GitHub Actions / Run unit tests (windows-latest)

Insert `,`

Check failure on line 28 in public/apps/configuration/panels/audit-logging/audit-logging-edit-settings.tsx

View workflow job for this annotation

GitHub Actions / Run unit tests (ubuntu-latest)

Insert `,`

Check failure on line 28 in public/apps/configuration/panels/audit-logging/audit-logging-edit-settings.tsx

View workflow job for this annotation

GitHub Actions / Run unit tests (macos-latest)

Insert `,`
} from '@elastic/eui';
import { Toast } from '@elastic/eui/src/components/toast/global_toast_list';
import { cloneDeep, set, without } from 'lodash';
import { AppDependencies } from '../../../types';
import { SETTING_GROUPS, SettingMapItem } from './constants';
import { SETTING_GROUPS, SettingGroup, SettingMapItem } from './constants';
import { EditSettingGroup } from './edit-setting-group';
import { AuditLoggingSettings } from './types';
import { buildHashUrl, buildUrl } from '../../utils/url-builder';
Expand Down Expand Up @@ -229,6 +232,24 @@ export function AuditLoggingEditSettings(props: AuditLoggingEditSettingProps) {
);
};

const renderSettingGroup = (settingGroup: SettingGroup) => {
return (
<EuiPanel>
<EuiTitle size="s">
<h3>{settingGroup.title}</h3>
</EuiTitle>
<EuiDescriptionList textStyle="reverse">
{settingGroup.settings.map((setting) => (
<React.Fragment key={setting.title}>
<EuiDescriptionListTitle>{setting.title}</EuiDescriptionListTitle>
<EuiDescriptionListDescription>{setting.description}</EuiDescriptionListDescription>
</React.Fragment>
))}
</EuiDescriptionList>
</EuiPanel>
);
};

let content;

if (props.setting === 'general') {
Expand Down
79 changes: 1 addition & 78 deletions public/assets/get_started.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
"**/request.ts",
"src/**/*"
],
}
}

0 comments on commit 4cea9ae

Please sign in to comment.