Skip to content

The bottom resize grabber no longer lingers when the terminal is…#439

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jul 2, 2026
Merged

The bottom resize grabber no longer lingers when the terminal is…#439
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

The bottom resize grabber no longer lingers when the terminal is docked to the right column. Previously the grabber stayed visible and could be dragged up to reveal an empty bottom panel; it now disappears while the terminal is right-docked and returns when you dock the terminal back to the bottom.

…#2364)

* fix(open-knowledge): hide bottom terminal grabber when right-docked

TerminalDock gated its bottom resize handle on the visible prop alone.
A right-docked terminal keeps visible true while the bottom panel sits
collapsed and empty, so the grabber pill stayed rendered and draggable,
pulling up an empty panel. Gate the handle (grabber render, disabled
state, and the pointer-down guard) on bottom-docked-and-visible instead,
and reuse the same predicate for the panel restore effect and initial
size. Docking back to the bottom restores the grabber.

Web and embedded hosts never mount TerminalDock (no terminal bridge),
so this only changes the desktop app.

* review polish: canonical dock-position type in test, tighter comments

Import TerminalDockPosition from terminal-dock-store in the dock test
instead of redeclaring the union locally, drop the comment sentence that
restated the bottomOpen expression, and make the disabled-handle comment
name where each way back in actually lives (bottom reveal tab here;
EditorArea reveal tab and tab-strip dock-toggle when right-docked).

GitOrigin-RevId: 240b1b101d7750e42fa561aca12b94777b1057db

@inkeep-internal-ci inkeep-internal-ci Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/28573618265). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.

@inkeep-oss-sync inkeep-oss-sync Bot merged commit 0d852a2 into main Jul 2, 2026
@inkeep-oss-sync inkeep-oss-sync Bot deleted the copybara/sync branch July 2, 2026 07:40
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