Skip to content

Commit 3f44937

Browse files
Andrew Bakerclaude
andcommitted
feat: CS Monitor — infrastructure diagnostics, PDF export, version checks
- Disk space, OPcache, PHP limits, uploads writable checks with Explain steps - System load average + CPU count (xmlrpc brute force CPU correlation) - Maintenance mode loop, URL mismatch, rewrite rules, wp-config perms, debug.log checks - WordPress core + MySQL/MariaDB EOL version detection - PDF export: Summary + Issues with full remediation steps, timeline, site health - Issues tab Copy All button (plain text with Explain content) - PHP errors shown inline on Summary tab - ms precision fixed to 1dp throughout Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d5e1d89 commit 3f44937

File tree

4 files changed

+982
-10
lines changed

4 files changed

+982
-10
lines changed

assets/cs-perf-monitor.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,28 @@ td.c-n { color: #555; font-size: 10px; text-align: right; padding-right: 6px; }
845845
gap: 14px;
846846
}
847847

848+
/* ── Summary toolbar (PDF button) ──────────────────────────────────────── */
849+
.cs-sum-toolbar {
850+
display: flex;
851+
justify-content: flex-end;
852+
padding: 8px 12px 4px;
853+
}
854+
.cs-sum-pdf-btn {
855+
display: inline-flex;
856+
align-items: center;
857+
gap: 5px;
858+
background: #0e639c;
859+
border: none;
860+
color: #fff;
861+
font-size: 12px;
862+
font-weight: 600;
863+
padding: 6px 14px;
864+
border-radius: 4px;
865+
cursor: pointer;
866+
transition: background .15s;
867+
}
868+
.cs-sum-pdf-btn:hover { background: #1177bb; }
869+
848870
/* ── Stat cards row ─────────────────────────────────────────────────────── */
849871
.cs-sum-cards {
850872
display: grid;
@@ -1221,6 +1243,34 @@ td.c-n { color: #555; font-size: 10px; text-align: right; padding-right: 6px; }
12211243
/* ── Issues list ─────────────────────────────────────────────────────────── */
12221244
.cs-issues-wrap { padding: 0; }
12231245

1246+
.cs-issues-toolbar {
1247+
display: flex;
1248+
align-items: center;
1249+
justify-content: space-between;
1250+
padding: 7px 10px 6px;
1251+
border-bottom: 1px solid #2a2d2e;
1252+
background: #1e1e1e;
1253+
position: sticky;
1254+
top: 0;
1255+
z-index: 2;
1256+
}
1257+
.cs-issues-summary {
1258+
font-size: 11px;
1259+
color: #777;
1260+
}
1261+
.cs-issues-copy-btn {
1262+
font-size: 11px;
1263+
padding: 3px 9px;
1264+
border-radius: 3px;
1265+
border: 1px solid #3c3f41;
1266+
background: #2d2d30;
1267+
color: #ccc;
1268+
cursor: pointer;
1269+
line-height: 1.5;
1270+
transition: background .12s, color .12s;
1271+
}
1272+
.cs-issues-copy-btn:hover { background: #3a3d3e; color: #fff; }
1273+
12241274
.cs-issues-group { }
12251275
.cs-issues-group-title {
12261276
font-size: 10px;

0 commit comments

Comments
 (0)