refactor: config settings shown as badges with pencil-to-edit
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 56s
CI / docker (push) Successful in 47s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 36s

Settings (log level, engine level, payload capture, metrics) now
display as color-coded badges by default. Clicking the pencil icon
enters edit mode where badges become dropdowns. Save (checkmark)
persists changes and reverts to badge view; cancel discards changes.

Applied consistently on both the admin App Config page and the
AgentHealth config bar.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-26 13:12:56 +01:00
parent b1c2950b1e
commit 4b66d78cf4
4 changed files with 298 additions and 116 deletions

View File

@@ -94,6 +94,31 @@
cursor: pointer;
}
.configEditBtn {
background: transparent;
border: none;
color: var(--text-faint);
opacity: 0.75;
cursor: pointer;
font-size: 14px;
padding: 4px 6px;
border-radius: var(--radius-sm);
line-height: 1;
display: inline-flex;
align-self: flex-end;
margin-left: auto;
}
.configEditBtn:hover {
color: var(--text-primary);
opacity: 1;
}
.configEditBtn:disabled {
opacity: 0.3;
cursor: not-allowed;
}
/* Section header */
.sectionTitle {
font-size: 13px;