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 — feat(app): open a Home session in the background from its menu by neriousy · Pull Request #65209 · anomalyco/opencode

Conversation

@neriousy

@neriousy neriousy commented Nov 20, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Issue for this PR

No issue, small request from using the desktop app.

Type of change

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

What does this PR do?

Adds an Open item at the top of the Home session row context menu. It opens the session's tab in the background, so you stay on Home. It goes through the same onOpenSession(session, { background: true }) path that middle click and Ctrl/Cmd+click already use.

Middle click on Home rows already opened a background tab but nothing covered it, so the new e2e test checks both the menu item and middle click.

No feature flag: it's one extra menu item that reuses the existing background open.

How did you verify your code works?

  • bun run test:e2e:built -- e2e/regression/home.spec.ts for the new test and the updated context menu test (menu now lists Open, Rename, Export…, Delete…)
  • Mutation check: with the row's middle click handler stubbed out, the new test fails
  • bun typecheck in packages/app

Screenshots / recordings

Before After
Home session menu before: Rename, Export, Delete Home session menu after: Open, then Rename, Export, Delete

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
@neriousy
feat(app): open a Home session in the background from its menu
39fe9ba
opencodejr[bot]
opencodejr Bot reviewed Nov 20, 2026
View reviewed changes

@opencodejr opencodejr Bot 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.

Looks good. The new Open item uses the existing onOpenSession(..., { background: true }) path, and the common.open label is already translated. I checked it with the Home e2e suite on the PR head (22/22 passed) and tsc -b in packages/app. I also took before/after screenshots of the row context menu from the built app, attached below.

Public API is unchanged.

The new e2e test also covers middle click, which this PR doesn't change. For a 4-line change it can be dropped, or cut down to the menu item. The updated context menu assertion already checks that Open is listed.

Before

After

Sorry, something went wrong.

Uh oh!

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

All reactions
@neriousy
neriousy merged commit ef68b7e into dev Nov 20, 2026
13 checks passed

Uh oh!

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

@neriousy
neriousy deleted the home-open-session branch November 20, 2026 15:53
@neriousy neriousy mentioned this pull request Nov 20, 2026
feat(app): split Open and Open in background in the Home session menu #65212
Merged
3 of 6 tasks
@BrewTestBot BrewTestBot mentioned this pull request Nov 23, 2026
opencode 2.4.0 Homebrew/homebrew-core#327368
Merged
@amrkmn amrkmn mentioned this pull request Nov 23, 2026
opencode 2.4.0 amrkmn/homebrew-tap#1251
Closed
1 task
@github-actions github-actions Bot mentioned this pull request Nov 23, 2026
feat: opencode release v2.4.0 sprisa/opencode-server#95
Merged
@scottames-github-bot scottames-github-bot Bot mentioned this pull request Nov 27, 2026
chore(deps): update ⬆️ mise-packages scottames/dots#1181
Merged
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencodejr opencodejr[bot] opencodejr[bot] left review comments

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.

1 participant

@neriousy
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.