feat: Comment edit/delete, auto-link URLs, markdown tables, mobile fixes

- Add comment edit/delete functionality (owner or admin can modify)
- Add edit/delete buttons to comments in TicketView
- Create update_comment.php and delete_comment.php API endpoints
- Add updateComment() and deleteComment() methods to CommentModel
- Show "(edited)" indicator on modified comments
- Add migration script for updated_at column

- Auto-link URLs in plain text comments (non-markdown)
- Add markdown table support with proper HTML rendering
- Preserve code blocks during markdown parsing

- Fix mobile UI elements showing on desktop (add display:none defaults)
- Add mobile styles for CreateTicketView form elements
- Stack status-priority-row on mobile devices

- Update cache busters to v20260124e
- Update Claude.md and README.md documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-24 16:59:29 -05:00
parent 7ecb593c0f
commit 98db586bcf
14 changed files with 977 additions and 20 deletions

View File

@@ -3850,6 +3850,52 @@ table td:nth-child(4) {
}
}
/* ===== MOBILE-ONLY ELEMENTS - Hidden on Desktop ===== */
.mobile-filter-toggle,
.mobile-bottom-nav,
.mobile-sidebar-close,
.mobile-sidebar-overlay {
display: none !important;
}
/* ===== MARKDOWN TABLE STYLES ===== */
.markdown-table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
font-family: var(--font-mono);
font-size: 0.9rem;
}
.markdown-table th,
.markdown-table td {
border: 1px solid var(--terminal-green);
padding: 0.5rem 0.75rem;
text-align: left;
}
.markdown-table th {
background: rgba(0, 255, 65, 0.1);
color: var(--terminal-green);
font-weight: bold;
}
.markdown-table tr:hover td {
background: rgba(0, 255, 65, 0.05);
}
/* Auto-linked URLs styling */
.auto-link {
color: var(--terminal-cyan);
text-decoration: none;
word-break: break-all;
}
.auto-link:hover {
color: var(--terminal-amber);
text-decoration: underline;
}
/* ===== MOBILE STYLES - PHONES (max 768px) ===== */
@media (max-width: 768px) {
/* ===== BASE RESETS ===== */