UI Audit: 487 inline styles on Jobs screen — extract to CSS #148
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed in
342b56a.screens-jobs.jsxinlinestyle={{...}}count: 19 → 1. The remaining one is the dynamicwidth: job.progress + '%'on the progress bar, which has to be inline.Since the rendered DOM count was 487 because of per-row repetition (~54 rows × 9 inline styles), the actual rendered inline-style budget on the Jobs screen now drops to roughly the bar widths only.
New CSS utilities live in
styles-screens.css:.job-row-kind,.job-row-kind-icon,.job-row-kind-name.job-row-asset,.job-row-node,.job-row-time,.job-row-actions.job-row-status-done,.job-row-status-queued,.job-row-status-failed,.job-row-status-failed-msg.job-row-progress-pct,.job-row-cancel.stat-card .delta.delta-warn,.stat-card .delta.delta-tiny.jobs-tabs,.jobs-panel,.jobs-emptyOther screens (Containers, Settings, Cluster, Tokens, Recorders) still have many inline styles. Cross-cutting cleanup deferred — Jobs was the worst offender by an order of magnitude.