Skip to content

feat(workbench): hide Dock for locked layouts - #2411

Draft
devRickyyy wants to merge 3 commits into
mainfrom
agent/dock-auto-hide-20260816
Draft

feat(workbench): hide Dock for locked layouts#2411
devRickyyy wants to merge 3 commits into
mainfrom
agent/dock-auto-hide-20260816

Conversation

@devRickyyy

@devRickyyy devRickyyy commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

What changed

  • remove the standalone Dock auto-hide prop, timers, handle, and custom activation geometry
  • preserve the existing fullscreen immersive Dock behavior and its original CSS hover zone
  • treat an active locked layout as the same immersive state as a fullscreen window
  • keep the Dock visible for ordinary unlocked workspaces, including an empty workspace
  • cover unlocked, fullscreen, locked-layout, and lock-release state transitions

Why

When TSH automatic layout applies a locked Workbench layout, the Dock should behave exactly as it already does for fullscreen windows. A separate user preference and interaction state machine are unnecessary and create inconsistent hover behavior.

Impact

There is no new public prop or persistence contract. Existing fullscreen behavior remains unchanged; consumers with a locked layout now receive the same Dock hiding and edge-hover reveal behavior. The change is platform-neutral React state and CSS behavior, with no operating-system API, path, process, or filesystem impact.

Validation

  • pnpm check:changed
  • pre-push pnpm check:changed -- --push-ready
  • pnpm --filter @tutti-os/workbench-surface typecheck
  • pnpm --filter @tutti-os/workbench-surface test (276 core tests and 53 Vitest tests)
  • focused WorkbenchDockFrame coverage under jsdom
  • downstream TSH preference cleanup: 53 focused tests and pnpm --dir apps/tsh-desktop check

Documentation

No durable documentation change is needed because this extends the existing internal immersive Dock state without adding a public API or configuration surface.

Signed-off-by: DevRicky <74520253+devRickyyy@users.noreply.github.com>
Signed-off-by: DevRicky <74520253+devRickyyy@users.noreply.github.com>
Signed-off-by: DevRicky <74520253+devRickyyy@users.noreply.github.com>
@devRickyyy devRickyyy changed the title feat(workbench): add optional Dock auto-hide feat(workbench): hide Dock for locked layouts Aug 17, 2026
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