Skip to content

feat(vite-plugin): improve dev host message inspector#254

Merged
V3RON merged 7 commits into
mainfrom
feat/new-developer-experience
May 11, 2026
Merged

feat(vite-plugin): improve dev host message inspector#254
V3RON merged 7 commits into
mainfrom
feat/new-developer-experience

Conversation

@V3RON
Copy link
Copy Markdown
Contributor

@V3RON V3RON commented May 8, 2026

Why

Rozenite developers use the dev host as the fastest feedback loop for inspecting plugin traffic and replaying commands while iterating on plugin UIs. Making the message inspector closer to browser devtools, and forcing dispatcher payloads to be real JSON, reduces false-positive test flows and makes local debugging behave more like real plugin message traffic.

Summary

  • redesign the dev host message log to support single-line rows, selection, timestamps, clear/replay actions, and a JSON-backed details panel
  • split the lower workspace into a persistent command dispatcher plus resizable message log/details panes using shared resize logic
  • require valid JSON payloads before dispatch and reuse react-json-tree for structured payload inspection

Testing

  • pnpm --filter @rozenite/vite-plugin typecheck

@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
rozenite Skipped Skipped May 8, 2026 9:37am

Request Review

V3RON added 2 commits May 11, 2026 16:29
Document the in-browser Rozenite dev host (panel tabs, message log, dispatch,
localhost:8888 alignment with runtime dev mode) in the plugin development guide
and overview.

Harden the vite-plugin dev stack: UUID message log ids, shared
DEV_HOST_STATE_ELEMENT_ID with client-plugin, and JSON.stringify for panel names
in panel.ejs. Cross-link runtime DEV_SERVER_URL with the vite dev port.

Add changeset for @rozenite/vite-plugin minor (dev test host).
@V3RON V3RON merged commit 7709b30 into main May 11, 2026
4 checks passed
@V3RON V3RON deleted the feat/new-developer-experience branch May 11, 2026 14:53
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