Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions apps/decodex/src/orchestrator/operator_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -5615,16 +5615,6 @@ <h2 id="recent-title">Run History</h2>
return facts.map(([label, value]) => renderRunMetaFact(label, value)).join("");
}

function runAuthor(run) {
return String(run?.author || run?.issue_author || "").trim();
}

function renderRunAuthorInline(run) {
const author = runAuthor(run);

return author ? renderRunMetaFact("author", author) : "";
}

function codexAccount(run) {
const selected = run?.account || run?.codex_account || null;
if (selected) {
Expand Down Expand Up @@ -6497,7 +6487,6 @@ <h2 id="recent-title">Run History</h2>

function renderRunMetaLine(run) {
const items = [
renderRunAuthorInline(run),
renderRunCodexAccountInline(run),
renderRunTelemetryMetaItems(run),
]
Expand Down Expand Up @@ -8605,7 +8594,6 @@ <h3 class="run-title">${escapeHtml(issueTitle)}</h3>
<summary>Debug Details</summary>
<div class="grid debug-grid">
${field("Run", run.run_id)}
${field("Author", runAuthor(run) || "none")}
${field("Attempt status", run.attempt_status || run.status)}
${field("Updated", formatTimestamp(run.updated_at))}
${field("Codex thread", runThreadSummary(run))}
Expand Down Expand Up @@ -9025,7 +9013,6 @@ <h4>${escapeHtml(worktree.branch_name)}</h4>
for (const key of [
"issue_identifier",
"title",
"author",
"account",
"accounts",
"codex_account",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@ fn operator_dashboard_renders_account_usage_controls() {

assert!(response.contains("function codexAccount(run)"));
assert!(response.contains("function codexAccounts(run)"));
assert!(response.contains("function renderRunAuthorInline(run)"));
assert!(!response.contains("function runAuthor(run)"));
assert!(!response.contains("function renderRunAuthorInline(run)"));
assert!(response.contains("function codexAccountDisplayName(account)"));
assert!(response.contains("function codexAccountTokenLabel(refreshStatus)"));
assert!(response.contains("function codexAccountWindowLabel(seconds)"));
Expand Down Expand Up @@ -1497,7 +1498,8 @@ fn operator_dashboard_run_activity_preserves_snapshot_detail_fields() {
assert!(response.contains("function snapshotWithLiveRunActivity(snapshot)"));
assert!(response.contains("\"issue_identifier\""));
assert!(response.contains("\"title\""));
assert!(response.contains("\"author\""));
assert!(!response.contains("field(\"Author\","));
assert!(!response.contains("\"author\",\n"));
assert!(response.contains("\"child_agent_activity\""));
assert!(response.contains("\"protocol_activity\""));
assert!(response.contains("!dashboardRunFieldHasValue(activityRun[key])"));
Expand Down