feat: display hook ID in activity log

Add hook ID to each activity log entry for easier identification of which
hook was triggered. Styled with monospace font and link color.
This commit is contained in:
Toray Altas 2026-01-17 11:48:03 -05:00
parent 5f1237f212
commit fe8f6ce718

View file

@ -639,7 +639,11 @@ const ActivityLogItem: React.FC<ActivityLogItemProps> = ({ record }) => {
{status.icon}
{status.label}
</span>
<code className="text-xs font-mono text-vscode-textLink-foreground truncate">
<code className="text-xs font-mono text-vscode-textLink-foreground truncate" title={record.hookId}>
{record.hookId}
</code>
<span className="text-vscode-descriptionForeground">·</span>
<code className="text-xs font-mono text-vscode-descriptionForeground truncate">
{record.event}
{record.toolName && ` (${record.toolName})`}
</code>