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): fade overflowing titlebar tabs by Hona · Pull Request #32082 · anomalyco/opencode

Conversation

@Hona

@Hona Hona commented Jun 12, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Issue for this PR

Adds the titlebar tab overflow affordance.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds 24px edge fades to the titlebar tab strip when it overflows, so it is visible that more tabs exist off-screen. The left fade appears after scrolling past the start; the right fade disappears within 1px of the end.

The fade elements, gradients, dimensions, stacking, and wrapper match the design implementation exactly. A CSS scroll timeline drives only their visibility, removing JavaScript scroll state, effects, and microtask ordering. Unsupported browsers safely show no fades.

The existing tabsAreOverflowing signal still drives forceTruncate, but is refreshed by ResizeObserver on the scroller and inner row instead of per-tab onMount. This also refreshes truncation when the window or asynchronously-loaded tab content changes size.

How did you verify your code works?

  • Drove the strip in headless Chromium and asserted the computed fade values at each scroll state: start -> right fade only, middle -> both, end -> left fade only, non-overflowing strip -> none. Also asserted the right fade returns when content widens while scrolled to the end (no scroll/resize event fires there, which is what rules out JS measurement).
  • Verified the built CSS output (Tailwind/LightningCSS) preserves the visibility keyframes, animation-range, timeline-scope, and scroll-timeline declarations.
  • bun typecheck (all packages) and bun test in packages/app (376 pass).

Screenshots / recordings

Behavior matches the existing design: 24px fades over --v2-background-bg-deep, on/off at the same scroll thresholds.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

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

All reactions
Hona added 2 commits June 12, 2026 18:46
@Hona
fix(app): fade overflowing titlebar tabs with scroll-driven mask
4f9628c
@Hona
fix(app): match designer fade thresholds and guard legacy browsers
5a30c7a
@Hona
Hona requested a review from Brendonovich as a code owner June 12, 2026 16:58
Copilot AI review requested due to automatic review settings June 12, 2026 16:58
Copilot started reviewing on behalf of Hona June 12, 2026 16:58
View session
Copilot AI reviewed Jun 12, 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

This PR improves the desktop app titlebar tab strip UX by adding scroll-driven edge fades when the tab row overflows, making it visually clear that additional tabs exist off-screen. It also changes how overflow is detected so truncation updates reliably on resize and content changes without per-tab mount hooks.

Changes:

  • Add a scroll-timeline + mask-based left/right fade effect to the titlebar tab scroller (guarded by @supports).
  • Replace per-tab onMount overflow refreshes with ResizeObserver-driven refreshes on the scroller and inner row.
  • Add a dedicated titlebar.css stylesheet and wire it into the titlebar component.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/app/src/components/titlebar.tsx Hooks up the new titlebar tab scroller styling and switches overflow detection to createResizeObserver.
packages/app/src/components/titlebar.css Implements scroll-driven left/right edge fades for overflowing titlebar tabs via mask + scroll-linked animations.

💡 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/components/titlebar.tsx Outdated
Comment on lines +443 to +446
ref={(el) => {
tabScrollRef = el
createResizeObserver(el, refreshTabsAreOverflowing)
}}
@Hona
Hona force-pushed the feat/app-tab-overflow-fade branch from b570703 to 5a30c7a Compare June 12, 2026 17:34
@Hona
fix(app): preserve titlebar fade rendering
e377592
@Hona Hona changed the title fix(app): fade overflowing titlebar tabs with scroll-driven mask fix(app): fade overflowing titlebar tabs Jun 12, 2026
@Hona
Hona merged commit 2630f45 into anomalyco:dev Jun 13, 2026
10 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): fade overflowing titlebar tabs (anomalyco#32082)
ed1c6fb
BenGu3 pushed a commit to BenGu3/opencode that referenced this pull request Jun 27, 2026
@Hona @BenGu3
fix(app): fade overflowing titlebar tabs (anomalyco#32082)
a211e76
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
@Hona
fix(app): fade overflowing titlebar tabs (#32082)
5a69c0b
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@Hona
fix(app): fade overflowing titlebar tabs (anomalyco#32082)
822c368
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.