GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(app): expand terminal resize gutter hitbox by Hona · Pull Request #32169 · anomalyco/opencode

Conversation

@Hona

@Hona Hona commented Jun 13, 2026

Copy link
Copy Markdown
Member

Summary

  • position the terminal resize handle across the visible gutter instead of clipping it inside the terminal panel
  • keep terminal content clipping and the panel border on a separate inner layer
  • add a browser regression test covering all eight pixels of the visible resize gutter

Testing

  • PLAYWRIGHT_PORT=3012 bunx playwright test e2e/regression/terminal-resize-hitbox.spec.ts --project=chromium
  • bun typecheck
  • verified in desktop via CDP that every gutter pixel reports row-resize and dragging from the gutter resizes the terminal

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Hona
fix(app): expand terminal resize gutter hitbox
eda0702
@Hona
Hona requested a review from Brendonovich as a code owner June 13, 2026 08:56
Copilot AI review requested due to automatic review settings June 13, 2026 08:56
Copilot started reviewing on behalf of Hona June 13, 2026 08:56
View session
Copilot AI reviewed Jun 13, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

Updates the session terminal panel layout so the vertical resize handle’s hitbox spans the full visible gutter (instead of being clipped inside the panel), and adds a Playwright regression test to ensure the gutter pixels consistently hit the resize handle.

Changes:

  • Move the terminal resize handle onto an outer layer so it can extend into the gutter while keeping terminal content clipped on an inner layer.
  • Shift border/clipping responsibilities to the inner terminal layer to preserve visuals while allowing overflow for the handle.
  • Add an e2e regression test asserting all 8 gutter pixels hit the resize handle.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
packages/app/src/pages/session/terminal-panel.tsx Re-layers the terminal panel so the resize handle can extend into the gutter without clipping terminal content.
packages/app/e2e/regression/terminal-resize-hitbox.spec.ts Adds a Playwright regression test verifying the full 8px gutter area targets the resize handle.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/app/src/pages/session/terminal-panel.tsx
}}
style={{ height: opened() ? `${pane()}px` : "0px" }}
>
<div class="hidden md:block" onPointerDown={() => size.start()}>
Comment thread packages/app/e2e/regression/terminal-resize-hitbox.spec.ts Outdated
Comment on lines +53 to +62
return {
top: handleBox.top - panelBox.top,
bottom: handleBox.bottom - panelBox.top,
pixels: Array.from({ length: 8 }, (_, offset) => offset - 7.5).map(
(offset) =>
document
.elementFromPoint(handleBox.left + handleBox.width / 2, panelBox.top + offset)
?.getAttribute("data-component") === "resize-handle",
),
}
Comment thread packages/app/e2e/regression/terminal-resize-hitbox.spec.ts Outdated
Comment on lines +72 to +74
function base64Encode(value: string) {
return btoa(value).replaceAll("+", "-").replaceAll("/", "_").replaceAll("=", "")
}
Hona added 2 commits June 13, 2026 11:06
@Hona
test(app): remove terminal gutter regression
d857c86
@Hona
fix(app): preserve legacy terminal resize handle
7d3bd3d
@Hona
Hona enabled auto-merge (squash) June 13, 2026 09:13
@Hona
Hona merged commit 9ae4a51 into anomalyco:dev Jun 13, 2026
8 checks passed

Uh oh!

There was an error while loading. Please reload this page.

danzeroum added a commit to danzeroum/opencode that referenced this pull request Jun 13, 2026
@danzeroum @Hona
@opencode-agent @rekram1-node @santigc6 santiago.gonzalezcarvajcentenera @davidfierro @kameshsampath @snowflake-coco @claude
feat(core): EventV2 event log, decision.recorded event, and follow-up…
5e63eb8
… docs (#4)

* fix(app): fade overflowing titlebar tabs (anomalyco#32082)

* chore: generate

* fix(app): expand terminal resize gutter hitbox (anomalyco#32169)

* feat(app): bring v2 visibility settings to web (anomalyco#32174)

* fix(opencode): recover expired MCP sessions (anomalyco#32088)

* chore: update nix node_modules hashes

* feat(opencode): add external browser OAuth for snowflake cortex provider (anomalyco#31700)

Co-authored-by: santiago.gonzalezcarvajcentenera <[email protected]>
Co-authored-by: David Fierro <[email protected]>
Co-authored-by: Kamesh Sampath <[email protected]>
Co-authored-by: Cortex Code <[email protected]>

* chore: generate

* docs(verify): note subtask side-effects; add frontmatter table + http-recorder guidance

* feat(core): add opt-in EventV2 event log and decision.recorded event

---------

Co-authored-by: Luke Parker <[email protected]>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: santigc6 <[email protected]>
Co-authored-by: santiago.gonzalezcarvajcentenera <[email protected]>
Co-authored-by: David Fierro <[email protected]>
Co-authored-by: Kamesh Sampath <[email protected]>
Co-authored-by: Cortex Code <[email protected]>
Co-authored-by: Claude <[email protected]>
davidgut1982 pushed a commit to davidgut1982/opencode that referenced this pull request Jun 19, 2026
@Hona @davidgut1982
fix(app): expand terminal resize gutter hitbox (anomalyco#32169)
b830596
BenGu3 pushed a commit to BenGu3/opencode that referenced this pull request Jun 27, 2026
@Hona @BenGu3
fix(app): expand terminal resize gutter hitbox (anomalyco#32169)
295b01c
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
@Hona
fix(app): expand terminal resize gutter hitbox (#32169)
3989a4c
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@Hona
fix(app): expand terminal resize gutter hitbox (anomalyco#32169)
e13709e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@Brendonovich Brendonovich Awaiting requested review from Brendonovich

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Hona
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.