You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Major UI redesign: remove toolbar, merge into tab bar + right sidebar
Layout:
- Toolbar completely removed — maximum editor space
- Tab bar always visible with Open File, tabs, Search/Filter/Analyze icons
- Right sidebar (36px) with all view toggles and utilities:
Wrap, JSON, Columns, Split, DD, Annotations, Notes, Terminal,
Minimap, Settings, Help — all with SVG icons
Search:
- VS Code-style floating search panel (Ctrl+F) over editor top-right
- Contains search input, regex/wildcard/case/word toggles, nav, result count
- Direction and start-line options inline
- Esc closes panel
Fixes:
- Fixed null reference crash from removed btn-search-options element
that prevented subsequent event handlers from registering
- Terminal overlay no longer covers right sidebar
- Annotations button shows active state when toggled
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: src/renderer/index.html
+95-63Lines changed: 95 additions & 63 deletions
Original file line number
Diff line number
Diff line change
@@ -25,70 +25,32 @@
25
25
</div>
26
26
</div>
27
27
<!-- Toolbar -->
28
-
<divclass="toolbar">
29
-
<divclass="toolbar-left">
28
+
<!-- Tab Bar (always visible — replaces toolbar) -->
29
+
<divid="tab-bar" class="tab-bar">
30
+
<divclass="tab-bar-left">
30
31
<divclass="open-file-wrapper">
31
-
<buttonid="btn-open-file" class="toolbar-btn" title="Open file (click) | Recent files (right-click)" data-help="Open a log file for analysis. Right-click or use the dropdown for recent files. Supports text logs, JSON logs, CSV, and large files (100K+ lines). Drag & drop also works.">
32
-
<spanclass="icon">📂</span> Open File <spanid="btn-recent-files" class="open-file-chevron" title="Recent files">▾</span>
<inputtype="checkbox" id="search-case"> Match Case
47
-
</label>
48
-
<labelclass="checkbox-label">
49
-
<inputtype="checkbox" id="search-whole-word"> Whole Word
50
-
</label>
51
-
<buttonid="btn-search" class="toolbar-btn" title="Search" data-help="Search the log file for a pattern. Toggle Regex, Wildcard, Match Case, Whole Word modes. Ctrl+F to focus, Enter to search forward.">Search</button>
<buttonid="btn-filter" class="toolbar-btn" title="Filter settings" data-help="Filter visible lines by pattern, log level, or line range. Only matching lines are shown — others are hidden, not deleted. Ctrl+Shift+F to open filter dialog.">Filter</button>
73
-
<buttonid="btn-split" class="toolbar-btn" title="Split file into parts" disableddata-help="Split a large log file into smaller parts by line count. Creates numbered files in the same directory.">Split</button>
74
-
<buttonid="btn-analyze" class="toolbar-btn" title="Analyze file" disableddata-help="Run full analysis: log level distribution, crash detection, component breakdown, and timestamp patterns. Results appear in the Analysis panel below.">Analyze</button>
75
-
<buttonid="btn-columns" class="toolbar-btn" title="Show/hide columns" disableddata-help="Toggle column visibility: line numbers, timestamps, levels, tags. Columns are auto-detected from log format.">Columns</button>
76
-
<buttonid="btn-word-wrap" class="toolbar-btn" title="Toggle word wrap (⌥Z)" data-help="Wrap long lines to fit the viewer width. When off, scroll horizontally to see full lines. Shortcut: ⌥Z (Alt+Z)">Wrap</button>
77
-
<buttonid="btn-json-format" class="toolbar-btn" title="Format & highlight JSON in logs" data-help="Detect and pretty-print JSON embedded in log lines. Adds syntax highlighting for keys, strings, numbers. Toggle on/off — does not modify the file.">JSON</button>
78
-
<buttonid="btn-datadog" class="toolbar-btn" title="Connect to Datadog" data-help="Connect to Datadog to fetch and analyze logs remotely. Requires API and Application keys configured in Settings.">DD</button>
79
-
</div>
80
-
<divclass="toolbar-right">
81
-
<buttonid="btn-annotations-toggle" class="toolbar-btn small" title="Toggle Agent Annotations (Ctrl+Shift+A)" data-help="Show/hide AI agent annotations on log lines. Agents can add inline comments during analysis. Shortcut: Ctrl+Shift+A">💬</button>
82
-
<buttonid="btn-notes-toggle" class="toolbar-btn small" title="Toggle Notes (Ctrl+Shift+N)" data-help="Open the Notes drawer (slides up from bottom). Freeform notes saved per file as .logan/filename.notes.txt. Use 'Save Snippet' to append selected log lines.">📝</button>
83
-
<buttonid="btn-terminal-toggle" class="toolbar-btn small" title="Toggle Terminal (Ctrl+`)" data-help="Quake-style terminal that drops down from the top. Run shell commands without leaving LOGAN. Shortcut: Ctrl+` (backtick)">⌨</button>
84
-
<buttonid="btn-help" class="toolbar-btn small" title="Keyboard shortcuts & help (F1)" data-help="Show all keyboard shortcuts and feature overview. Press F1 anytime to open.">ⓘ</button>
0 commit comments