@@ -901,6 +1133,7 @@ function renderCardDetailsPanel(props: WorkboardProps) {
`
: nothing}
+ ${renderDependencyDetailList(dependencies)}
${renderDetailList(t("workboard.fieldLabels"), card.labels)}
${renderDetailList(
t("workboard.badgeAttempts", { count: String(attempts.length) }),
@@ -1089,11 +1322,13 @@ function renderCard(props: WorkboardProps, card: WorkboardCard) {
const linkedSessionKey = card.sessionKey ?? card.execution?.sessionKey;
const writable = canMutate(props);
const showStartControls = writable && cardCanStart(state, props.sessions, card);
+ const archived = Boolean(card.metadata?.archivedAt);
+ const dependencies = getWorkboardDependencyState(card, state.cards);
return html`
-
${card.priority}
- ${live ? html`
${t("workboard.live")}` : nothing}
- ${syncing ? html`
${t("common.saving")}` : nothing}
+
+ ${card.priority}
+ ${renderAgentChip(props, card)}
+ ${archived
+ ? html`${t("workboard.archived")}`
+ : nothing}
+ ${live ? html`${t("workboard.live")}` : nothing}
+ ${syncing ? html`${t("common.saving")}` : nothing}
+
+
+ ${showStartControls
+ ? renderStartExecutionButton(props, card, null, "autonomous", { iconOnly: true })
+ : nothing}
+ ${writable && !archived
+ ? html`
+
+ `
+ : nothing}
+ ${writable
+ ? html`
+
+ `
+ : nothing}
+
${card.title}
${card.notes ? html`${card.notes}
` : nothing}
- ${renderLifecycle(card, props.sessions, task)}
+ ${renderLifecycle(card, props.sessions, task)} ${renderDependencyBadges(dependencies)}
${card.labels.length
? html`
${card.labels.map((label) => html`
${label}`)}
@@ -1142,9 +1425,7 @@ function renderCard(props: WorkboardProps, card: WorkboardCard) {
: nothing}
${renderCompactBadges(card, task)}
- ${card.agentId
- ? html`${card.agentId}`
- : html`${t("workboard.defaultAgent")}`}
+ ${linkedSessionKey ?? t("workboard.noLinkedSession")}
${formatTime(card.updatedAt)}
${renderEvents(card)}
@@ -1159,20 +1440,6 @@ function renderCard(props: WorkboardProps, card: WorkboardCard) {
>
${icons.panelRightOpen}
- ${writable
- ? html`
-
- `
- : nothing}
${linkedSessionKey
? html`
loadWorkboard({
@@ -1388,6 +1704,8 @@ export function renderWorkboard(props: WorkboardProps) {
? html`
dispatchWorkboard({
@@ -1404,6 +1722,8 @@ export function renderWorkboard(props: WorkboardProps) {
? html`
{
openCreateModal(state);
props.onRequestUpdate?.();
@@ -1417,7 +1737,7 @@ export function renderWorkboard(props: WorkboardProps) {
${state.error ? html`${state.error}
` : nothing}
${renderDispatchSummary(state)} ${renderCardModal(props)} ${renderCardDetailsPanel(props)}
-
+
${state.statuses.map((status) => renderColumn(props, status, byStatus.get(status) ?? []))}