feat: v2 - mini content for collapsed docked windows#2188
Draft
maxy-shpfy wants to merge 1 commit intomasterfrom
Draft
feat: v2 - mini content for collapsed docked windows#2188maxy-shpfy wants to merge 1 commit intomasterfrom
maxy-shpfy wants to merge 1 commit intomasterfrom
Conversation
🎩 PreviewA preview build has been created at: |
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.

Description
Adds "mini content" support for docked windows that are in a collapsed dock area. When a dock panel is collapsed, each window that has registered mini content renders a compact icon button in the collapsed dock strip. Clicking the button opens a popover showing the full window content without expanding the dock.
ComponentLibraryWindowMiniContentrenders aLayoutGridicon button as the collapsed representation of the Component Library panel.PipelineTreeWindowMiniContentrenders aGitBranchicon button with a live validation badge overlay — a green check when the pipeline is valid, or an issue badge showing error/warning counts.CollapsedDockWindowMiniwraps each mini button in a RadixPopoverthat displays the full panel content (with title header) when triggered, sized to match the panel's configured width.WindowStoreImplgains aminiContentMap, asetWindowMiniContentaction, and aminiContentSignatureobservable that allows MobX observers to react when mini content entries are added or removed without storing React nodes in observables.DockArearenders the list ofCollapsedDockWindowMinicomponents in the collapsed strip, filtered to only windows that have registered mini content.useComponentLibraryWindowandusePipelineTreeWindowpassminiContentwhen opening a window and callsetWindowMiniContentto keep mini content current on subsequent renders (e.g. after hot reload or store rehydration).Related Issue and Pull requests
Type of Change
Checklist
Screenshots (if applicable)
Screen Recording 2026-04-30 at 11.37.07 PM.mov (uploaded via Graphite)
Test Instructions
Additional Comments
Mini content is stored outside MobX observables (in a plain
Map) to avoid React element serialization issues. TheminiContentSignaturecounter is used as a lightweight signal to trigger re-renders in observers that need to query the map.