{
+ state.draggedCardId = card.id;
+ event.dataTransfer?.setData("text/plain", card.id);
+ event.dataTransfer?.setDragImage(event.currentTarget as Element, 16, 16);
+ props.onRequestUpdate?.();
+ }}
+ @dragend=${() => {
+ state.draggedCardId = null;
+ props.onRequestUpdate?.();
+ }}
+ >
+
+ ${card.priority}
+ ${live ? html`live` : nothing}
+
+ ${card.title}
+ ${card.notes ? html`${card.notes}
` : nothing}
+ ${card.labels.length
+ ? html`
+ ${card.labels.map((label) => html`${label}`)}
+
`
+ : nothing}
+
+ ${card.agentId ? html`${card.agentId}` : html`default agent`}
+ ${formatTime(card.updatedAt)}
+
+
+ ${card.sessionKey
+ ? html`
+
+ `
+ : html`
+
+ `}
+
+
+
+ `;
+}
+
+function renderColumn(props: WorkboardProps, status: WorkboardStatus, cards: WorkboardCard[]) {
+ const state = getWorkboardState(props.host);
+ return html`
+