Remove workflow status and applied badges from prompt list rows
Hop-State: A_06FN8B5GK9Y3VWERRMHH2TG Hop-Proposal: R_06FN8B3NXSJ3E1VPF5D6HGR Hop-Task: T_06FN8AQZVAWJTS4TD5JA6M8 Hop-Attempt: AT_06FN8AQZVBA6RDJ1184ZC20
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"id": "P_06FN8AQZVB59FQG1QXH1Y18",
|
||||||
|
"task_id": "T_06FN8AQZVAWJTS4TD5JA6M8",
|
||||||
|
"attempt_id": "AT_06FN8AQZVBA6RDJ1184ZC20",
|
||||||
|
"state_id": "P_06FN8AQZVB59FQG1QXH1Y18",
|
||||||
|
"prompt": "can we just get rid of the status in the ui. i dont think its really needed",
|
||||||
|
"agent_name": "codex",
|
||||||
|
"status": "proposed",
|
||||||
|
"response_summary": "Remove workflow status and applied badges from prompt list rows",
|
||||||
|
"created_at": "2026-07-12T02:32:11.994085Z",
|
||||||
|
"metadata": {
|
||||||
|
"source_tree": "dffc747dce1df9e8e16287143feab5958d727e79",
|
||||||
|
"git_commit": "3dbebbbf1c2b01b69baf771b3171bdc89f08a716",
|
||||||
|
"attempt_head": "C_06FN8B1JFYZZPRWR50BKB3G",
|
||||||
|
"attempt_head_kind": "checkpoint"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -114,50 +114,6 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hop-prompt__status {
|
|
||||||
align-items: center;
|
|
||||||
color: var(--color-text-light-2);
|
|
||||||
display: inline-flex;
|
|
||||||
gap: 0.4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hop-prompt__status-icon {
|
|
||||||
align-items: center;
|
|
||||||
background: var(--color-green);
|
|
||||||
border-radius: 50%;
|
|
||||||
color: var(--color-body);
|
|
||||||
display: inline-flex;
|
|
||||||
font-size: 0.65rem;
|
|
||||||
font-weight: 700;
|
|
||||||
height: 1rem;
|
|
||||||
justify-content: center;
|
|
||||||
line-height: 1;
|
|
||||||
width: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hop-prompt__status:not([data-status="completed"])::before {
|
|
||||||
background: var(--color-text-light-3);
|
|
||||||
border-radius: 50%;
|
|
||||||
content: "";
|
|
||||||
height: 0.45rem;
|
|
||||||
width: 0.45rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hop-prompt__status[data-status="failed"]::before { background: var(--color-red); }
|
|
||||||
.hop-prompt__status[data-status="cancelled"]::before { background: var(--color-orange); }
|
|
||||||
.hop-prompt__status[data-status="running"]::before { background: var(--color-primary); }
|
|
||||||
|
|
||||||
.hop-prompt__applied {
|
|
||||||
border: 1px solid var(--color-secondary-dark-2);
|
|
||||||
border-radius: var(--border-radius);
|
|
||||||
color: var(--color-text);
|
|
||||||
font-size: 0.72rem;
|
|
||||||
font-weight: 600;
|
|
||||||
line-height: 1.4;
|
|
||||||
margin: 0 0.55rem;
|
|
||||||
padding: 0.05rem 0.38rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hop-prompt__body {
|
.hop-prompt__body {
|
||||||
border-top: 1px solid var(--color-secondary);
|
border-top: 1px solid var(--color-secondary);
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|||||||
@@ -244,17 +244,6 @@
|
|||||||
const request = makeElement('div', 'hop-prompt__request', prompt.prompt);
|
const request = makeElement('div', 'hop-prompt__request', prompt.prompt);
|
||||||
request.title = prompt.prompt;
|
request.title = prompt.prompt;
|
||||||
const meta = makeElement('div', 'hop-prompt__meta');
|
const meta = makeElement('div', 'hop-prompt__meta');
|
||||||
const rawStatus = prompt.status || 'running';
|
|
||||||
const successful = rawStatus === 'completed' || rawStatus === 'accepted';
|
|
||||||
const status = makeElement('span', 'hop-prompt__status', successful ? 'Completed' : rawStatus);
|
|
||||||
status.dataset.status = successful ? 'completed' : rawStatus;
|
|
||||||
if (successful) status.prepend(makeElement('span', 'hop-prompt__status-icon', '✓'));
|
|
||||||
meta.append(status);
|
|
||||||
if (rawStatus === 'accepted') {
|
|
||||||
const applied = makeElement('span', 'hop-prompt__applied', 'Applied');
|
|
||||||
applied.title = 'This prompt\'s changes were accepted into the shared repository state';
|
|
||||||
meta.append(applied);
|
|
||||||
}
|
|
||||||
const agent = [prompt.agent_name, prompt.agent_model].filter(Boolean).join(' · ');
|
const agent = [prompt.agent_name, prompt.agent_model].filter(Boolean).join(' · ');
|
||||||
meta.append(document.createTextNode(agent || formatTime(prompt.created_at)));
|
meta.append(document.createTextNode(agent || formatTime(prompt.created_at)));
|
||||||
summary.append(request, meta);
|
summary.append(request, meta);
|
||||||
|
|||||||
Reference in New Issue
Block a user