Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: minor adjustments

Sheen Capadnganb91194d2ac39
diff --git a/frontend/src/pages/pam/PamAccountAccessPage/AwsIamAccessContent.tsx b/frontend/src/pages/pam/PamAccountAccessPage/AwsIamAccessContent.tsx
index b86127cb99..019a87552f 100644
--- a/frontend/src/pages/pam/PamAccountAccessPage/AwsIamAccessContent.tsx
+++ b/frontend/src/pages/pam/PamAccountAccessPage/AwsIamAccessContent.tsx
@@ -144,7 +144,7 @@ export const AwsIamAccessContent = ({ account }: Props) => {
if (step === "reason" && (policy.requireReason || !hasRequestedRef.current)) {
return (
- <WebAccessStatusCard icon={ShieldAlert} title="Before You Continue">
+ <WebAccessStatusCard icon={ShieldAlert} title="Before you continue">
<div className="flex flex-col gap-3">
<div>
<Label className="mb-1 text-label">
diff --git a/frontend/src/pages/pam/PamAccountAccessPage/ReasonGate.tsx b/frontend/src/pages/pam/PamAccountAccessPage/ReasonGate.tsx
index e1147706d6..490fbd7846 100644
--- a/frontend/src/pages/pam/PamAccountAccessPage/ReasonGate.tsx
+++ b/frontend/src/pages/pam/PamAccountAccessPage/ReasonGate.tsx
@@ -209,7 +209,7 @@ export const SessionAccessGate = ({ account, children }: Props) => {
<div className="flex h-screen w-screen items-center justify-center bg-background p-4">
<Card className="w-full max-w-md">
<CardHeader>
- <CardTitle className="text-base">Before You Continue</CardTitle>
+ <CardTitle className="text-base">Before you continue</CardTitle>
<CardDescription>
{policy.requireReason
? "A reason is required for this session. It will be stored for audit purposes."
diff --git a/frontend/src/pages/pam/PamApprovalRequestsPage/PamApprovalRequestsPage.tsx b/frontend/src/pages/pam/PamApprovalRequestsPage/PamApprovalRequestsPage.tsx
index 6a5f89535a..9be728bf38 100644
--- a/frontend/src/pages/pam/PamApprovalRequestsPage/PamApprovalRequestsPage.tsx
+++ b/frontend/src/pages/pam/PamApprovalRequestsPage/PamApprovalRequestsPage.tsx
@@ -72,9 +72,6 @@ const RequestRow = ({
</div>
</TableCell>
<TableCell className="text-sm">{request.folderName ?? "-"}</TableCell>
- <TableCell className="max-w-[200px] truncate text-sm">
- {request.requestData?.requestData?.reason || "-"}
- </TableCell>
<TableCell className="text-sm">{formatDuration(duration)}</TableCell>
<TableCell className="text-sm">
{format(new Date(request.createdAt), "MMM d, yyyy h:mm a")}
@@ -132,7 +129,6 @@ const RequestTable = ({
<TableHead>Requester</TableHead>
<TableHead>Account</TableHead>
<TableHead>Folder</TableHead>
- <TableHead>Reason</TableHead>
<TableHead>Duration</TableHead>
<TableHead>Requested</TableHead>
<TableHead>Status</TableHead>
@@ -142,7 +138,7 @@ const RequestTable = ({
{isPending &&
Array.from({ length: 5 }).map((_, i) => (
<TableRow key={`skeleton-${i + 1}`}>
- {Array.from({ length: 7 }).map((__, j) => (
+ {Array.from({ length: 6 }).map((__, j) => (
<TableCell key={`cell-${j + 1}`}>
<Skeleton className="h-4 w-full" />
</TableCell>
diff --git a/frontend/src/pages/pam/components/AccountAccessibilityBadge.tsx b/frontend/src/pages/pam/components/AccountAccessibilityBadge.tsx
index 8cb61cfed0..f67387bd5b 100644
--- a/frontend/src/pages/pam/components/AccountAccessibilityBadge.tsx
+++ b/frontend/src/pages/pam/components/AccountAccessibilityBadge.tsx
@@ -8,7 +8,7 @@ const ISSUE_LABELS: Record<PamAccountAccessibilityIssue, string> = {
[PamAccountAccessibilityIssue.NoRecordingConfig]: "No recording bucket is configured",
[PamAccountAccessibilityIssue.NoCredential]: "No password is set",
[PamAccountAccessibilityIssue.NoApprovalConfig]:
- "This account requires approval, but its folder has no approvers yet. Ask a folder admin to add approvers under the folder's Approvals tab."
+ "No approvers are configured for its folder. Ask a folder admin to add approvers under the folder's Approvals tab."
};
type Props = {
@@ -32,7 +32,7 @@ export const AccountAccessibilityBadge = ({ issues }: Props) => {
Unavailable
</Badge>
</TooltipTrigger>
- <TooltipContent>
+ <TooltipContent className="max-w-xs">
{issues.length === 1 ? (
<p>This account can&apos;t be used yet: {formatSingleIssue(ISSUE_LABELS[issues[0]])}</p>
) : (