Skip to content

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

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

feat: Add dev toolbar for live diagnostics and actions#2276
charlesvien wants to merge 3 commits into
mainfrom
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

charlesvien commented May 21, 2026

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

@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
@charlesvien charlesvien force-pushed the 05-20-refactor_docs branch from fa2b276 to a4a6afb Compare May 24, 2026 23:10
@charlesvien charlesvien force-pushed the 05-20-dev_bar branch 2 times, most recently from 6fe52ed to 53498dc Compare May 25, 2026 22:05
@charlesvien charlesvien force-pushed the 05-20-refactor_docs branch from a4a6afb to 01123c3 Compare May 25, 2026 22:05
@charlesvien charlesvien changed the base branch from 05-20-refactor_docs to graphite-base/2276 May 25, 2026 22:07
@charlesvien charlesvien force-pushed the graphite-base/2276 branch from 01123c3 to 8a8066f Compare May 25, 2026 22:07
@charlesvien charlesvien changed the base branch from graphite-base/2276 to main May 25, 2026 22:07
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