feat: Implement dramatic ANSI art terminal redesign - Phase 1-3

This commit implements the complete HTML restructuring with nested ASCII box-drawing architecture, providing heavy decorations, elaborate framing, and visual hierarchy through box-drawing characters (╔╗╚╝ ═══ ├┤ ┌┐└┘).

## Phase 1: CSS Foundation
- Added comprehensive nested ASCII frame system to dashboard.css
- Created .ascii-frame-outer class with heavy double borders (╔╗╚╝)
- Created .ascii-frame-inner class with single borders (┌┐)
- Added .ascii-section-header with ╠═══ decoration
- Added .ascii-subsection-header with ├─── decoration
- Added .ascii-divider with ╞═══╡ connectors
- Added .ascii-content wrapper class
- Implemented priority-based color variants (P1-P5) for all frames

## Phase 2: Dashboard Restructuring
- Wrapped entire dashboard in nested ASCII frames (ascii-frame-outer)
- Created 5 major vertical sections with elaborate headers:
  * Dashboard Control Center (header + new ticket button)
  * Search & Filter (search form + results)
  * Table Controls (count + pagination + settings)
  * Bulk Operations (admin-only, conditional)
  * Ticket List (main table)
- Added ASCII dividers (╞═══╡) between all sections
- Nested each section in ascii-content > ascii-frame-inner
- Added ╚╝ bottom corner characters as separate elements
- Maintained all existing functionality (search, sort, filter, bulk ops)

## Phase 3: Ticket View Restructuring
- Wrapped ticket-container in nested ASCII frames
- Created 3 major vertical sections:
  * Ticket Information (header + metadata)
  * Content Sections (tab navigation)
  * Content Display (tab content area)
- Added subsection headers (├───) for Description, Comments, Activity
- Nested comment form and comment list in separate sub-frames
- Added ASCII dividers between sections
- Updated ticket.css for nested frame compatibility:
  * Removed border from .comments-section (frame handles it)
  * Added corner decorations (┌┐) to individual comments
  * Fixed padding/margin conflicts with nested structure

## Visual Impact
- Every major section now has elaborate ASCII box frames
- Section headers display as: ╠═══ SECTION NAME ═══╣
- Dividers show as: ╞═══════════════════════════╡
- 3+ levels of nesting creates strong visual hierarchy
- Heavy decorations (╔╗╚╝) for outer containers
- Light decorations (┌┐└┘) for inner sections
- All priority colors preserved and applied to frames

## Technical Details
- 229 lines added to dashboard.css (frame system)
- DashboardView.php: Complete HTML restructuring (lines 104-316)
- TicketView.php: Complete HTML restructuring (lines 148-334)
- ticket.css: Added 34 lines of compatibility rules
- All existing JavaScript event handlers preserved
- All PHP backend logic unchanged
- Zero breaking changes to functionality

## Files Modified
- assets/css/dashboard.css: +229 lines (frame system + priority variants)
- assets/css/ticket.css: +34 lines (compatibility rules)
- views/DashboardView.php: Restructured with nested frames
- views/TicketView.php: Restructured with nested frames

## Next Steps
- Phase 4: Restructure CreateTicketView.php
- Phase 5: Update hamburger menu & modals JavaScript
- Phase 6: Add responsive design breakpoints

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-07 10:34:56 -05:00
parent 8aa5c39ed8
commit aff2b92bea
4 changed files with 560 additions and 227 deletions

View File

@@ -127,27 +127,16 @@
font-family: var(--font-mono);
}
/* ASCII corner decorations */
.ticket-container::before {
content: '╔';
position: absolute;
top: -3px;
left: -3px;
font-size: 1.5rem;
color: var(--terminal-green);
line-height: 1;
z-index: 10;
/* Compatibility with ascii-frame-outer - remove duplicate corners */
.ticket-container.ascii-frame-outer {
padding: 0;
}
.ticket-container::after {
content: '╗';
position: absolute;
top: -3px;
right: -3px;
font-size: 1.5rem;
color: var(--terminal-green);
line-height: 1;
z-index: 10;
/* Remove old corner styles when using ascii-frame-outer (new frame system handles this) */
.ticket-container.ascii-frame-outer::before,
.ticket-container.ascii-frame-outer::after {
content: '╔' !important;
content: '╗' !important;
}
/* Priority-based border colors */
@@ -403,6 +392,13 @@ textarea.editable {
border-radius: 0;
}
/* Nested frame compatibility - remove border since ascii-frame-inner handles it */
.ascii-frame-inner .comments-section {
border: none;
padding: 0;
margin-top: 0;
}
.comments-section h2 {
font-family: var(--font-mono);
color: var(--terminal-amber);
@@ -442,13 +438,34 @@ textarea.editable {
.comment {
background: var(--bg-primary);
padding: 15px;
border: 2px solid var(--terminal-green);
border: 1px solid var(--terminal-green);
border-radius: 0;
margin-bottom: 15px;
margin-bottom: 1rem;
position: relative;
box-shadow: none;
}
/* Add corner decorations to individual comments */
.comment::before {
content: '┌─';
position: absolute;
top: -1px;
left: -1px;
color: var(--terminal-green);
font-size: 1rem;
line-height: 1;
}
.comment::after {
content: '┐';
position: absolute;
top: -1px;
right: -1px;
color: var(--terminal-green);
font-size: 1rem;
line-height: 1;
}
.comment-header {
display: flex;
justify-content: space-between;