Skip to content

feat: ui redesign#7

Merged
AnjayGoel merged 44 commits intomainfrom
ui-redesign
Apr 12, 2026
Merged

feat: ui redesign#7
AnjayGoel merged 44 commits intomainfrom
ui-redesign

Conversation

@AnjayGoel
Copy link
Copy Markdown
Owner

No description provided.

AnjayGoel and others added 30 commits April 12, 2026 17:17
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- BigKey now tracks Type and TTL from scan log
- HotKey now tracks top command per key from monitor log
- Progress bar uses GitHub Dark colors (orange fill, muted track)
- Remove Namespace from BigKey/HotKey (individual keys, not namespaces)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add title bar (RedScout branding + scan state + ? help)
- Restyle header to 3 panels (System, Performance, Memory)
- Restyle tab bar with underline active indicator + action hints
- Add ? help overlay modal with all keyboard shortcuts
- Remove shortcuts bar entirely
- Apply GitHub Dark colors to all screens (disclaimer, loading, error)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Namespace: sort hints in headers, alternating rows, remove Types column
- Big Keys: add Type/TTL columns, GitHub Dark colors
- Hot Keys: add Command column, GitHub Dark colors
- Slow Log: sort hints, alternating rows, GitHub Dark colors
- All tables: selected row style, consistent color scheme

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…Y to RESOURCES

- Fix help overlay to use Grid for proper centering in Pages
- Remove S scan / M monitor from tab bar (discoverable via ? only)
- Rename MEMORY panel to RESOURCES (shows CPU + memory)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Sort numbers in column headers are now orange (distinct from gray labels)
- Tab labels show shortcut key in orange (N Namespaces, L Slow Log, etc.)
- Title bar shows legend: (orange = shortcut)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
N̲amespaces, Slow L̲og, B̲ig Keys, H̲ot Keys — shortcut
letter highlighted in orange within the tab name.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Complete rewrite of the UI layer using the MVU pattern:
- Root Model with screen state machine (disclaimer → loading → main)
- lipgloss styling replaces tview color markup
- bubbles/table for all data tables
- Scanner state polling via tea.Cmd
- Help overlay, tab bar, header panels as pure view functions

Removed: tview, tcell, and all lib/ui/views/ code
Added: charm.land/bubbletea/v2, lipgloss/v2, bubbles/v2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Default table height to 20 when window size not yet known
- Remove forced background styling that caused two-tone effect

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
bubbles/v2 table requires both WithHeight and WithWidth to render rows.
Also add header border bottom matching official example style.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
bubbles/table lacks per-column coloring and alternating row backgrounds
needed for data-dense dashboards. tview's cell-level styling is better
suited for this use case.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…e bar

- System panel: clients on second line so it's not truncated
- Performance: add "ops" label after ops/s value
- Title bar: show last status message (e.g. "Memory scan completed")

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
All shortcut keys now wrapped in muted brackets with orange key inside:
tabs, column sort hints, breadcrumb navigation, ? help hint.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ned count

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Tab bar gets bottom padding as separator
- Breadcrumb row increased to 2 lines for spacing from table header
- Prevents tabs/breadcrumb/headers from visually merging

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Uses #484f58 (muted) horizontal line characters instead of
invisible border-colored Box.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AnjayGoel and others added 14 commits April 12, 2026 21:20
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…cy on own line

Resources panel now shows:
  mem 295M / 6G (4.8%)    — or "mem 295M · no limit"
  cpu 13.7% · policy volatile-lru

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
GET: add hash/list/set/zset/stream/hyperloglog/geo reads
SET: add msetnx, decrby, incrbyfloat, stream/hyperloglog/geo writes
DEL: add lrem, zremrangebyrank/score/lex, zpopmin/max, xdel/xtrim
EVAL: add evalsha, skip in monitor

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix -h default to localhost in README
- Add keyboard shortcuts section to README
- Remove bubbletea migration from TODO (reverted)
- Add CLAUDE.md with project structure and conventions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AnjayGoel AnjayGoel merged commit 598e4c5 into main Apr 12, 2026
1 check passed
@AnjayGoel AnjayGoel deleted the ui-redesign branch April 12, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant