Skip to content

Commit

Permalink
Merge pull request #94 from atlassian/main
Browse files Browse the repository at this point in the history
[pull] main from atlassian:main
  • Loading branch information
ammar-ahmed-butt authored Oct 28, 2023
2 parents fa6dd04 + fbe60c8 commit bf37b26
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spa/src/components/Error/KnownErrors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import Modal, {
import TextArea from "@atlaskit/textarea";
import Spinner from "@atlaskit/spinner";
import Button from "@atlaskit/button";
import WarningIcon from "@atlaskit/icon/glyph/warning";

const olStyle = css`
padding-left: 1.2em;
Expand All @@ -35,6 +36,11 @@ const linkStyle = css`
const textAreaStyle = css`
margin-top: 20px;
`;
const expireTextWrapperStyle = css`
display: flex;
align-items: center;
margin-top: ${token("space.100")};
`;

/************************************************************************
* UI view for the 3 known errors
Expand Down Expand Up @@ -137,6 +143,10 @@ export const ErrorForNonAdmins = ({ orgName, adminOrgsUrl, onPopupBlocked, defer
Find an organization owner
</a>
</div>
<div css={expireTextWrapperStyle}>
<WarningIcon label="warning" primaryColor={token("color.background.warning.bold")} />
<b>Note that the following link will expire after 2 days.</b>
</div>
<TextArea
onCopy={() => {
analyticsClient.sendUIEvent({ actionSubject: "copiedDeferredInstallationUrl", action: "clicked"}, { type: "cloud" });
Expand Down

0 comments on commit bf37b26

Please sign in to comment.