Publish Claude Code Binaries / Stage and publish binaries (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-arm64 (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build linux-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build windows-amd64 (push) Canceled after 0s
Sync Tutti Agent Skills / sync (push) Canceled after 0s
Windows Agent Adapters / Test Windows agent adapters (push) Canceled after 0s
Windows Daemon Adapters / Test Windows daemon adapters (push) Canceled after 0s
Publish Tutti App Runtime / Publish runtime catalog (push) Canceled after 0s
39 lines
1.2 KiB
TypeScript
39 lines
1.2 KiB
TypeScript
const SKELETON_ROWS = [
|
|
{ id: "first", size: "long" },
|
|
{ id: "second", size: "medium" },
|
|
{ id: "third", size: "short" },
|
|
{ id: "fourth", size: "medium" },
|
|
{ id: "fifth", size: "long" }
|
|
] as const;
|
|
|
|
interface AgentConversationListSkeletonProps {
|
|
label: string;
|
|
}
|
|
|
|
export function AgentConversationListSkeleton({
|
|
label
|
|
}: AgentConversationListSkeletonProps): React.JSX.Element {
|
|
"use memo";
|
|
return (
|
|
<div
|
|
className="agent-gui-node__conversation-list-skeleton"
|
|
role="status"
|
|
aria-label={label}
|
|
data-testid="agent-gui-conversation-list-loading-skeleton"
|
|
>
|
|
{SKELETON_ROWS.map((row) => (
|
|
<div
|
|
key={row.id}
|
|
className="agent-gui-node__conversation-list-skeleton-row"
|
|
data-size={row.size}
|
|
aria-hidden="true"
|
|
>
|
|
<span className="agent-gui-node__conversation-list-skeleton-spine" />
|
|
<span className="agent-gui-node__conversation-list-skeleton-rib agent-gui-node__conversation-list-skeleton-rib-primary" />
|
|
<span className="agent-gui-node__conversation-list-skeleton-rib agent-gui-node__conversation-list-skeleton-rib-secondary" />
|
|
</div>
|
|
))}
|
|
</div>
|
|
);
|
|
}
|