diff --git a/src/components/BuildLogLink/BuildLogLink.tsx b/src/components/BuildLogLink/BuildLogLink.tsx
index 72b6a887..fd81d22f 100644
--- a/src/components/BuildLogLink/BuildLogLink.tsx
+++ b/src/components/BuildLogLink/BuildLogLink.tsx
@@ -1,12 +1,28 @@
+import { Button } from '@patternfly/react-core';
+import { ExternalLinkAltIcon } from '@patternfly/react-icons';
+
+import { TooltipWrapper } from 'components/TooltipWrapper/TooltipWrapper';
+
import * as webConfigService from 'services/webConfigService';
interface IBuildLogLinkProps {
buildId: string;
+ isIconVariant?: boolean;
title?: string;
}
-export const BuildLogLink = ({ buildId, title = 'view' }: IBuildLogLinkProps) => (
-
- {title}
-
-);
+export const BuildLogLink = ({ buildId, isIconVariant = false, title = 'View raw' }: IBuildLogLinkProps) => {
+ const buildLogUrl = `${webConfigService.getPncUrl()}/builds/${buildId}/logs/build`;
+
+ return isIconVariant ? (
+
+
+
+ ) : (
+
+ {title}
+
+ );
+};
diff --git a/src/components/BuildLogPage/BuildLogPage.tsx b/src/components/BuildLogPage/BuildLogPage.tsx
index a10f5113..b0814247 100644
--- a/src/components/BuildLogPage/BuildLogPage.tsx
+++ b/src/components/BuildLogPage/BuildLogPage.tsx
@@ -44,7 +44,7 @@ export const BuildLogPage = () => {
{ buildId, preventListening: !isBuilding }
);
- const logActions = [];
+ const logActions = [];
return (
<>
diff --git a/src/components/LogViewer/LogViewer.tsx b/src/components/LogViewer/LogViewer.tsx
index 79ed7040..e0a0043a 100644
--- a/src/components/LogViewer/LogViewer.tsx
+++ b/src/components/LogViewer/LogViewer.tsx
@@ -1,4 +1,4 @@
-import { Button, Switch, Toolbar, ToolbarContent, ToolbarItem } from '@patternfly/react-core';
+import { Button, Checkbox, Toolbar, ToolbarContent, ToolbarGroup, ToolbarItem } from '@patternfly/react-core';
import { LongArrowAltDownIcon, LongArrowAltUpIcon, OutlinedPlayCircleIcon } from '@patternfly/react-icons';
import { LogViewer as LogViewerPF } from '@patternfly/react-log-viewer';
import { ReactNode, useEffect, useRef, useState } from 'react';
@@ -80,55 +80,72 @@ export const LogViewer = ({ isStatic = false, data, customActions }: ILogViewerP
const HeaderToolbar = () => (
-
-
-
-
-
-
-
- {!!customActions?.length && customActions.map((node, index) => {node})}
- {!isStatic && (
+
+
- {
+
+
+
+
+
+
+
+ {!isStatic && (
+ <>
+
+ {
+ setIsPaused(false);
+ storeIsFollowing(checked);
+ }}
+ />
+
+
+ >
+ )}
+
+ {
+ storeAreLinesWrapped(checked);
}}
/>
- )}
-
- {
- storeAreLinesWrapped(checked);
- }}
- />
-
+ {!!customActions?.length &&
+ customActions.map((node, index) => (
+ <>
+
+
+ {node}
+
+ >
+ ))}
+
);