feat: add editor area tab support for Pixel Agents#72
Open
zxcvbnmmohd wants to merge 1 commit intopablodelucca:mainfrom
Open
feat: add editor area tab support for Pixel Agents#72zxcvbnmmohd wants to merge 1 commit intopablodelucca:mainfrom
zxcvbnmmohd wants to merge 1 commit intopablodelucca:mainfrom
Conversation
- Enable opening Pixel Agents as full-screen editor tabs (WebviewPanel) - Refactor PixelAgentsViewProvider to support multiple simultaneous webviews - Add shared agent state broadcasting across all connected webviews - Implement unified message handling for sidebar and editor tab views - Add '⊡ Tab' button to BottomToolbar for quick editor tab access - Add 'Pixel Agents: Open in Editor Area' command to palette - Maintain 100% backward compatibility with sidebar view - All agent state updates now sync across sidebar + all editor tabs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable Pixel Agents to open as full-screen editor tabs (WebviewPanel) in addition to the existing sidebar panel view. Users can now open the pixel art office anywhere in the editor area, just like terminals.
Changes
PixelAgentsViewProviderto support multiple simultaneous webviews (sidebar + editor tabs)agentsMap broadcasted across all connected views for real-time synchronizationpixel-agents.openEditorTab- Open office in full-screen editor tabFeatures
✅ Open multiple Pixel Agents editor tabs simultaneously
✅ Arrange tabs in split panes alongside code editor
✅ All tabs stay perfectly synced with live agent updates
✅ Independent camera position per tab (local state)
✅ Seamless sidebar + editor tab coexistence
✅ Proper cleanup when tabs are closed
Technical Details
The implementation:
WebviewPanelAPI for editor tabs (vsWebviewViewfor sidebar)Testing
✅ TypeScript compilation passes
✅ Build succeeds (esbuild + Vite)
✅ No new linting errors
✅ Backward compatible (existing tests unchanged)