Skip to content

fix(editor): let site panels undock independently - #474

Merged
DavidBabinec merged 1 commit into
mainfrom
fix/independent-panel-docking
Sep 1, 2026
Merged

fix(editor): let site panels undock independently#474
DavidBabinec merged 1 commit into
mainfrom
fix/independent-panel-docking

Conversation

@DavidBabinec

Copy link
Copy Markdown
Contributor

The bug

Undocking a Site editor panel switched the entire sidebar into floating mode. AI was forced to float, and opening another rail item replaced content instead of leaving other panels available.

The fix

Each built-in panel now owns its docked or floating state, position, and size. AI starts docked, floating panels can coexist with a docked sibling, and rail state reflects panels that are currently detached. Dock and undock actions use the existing pixel-art icon pack, with the Properties dock icon oriented toward the right sidebar.

Verification

bun run build  # clean
bun test       # 6725 pass, 0 fail
bun run lint   # clean
focused layout and icon tests  # 60 pass, 0 fail

Panel mode was shared by the whole sidebar, so undocking one panel displaced every other panel and left AI permanently floating. Store and render dock state per panel so docked and floating tools can remain usable together.
@DavidBabinec
DavidBabinec marked this pull request as ready for review September 1, 2026 08:01
@DavidBabinec
DavidBabinec merged commit 7c89330 into main Sep 1, 2026
9 checks passed
@DavidBabinec
DavidBabinec deleted the fix/independent-panel-docking branch September 1, 2026 08:01
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