Skip to content
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

[v17] Web: minor UI styling issues #48547

Merged
merged 3 commits into from
Nov 7, 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
18 changes: 2 additions & 16 deletions web/packages/teleport/src/Integrations/Enroll/IntegrationTiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ import {
} from 'teleport/components/ToolTipNoPermBadge';
import { IntegrationKind } from 'teleport/services/integrations';

import { ToolTipBadge } from 'teleport/components/ToolTipBadge';

import { IntegrationTile } from './common';

export function IntegrationTiles({
Expand All @@ -38,7 +36,8 @@ export function IntegrationTiles({
hasIntegrationAccess?: boolean;
hasExternalAuditStorage?: boolean;
}) {
const externalAuditStorageEnabled = cfg.externalAuditStorage;
const externalAuditStorageEnabled =
cfg.entitlements.ExternalAuditStorage.enabled;
const isOnpremEnterprise = cfg.isEnterprise && !cfg.isCloud;

return (
Expand Down Expand Up @@ -126,17 +125,4 @@ function renderExternalAuditStorageBadge(
/>
);
}

return (
<ToolTipBadge
badgeTitle="New"
children={
<div>
Connect your own AWS account to store Audit logs and Session
recordings using Athena and S3.
</div>
}
color="success.main"
/>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@

import styled from 'styled-components';

import { Alert, Box, Flex, Link, Text, Indicator } from 'design';
import { Alert, Box, Flex, Link, Indicator } from 'design';
import { space, SpaceProps, width } from 'design/system';
import { Info as InfoIcon } from 'design/Icon';

import {
ShowResources,
Expand Down Expand Up @@ -172,21 +171,18 @@ function Inner(props: { rootCluster: Cluster }) {
</StyledMain>
{isRequestingResourcesFromResourcesViewEnabled && (
<Alert kind="outline-info" mb={2}>
<InfoIcon color="info" pr={2} />
<Text>
To request access to a resource, go to the{' '}
{/*TODO: Improve ButtonLink to look more like a text, then use it instead of the Link. */}
<Link
css={`
cursor: pointer;
color: inherit !important;
`}
onClick={openClusterDocument}
>
resources view
</Link>{' '}
or find it in the search bar.
</Text>
To request access to a resource, go to the{' '}
{/*TODO: Improve ButtonLink to look more like a text, then use it instead of the Link. */}
<Link
css={`
cursor: pointer;
color: inherit !important;
`}
onClick={openClusterDocument}
>
resources view
</Link>{' '}
or find it in the search bar.
</Alert>
)}
</Layout>
Expand Down
Loading