feat: add optional description to request_apply_commit and request_spawn
This commit is contained in:
parent
a6d1464071
commit
4a8a668348
9 changed files with 97 additions and 30 deletions
|
|
@ -684,6 +684,9 @@
|
|||
'new sub-agent — container will be created on approve'),
|
||||
);
|
||||
}
|
||||
if (a.description) {
|
||||
li.append(el('div', { class: 'approval-description' }, a.description));
|
||||
}
|
||||
// Deny prompts the operator for an optional reason; the
|
||||
// submit handler stashes it into a hidden `note` input that
|
||||
// rides along on the POST and is surfaced to the manager via
|
||||
|
|
|
|||
|
|
@ -258,6 +258,7 @@ code {
|
|||
}
|
||||
.approvals .row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4em; }
|
||||
.approvals form.inline { display: inline; margin-left: 0.4em; }
|
||||
.approval-description { font-size: 0.85em; color: var(--fg-dim, #888); margin: 0.2em 0 0.4em 1.2em; }
|
||||
.approval-tabs {
|
||||
display: flex;
|
||||
gap: 0.4em;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue