feat: Protokoll tab as a core-style list table
The change summary is the wide primary column (key "title", so it cannot
be hidden) with the tool's human label below and row actions "Revision
ansehen" / "Objekt öffnen". Objects get human names ("Seite: Kontakt",
"Menü: …", "Einstellungen: Titel der Website"; deleted/trashed marked),
primed per page with one query each for posts, menus and users. Times are
relative within 24 h. Non-ok results show a badge and a marked row instead
of an Ergebnis column. Page size and columns via Screen Options; the tool
filter shows labels grouped by integration, dates have visible labels,
and an active filter offers "Filter zurücksetzen" (also in the empty state).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01At3V6SjwbMe6eMzVGW3Hs7
This commit is contained in:
+53
-20
@@ -296,42 +296,75 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Tab "Protokoll". */
|
||||
.lit-mcp .wp-list-table .column-created_at {
|
||||
width: 10em;
|
||||
/* Tab "Protokoll": a core-style list table; the change is the wide primary column. */
|
||||
.lit-mcp .lit_mcp_log_entries .column-object {
|
||||
width: 24%;
|
||||
}
|
||||
|
||||
.lit-mcp .wp-list-table .column-user,
|
||||
.lit-mcp .wp-list-table .column-client {
|
||||
width: 8em;
|
||||
.lit-mcp .lit_mcp_log_entries .column-user {
|
||||
width: 12em;
|
||||
}
|
||||
|
||||
.lit-mcp .wp-list-table .column-ability,
|
||||
.lit-mcp .wp-list-table .column-object {
|
||||
.lit-mcp .lit_mcp_log_entries .column-created_at {
|
||||
width: 11em;
|
||||
}
|
||||
|
||||
.lit-mcp .wp-list-table .column-revision,
|
||||
.lit-mcp .wp-list-table .column-result {
|
||||
width: 8em;
|
||||
.lit-mcp .lit_mcp_log_entries .column-object,
|
||||
.lit-mcp .lit_mcp_log_entries .column-user .lit-mcp-muted {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.lit-mcp .wp-list-table .lit-mcp-partial {
|
||||
.lit-mcp-summary {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
/* Non-ok results: a notice-coloured badge and a marked row (like core's unapproved comments);
|
||||
#the-list beats core's "no shadow on the last row". */
|
||||
.lit-mcp-badge {
|
||||
display: inline-block;
|
||||
padding: 0 6px;
|
||||
border-radius: 2px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.lit-mcp-badge-warning {
|
||||
background: #fcf9e8;
|
||||
color: #614a19;
|
||||
box-shadow: inset 0 0 0 1px #dba617;
|
||||
}
|
||||
|
||||
.lit-mcp-result .dashicons {
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
vertical-align: text-bottom;
|
||||
.lit-mcp-badge-error {
|
||||
background: #fcf0f1;
|
||||
color: #8a2424;
|
||||
box-shadow: inset 0 0 0 1px #d63638;
|
||||
}
|
||||
|
||||
.lit-mcp .tablenav .actions select,
|
||||
.lit-mcp .tablenav .actions input[type="date"] {
|
||||
.lit-mcp #the-list tr.lit-mcp-row-warning > :first-child {
|
||||
box-shadow: inset 4px 0 0 #dba617;
|
||||
}
|
||||
|
||||
.lit-mcp #the-list tr.lit-mcp-row-error > :first-child {
|
||||
box-shadow: inset 4px 0 0 #d63638;
|
||||
}
|
||||
|
||||
.lit-mcp .tablenav .actions select {
|
||||
max-width: 14rem;
|
||||
}
|
||||
|
||||
.lit-mcp-date {
|
||||
float: left;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
margin-right: 6px;
|
||||
max-width: 12.5rem;
|
||||
}
|
||||
|
||||
.lit-mcp .tablenav .lit-mcp-reset {
|
||||
display: inline-block;
|
||||
line-height: 2.30769231;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
/* Tab "Limits". */
|
||||
|
||||
Reference in New Issue
Block a user