Skip to content

Bump ui to v0.32.11 #2156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion catalog/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ui:
name: # default use chart name + '-ui'
image:
#override:
tag: v0.32.10
tag: v0.32.11
repository: quay.io/redhat-gpte/babylon-catalog-ui
pullPolicy: IfNotPresent
replicaCount: 1
Expand Down
12 changes: 9 additions & 3 deletions catalog/ui/src/app/Admin/CatalogIncidentsAlertList.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import React, { useMemo } from 'react';
import { Label, Panel, PanelMain, Title } from '@patternfly/react-core';
import { Badge, Label, Panel, PanelMain, Title } from '@patternfly/react-core';
import useSWR from 'swr';
import { apiPaths, fetcher } from '@app/api';
import { CatalogItem, CatalogItemIncidents } from '@app/types';
import { Table /* data-codemods */, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
import TimeInterval from '@app/components/TimeInterval';
import { fetchCatalog } from '@app/Catalog/Catalog';
import useSWRImmutable from 'swr/immutable';
import useSession from '@app/utils/useSession';
import { BABYLON_DOMAIN, displayName, getStageFromK8sObject } from '@app/util';
import { getStatus } from '@app/Catalog/catalog-utils';
import { getStage, getStatus } from '@app/Catalog/catalog-utils';
import StatusPageIcons from '@app/components/StatusPageIcons';

import './admin.css';
Expand Down Expand Up @@ -72,6 +71,13 @@ const CatalogIncidentsAlertList: React.FC = () => {
<a href={`/admin/catalogitems/${ci.metadata.namespace}/${ci.metadata.name}`}>
{displayName(ci)}
</a>
{ getStage(ci) === 'dev' ? (
<Badge className="catalog-item-card__badge--dev">development</Badge>
) : getStage(ci) === 'test' ? (
<Badge className="catalog-item-card__badge--test">test</Badge>
) : getStage(ci) === 'event' ? (
<Badge className="catalog-item-card__badge--event">event</Badge>
) : null}
</Td>
<Td dataLabel="status">
<Label
Expand Down
2 changes: 1 addition & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ catalog:
image:
pullPolicy: IfNotPresent
repository: quay.io/redhat-gpte/babylon-catalog-ui
tag: v0.32.10
tag: v0.32.11
replicaCount: 1
resources:
requests:
Expand Down
Loading