fix: deep audit — wire TDS v1.2 components, fix kanban/tabs/bulk/avatar
- ticket.js: fix showTab() early return preventing attachments/deps from loading - ticket.js: fix performStatusChange() overwriting lt-status-* classes - dashboard.js: fix updateSelectionCount() using is-visible instead of style.display - dashboard.js: fix populateKanbanCards() to use #kanban-col-* IDs (TDS v1.2) - dashboard.js: fix setViewMode() removing references to old non-TDS elements - dashboard.js: remove mobile-bottom-nav injection (no CSS existed for it) - dashboard.css: add full lt-kanban-card component styles with priority accents - dashboard.css: add mobile sidebar overlay, filter toggle, ticket preview popup CSS - DashboardView.php: replace priority badges with lt-chip component - TicketView.php: add lt-avatar with initials to comment author display - ApiKeysView.php: enhance API usage section with lt-code-block component + curl example Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+105
-3
@@ -204,6 +204,108 @@ kbd {
|
||||
/* ── lt-msg variants ─────────────────────────────────────────── */
|
||||
.lt-mb-md { margin-bottom: 1rem; }
|
||||
|
||||
/* ── Kanban cards ────────────────────────────────────────────── */
|
||||
.lt-kanban-card {
|
||||
padding: 0.6rem 0.75rem;
|
||||
border: 1px solid rgba(0, 255, 65, 0.2);
|
||||
margin-bottom: 0.4rem;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s ease, background 0.15s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
.lt-kanban-card:hover,
|
||||
.lt-kanban-card:focus-visible {
|
||||
border-color: var(--lt-text-primary, #00ff41);
|
||||
background: rgba(0, 255, 65, 0.04);
|
||||
outline: none;
|
||||
}
|
||||
.lt-kanban-card--p1 { border-left: 2px solid var(--lt-danger, #ff4d4d); }
|
||||
.lt-kanban-card--p2 { border-left: 2px solid var(--lt-amber, #ffb000); }
|
||||
.lt-kanban-card--p3 { border-left: 2px solid var(--lt-cyan, #00ffff); }
|
||||
.lt-kanban-card--p4 { border-left: 2px solid rgba(0, 255, 65, 0.4); }
|
||||
.lt-kanban-card--p5 { border-left: 2px solid rgba(0, 255, 65, 0.2); }
|
||||
|
||||
.lt-kanban-card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.lt-kanban-card-title {
|
||||
font-size: 0.78rem;
|
||||
line-height: 1.35;
|
||||
font-weight: 600;
|
||||
word-break: break-word;
|
||||
}
|
||||
.lt-kanban-card-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
.lt-kanban-assignee {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid rgba(0, 255, 65, 0.35);
|
||||
font-size: 0.6rem;
|
||||
font-weight: 700;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* ── Mobile sidebar overlay ──────────────────────────────────── */
|
||||
.mobile-sidebar-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
z-index: 199;
|
||||
}
|
||||
.mobile-sidebar-overlay.active { display: block; }
|
||||
|
||||
/* ── Mobile filter toggle button ─────────────────────────────── */
|
||||
.mobile-filter-toggle {
|
||||
display: none;
|
||||
width: 100%;
|
||||
padding: 0.5rem 0.75rem;
|
||||
margin-bottom: 0.5rem;
|
||||
background: transparent;
|
||||
border: 1px solid rgba(0, 255, 65, 0.3);
|
||||
color: var(--lt-text-primary, #00ff41);
|
||||
font-family: inherit;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.05em;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* ── Ticket preview popup ────────────────────────────────────── */
|
||||
.ticket-preview-popup {
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
background: var(--lt-surface, #0a0e14);
|
||||
border: 1px solid rgba(0, 255, 65, 0.4);
|
||||
padding: 0.75rem;
|
||||
min-width: 280px;
|
||||
max-width: 360px;
|
||||
font-size: 0.75rem;
|
||||
pointer-events: auto;
|
||||
box-shadow: 0 4px 20px rgba(0,0,0,0.5);
|
||||
}
|
||||
.ticket-preview-popup .preview-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
.ticket-preview-popup .preview-id { color: var(--lt-cyan, #00ffff); font-weight: 700; }
|
||||
.ticket-preview-popup .preview-title { font-weight: 600; margin-bottom: 0.4rem; }
|
||||
.ticket-preview-popup .preview-meta { opacity: 0.7; display: flex; flex-direction: column; gap: 0.1rem; }
|
||||
.ticket-preview-popup .preview-footer { margin-top: 0.4rem; opacity: 0.5; font-size: 0.65rem; }
|
||||
|
||||
/* ── Responsive ──────────────────────────────────────────────── */
|
||||
@media (max-width: 768px) {
|
||||
.lt-page-header {
|
||||
@@ -214,10 +316,10 @@ kbd {
|
||||
.lt-stats-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.mobile-filter-toggle { display: block; }
|
||||
.lt-sidebar.mobile-open { transform: translateX(0); }
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.lt-stats-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.lt-stats-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user