add fullscreen prop (#18309)

Signed-off-by: Fluder-Paradyne <121793617+Fluder-Paradyne@users.noreply.github.com>
This commit is contained in:
A S Rakesh Krishna 2024-05-21 13:46:11 +05:30 committed by GitHub
parent 441367ff52
commit 43cb8003d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 0 deletions

View file

@ -69,6 +69,7 @@ Currently, the following organizations are **officially** using Argo CD:
1. [Codefresh](https://www.codefresh.io/)
1. [Codility](https://www.codility.com/)
1. [Commonbond](https://commonbond.co/)
1. [Contlo](https://contlo.com/)
1. [Coralogix](https://coralogix.com/)
1. [Crédit Agricole CIB](https://www.ca-cib.com)
1. [CROZ d.o.o.](https://croz.net/)

View file

@ -15,6 +15,7 @@ export const ApplicationFullscreenLogs = (props: RouteComponentProps<{name: stri
const group = q.get('group');
const kind = q.get('kind');
const title = `${podName || `${group}/${kind}/${name}`}:${props.match.params.container}`;
const fullscreen = true;
return (
<div className='application-fullscreen-logs'>
<Helmet title={`${title} - Argo CD`} />
@ -28,6 +29,7 @@ export const ApplicationFullscreenLogs = (props: RouteComponentProps<{name: stri
kind={kind}
name={name}
podName={podName}
fullscreen={fullscreen}
/>
</div>
);

View file

@ -39,6 +39,7 @@ export interface PodLogsProps {
timestamp?: string;
containerGroups?: any[];
onClickContainer?: (group: any, i: number, tab: string) => void;
fullscreen?: boolean;
}
// ansi colors, see https://en.wikipedia.org/wiki/ANSI_escape_code#Colors