Skip to content

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

improvement(agent-vault): show session created time and use the regular font for log times

Scott Wilsonba6419af6dc7
diff --git a/frontend/src/pages/agent-vault/AgentVaultSessionsPage/AgentVaultSessionsPage.tsx b/frontend/src/pages/agent-vault/AgentVaultSessionsPage/AgentVaultSessionsPage.tsx
index 0e9a0f3a1e..e17dfacbbc 100644
--- a/frontend/src/pages/agent-vault/AgentVaultSessionsPage/AgentVaultSessionsPage.tsx
+++ b/frontend/src/pages/agent-vault/AgentVaultSessionsPage/AgentVaultSessionsPage.tsx
@@ -452,17 +452,8 @@ export const AgentVaultSessionsPage = () => {
/>
</div>
</TableCell>
- <TableCell>
- <Tooltip>
- <TooltipTrigger asChild>
- <span className="text-sm">
- {format(new Date(session.createdAt), "MMM d, yyyy")}
- </span>
- </TooltipTrigger>
- <TooltipContent>
- {format(new Date(session.createdAt), "MMM d, yyyy h:mm a")}
- </TooltipContent>
- </Tooltip>
+ <TableCell className="whitespace-nowrap">
+ {format(new Date(session.createdAt), "MMM d, yyyy h:mm a")}
</TableCell>
<TableCell>
<SessionExpiry expiresAt={session.expiresAt} />
diff --git a/frontend/src/pages/agent-vault/AgentVaultSessionsPage/components/SessionLogRow.tsx b/frontend/src/pages/agent-vault/AgentVaultSessionsPage/components/SessionLogRow.tsx
index 2f9834769b..d3156937a5 100644
--- a/frontend/src/pages/agent-vault/AgentVaultSessionsPage/components/SessionLogRow.tsx
+++ b/frontend/src/pages/agent-vault/AgentVaultSessionsPage/components/SessionLogRow.tsx
@@ -151,7 +151,7 @@ export const SessionLogRow = ({
<TableCell>
<Tooltip>
<TooltipTrigger asChild>
- <span className="font-mono text-xs whitespace-nowrap">
+ <span className="whitespace-nowrap tabular-nums">
{format(new Date(record.ts), "MMM d, yyyy HH:mm:ss")}
</span>
</TooltipTrigger>