Skip to content

Commit

Permalink
Add disclaimer that this is an experimental service and should be use…
Browse files Browse the repository at this point in the history
…d with caution to the UI
  • Loading branch information
callumforrester committed Jul 19, 2024
1 parent f680bab commit e7d102f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { LogData } from "./schema/interfaces.ts";

import { buildSearchQuery, graylogSearch } from "./utils/api/search.ts";
import LogTable from "./components/LogTable.tsx";
import Disclaimer from "./components/Disclaimer.tsx";

function App() {
// Init states
Expand Down Expand Up @@ -41,6 +42,7 @@ function App() {

return (
<ThemeProvider theme={theme}>
<Disclaimer />
<h1>Athena Logpanel </h1>
<FilterMenu
level={logFilter}
Expand Down
11 changes: 11 additions & 0 deletions src/components/Disclaimer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import Alert from "@mui/material/Alert";

const Disclaimer = () => {
return (
<Alert severity="warning">
The Athena logpanel is a new, experimental service, use with caution
</Alert>
);
};

export default Disclaimer;

0 comments on commit e7d102f

Please sign in to comment.