Skip to content

feat: modernize Agent Debugger look with FlatLaf, themes and SVG icons - #545

Open
kevin-mcgoldrick wants to merge 1 commit into
masterfrom
agent-debugger-visual-refresh
Open

kevin-mcgoldrick wants to merge 1 commit into
masterfrom
agent-debugger-visual-refresh

Conversation

@kevin-mcgoldrick

@kevin-mcgoldrick kevin-mcgoldrick commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The Agent Debugger used Swing's default look-and-feel and 2008-era 16px Silk PNG icons, so it looked dated and different on each OS. This PR modernizes it:

  • FlatLaf look-and-feel: FlatLaf 3.7.2 (Apache 2.0) gives a consistent light or dark theme with HiDPI scaling. View → Dark Theme switches live and is remembered between runs.
  • Editor color schemes: the RSyntaxTextArea idea.xml and dark.xml schemes, already bundled but never used, are now applied to the script, log, request/response and dialog editors.
  • SVG icons: 24 hand-drawn SVG icons replace the PNGs. They scale cleanly and are recolored automatically in dark mode. Breakpoints are now red dots, the usual IDE convention.
  • Layout cleanup:
    • flat toolbar, with the Http Client and Test Plan choosers on the right and wide enough to read
    • step header showing "Step N of M" with HTTP method and status badges and a validation-failure button
    • slim section headers with icon buttons, plus a new Log section
    • no more doubled borders
  • Remembered layout: window bounds and split pane dividers are kept between runs.
  • Fixes:
    • the "Varaible" typo
    • the empty editor highlighting a blank line
    • a native-access warning on Java 24+, fixed with Enable-Native-Access in the shaded jar manifest

The shaded jar grows by about 2MB (27.4MB → 29.4MB).

Screenshots

Rendered with sample run data.

Light theme, passing step

Agent Debugger, light theme

Dark theme, failing step with a validation failure

Agent Debugger, dark theme

Test plan

  • mvn -pl tools/agent_debugger test: 40 tests pass, including the GUI tests, which run without FlatLaf installed and use the fallbacks
  • -P release shaded jar builds and launches with no warnings or exceptions
  • Live light/dark switch also updates detached popup menus and keeps the badge colors
  • Manual debugging session against a Tank instance

🤖 Generated with Claude Code

@kevin-mcgoldrick kevin-mcgoldrick self-assigned this Oct 26, 2026
@kevin-mcgoldrick kevin-mcgoldrick added enhancement AI Generated patch Increment the patch version when merged labels Oct 26, 2026
@kevin-mcgoldrick
kevin-mcgoldrick force-pushed the agent-debugger-visual-refresh branch 2 times, most recently from 660e2e6 to a854af5 Compare November 12, 2026 20:29
@kevin-mcgoldrick
kevin-mcgoldrick force-pushed the agent-debugger-visual-refresh branch from a854af5 to 46c1e06 Compare November 24, 2026 22:17
- Use FlatLaf (light and dark) for a consistent, HiDPI-friendly look on every OS;
  add View > Dark Theme, switched live and remembered between runs
- Apply the bundled RSyntaxTextArea idea/dark schemes to every editor pane
- Replace the 16px Silk PNGs with SVG icons that scale and follow the theme
- Tidy the layout: flat toolbar with the choosers on the right, a step header
  with HTTP method/status badges and a validation-failure button, slim section
  headers with icon buttons, and a Log section
- Remember window bounds and split pane dividers between runs
- Fix "Varaible" typo and the empty editor's highlighted blank line
- Enable native access in the shaded jar manifest for FlatLaf on Java 24+

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kevin-mcgoldrick
kevin-mcgoldrick force-pushed the agent-debugger-visual-refresh branch from 46c1e06 to 7167cce Compare December 4, 2026 22:15

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Generated enhancement patch Increment the patch version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant