-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
611 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,4 @@ data: | |
- intel-nuc | ||
- generic-amd64 | ||
- generic-aarch64 | ||
version: 3.0.4 | ||
version: 3.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 0 additions & 64 deletions
64
client/Pages/Admin/ModuleConfiguration/DatabaseAndLogs.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { Button, Container, Divider } from '@mantine/core' | ||
import { useViewportSize } from '@mantine/hooks' | ||
import { Prism } from '@mantine/prism' | ||
import React from 'react' | ||
import { useAppSelector } from '../../../apis/redux/mainStore' | ||
|
||
const Logs = () => { | ||
const { width } = useViewportSize() | ||
const logs = useAppSelector(state => state.logs.logs) | ||
return ( | ||
<Container size={width}> | ||
<Prism | ||
withLineNumbers | ||
language="json" | ||
copyLabel="Copy code to clipboard" | ||
copiedLabel="Code copied to clipboard" | ||
> | ||
{logs.map(logLine => JSON.stringify(JSON.parse(logLine), null, 2)).join('\n')} | ||
</Prism> | ||
</Container> | ||
) | ||
} | ||
export const DiagnosticsConfigurationPage = () => ( | ||
<> | ||
<a | ||
href={`http://${sessionStorage.getItem('paradiseServerAddress') || window.location.host}/error-logs`} | ||
target="_blank" | ||
> | ||
<Button variant="default" color="dark" size="md" mx="xs" my="xs"> | ||
Download Diagnostics Logs | ||
</Button> | ||
</a> | ||
<Divider my={'sm'} label="Live diagnostic logging" labelPosition="center" /> | ||
<Logs /> | ||
</> | ||
) |
Oops, something went wrong.