Skip to content

feat: Add dev toolbar for live diagnostics and actions#2276

Draft
charlesvien wants to merge 3 commits into
05-20-refactor_docsfrom
05-20-dev_bar
Draft

feat: Add dev toolbar for live diagnostics and actions#2276
charlesvien wants to merge 3 commits into
05-20-refactor_docsfrom
05-20-dev_bar

Conversation

@charlesvien
Copy link
Copy Markdown
Member

@charlesvien charlesvien commented May 21, 2026

Problem

Diagnosing incidents today requires shipping hand-patched debug builds with IPC timings (had to do this for the morning incident), developer actions are scattered across the app and the AI has no runtime telemetry to read when debugging user reports.

CleanShot 2026-05-20 at 11 45 26@2x CleanShot 2026-05-20 at 11 47 36@2x

Changes

  1. Add Dev Toolbar mounted in App root with Agents, CPU, Memory, Network, Logs, Health and IPC Timings panels
  2. Consolidate dev actions in one place: crash/restart main, reload renderer, open log file, open user-data dir, trigger toast, react-scan toggle, network simulation (offline/slow)
  3. Capture electron-log entries, network requests and IPC timings into a ring buffer when dev mode is on, dumped to the on-disk log file so the AI can read it when debugging user reports
  4. Add main-process dev services (flags, metrics, network, logs, actions) behind a tRPC dev router with live snapshots and subscriptions
  5. Add "Developer mode" toggle in Advanced settings to gate the toolbar and capture, replacing the patched-build workflow
  6. Add platform IAppMetrics abstraction with an Electron adapter

How did you test this?

Manually

Publish to changelog?

no

Copy link
Copy Markdown
Member Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@charlesvien charlesvien mentioned this pull request May 21, 2026
@charlesvien charlesvien changed the title dev toolbar feat: Dev Toolbar May 21, 2026
@charlesvien charlesvien changed the title feat: Dev Toolbar feat: Add in-app developer toolbar with live diagnostics May 21, 2026
@charlesvien charlesvien changed the title feat: Add in-app developer toolbar with live diagnostics feat: Add dev toolbar for live diagnostics and actions May 21, 2026
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