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): refine project and worktree picker by usrnk1 · Pull Request #59397 · anomalyco/opencode

Conversation

@usrnk1

@usrnk1 usrnk1 commented Oct 26, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Issue for this PR

No linked issue. Implements the project/worktree picker design.

Type of change

  • New feature

What does this PR do?

  • Groups added projects separately from other server projects, with Open project… last.
  • Uses the same full picker for ⇧⌘O and the composer button; keeps the search anchored while results resize.
  • Refines worktree rows and dividers, location icons, keybind tooltip, and whole-segment path truncation.

How did you verify your code works?

  • 18 focused production-build E2E runs passed without retries; 4 baseline checks passed on origin/dev.
  • New path and project-name search regressions fail on the base.
  • Selector unit tests, app bun typecheck, bun run typecheck:tsc, and root bun run check passed.
  • Reviewed before/after screenshots and keyboard focus in light/dark mode.

Screenshots / recordings

Before:
Project picker before

After:
Project picker after

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
@usrnk1
usrnk1 requested review from Brendonovich and Hona as code owners October 26, 2026 20:32
@github-actions github-actions Bot added the contributor label Oct 26, 2026
opencode-agent[bot]
opencode-agent Bot reviewed Oct 26, 2026
View reviewed changes

@opencode-agent opencode-agent 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. Typecheck (tsc -b) passes, and in Chromium the new and changed e2e cases pass: added vs. other projects, the worktree step, ⇧⌘O opening the full picker, ⌘O, and path truncation on POSIX and Windows paths. The one failing Home spec fails the same way on the base.

Public API is unchanged: this only touches app UI. The projectsOnly dialog option and the new i18n keys are internal.

No blocking concerns. One small note inline about the hardcoded ⌘O shortcut.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread packages/app/src/new-session/location/dialog.tsx Outdated
}

const choosesServer = () => props.project.servers().length > 1
const addKeybind = parseKeybind("mod+o")

@opencode-agent opencode-agent Bot Oct 26, 2026

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.

mod+o is hardcoded here. It isn't in the command registry, so users can't rebind it in keybind settings. Now that the key-hint footer is gone, nothing in the dialog shows it either. Could this go through the command/keybind system (or at least show its keybind on the Open project… row), so the shortcut is configurable and users can find it?

Sorry, something went wrong.

Uh oh!

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

All reactions

@usrnk1 usrnk1 Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

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.

Fixed in 5b45802. Open project is now registered as project.open, the dialog matches its effective binding, and the row shows neutral keycaps for that binding (hidden when unbound). Verified rebinding in Settings > Shortcuts, default/custom/disabled shortcut behavior across 30 production-build E2E runs, 25 unit tests, both app typechecks, and the pre-push root checks.

Sorry, something went wrong.

Uh oh!

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

All reactions
opencode-agent[bot]
opencode-agent Bot reviewed Oct 27, 2026
View reviewed changes

@opencode-agent opencode-agent 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.

The new push only merges beta (#59347, which is already on the base branch); this PR's own changes are the same as before. Nothing new to flag. The earlier note about the hardcoded mod+o shortcut is still open.

Sorry, something went wrong.

Uh oh!

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

All reactions
opencode-agent[bot]
opencode-agent Bot reviewed Oct 27, 2026
View reviewed changes

@opencode-agent opencode-agent 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.

The new commit addresses the earlier point: the shortcut is now a project.open command that uses the user's keybind override, and the Open project… row shows the keybind in effect. In Chromium, the location-dialog e2e tests pass, including the two new override cases (mod+alt+p and none), and tsc -b is clean. Public API is unchanged. Nothing new to flag.

Sorry, something went wrong.

Uh oh!

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

All reactions
opencode-agent[bot]
opencode-agent Bot reviewed Oct 27, 2026
View reviewed changes

@opencode-agent opencode-agent 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.

The new commit only relabels the picker action Add project, reusing the existing translated text and removing the now-unused key. The location-dialog e2e tests still pass in Chromium. Public API is unchanged. Nothing new to flag.

Sorry, something went wrong.

Uh oh!

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

All reactions
@usrnk1
usrnk1 changed the base branch from beta to dev October 27, 2026 09:03
usrnk1 added 3 commits October 27, 2026 13:13
@usrnk1
feat(app): refine project and worktree picker
ad4b870
@usrnk1
fix(app): make project picker shortcut configurable
4821c84
@usrnk1
fix(app): label picker action Add project
cd6639a
@usrnk1
usrnk1 force-pushed the project-picker branch from c4b2599 to cd6639a Compare October 27, 2026 12:15
opencode-agent[bot]
opencode-agent Bot reviewed Oct 27, 2026
View reviewed changes

@opencode-agent opencode-agent 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.

This push rebases the branch onto dev; the picker change is the same, adapted to dev's plugin server kind. tsc -b is clean, and all 7 location and Search projects e2e tests pass in Chromium on the new head. Public API is unchanged. The shortcut point stays addressed. Nothing new to flag.

Sorry, something went wrong.

Uh oh!

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

All reactions
@usrnk1 usrnk1 mentioned this pull request Oct 27, 2026
feat(app): align search and command palettes #59604
Merged
3 tasks done
@usrnk1
fix(app): satisfy changed-file lint for picker
85ce9ff
opencode-agent[bot]
opencode-agent Bot reviewed Oct 27, 2026
View reviewed changes

@opencode-agent opencode-agent 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.

The new commit only makes lint and type fixes: blank lines, and stricter types in the e2e workspace helper. It doesn't change how the picker behaves. tsc -b is clean, the e2e type check shows no errors in the files this PR touches, and the location e2e tests still pass. Public API is unchanged. Nothing new to flag.

Sorry, something went wrong.

Uh oh!

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

All reactions
@usrnk1
Merge branch 'dev' into project-picker
7a79346
opencode-agent[bot]
opencode-agent Bot reviewed Oct 27, 2026
View reviewed changes

@opencode-agent opencode-agent 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.

The new push only merges dev into the branch, without conflicts; this PR's own changes are the same. tsc -b is clean, and the location, combined picker and Search projects e2e tests pass in Chromium on the new head. Public API is unchanged. Nothing new to flag.

Sorry, something went wrong.

Uh oh!

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

All reactions
@usrnk1
usrnk1 merged commit 1151139 into dev Oct 27, 2026
20 checks passed

Uh oh!

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

@usrnk1
usrnk1 deleted the project-picker branch October 27, 2026 14:28
alsuren pushed a commit to alsuren/opencode that referenced this pull request Oct 28, 2026
@usrnk1 @alsuren
feat(app): refine project and worktree picker (anomalyco#59397)
40c990f
@BrewTestBot BrewTestBot mentioned this pull request Oct 29, 2026
opencode 2.2.1 Homebrew/homebrew-core#322019
Merged
1 task done
@github-actions github-actions Bot mentioned this pull request Oct 29, 2026
Tool release: OpenCode 2 v2.2.1 (was v2.2.0) agent-sh/agnix#1748
Closed
@amrkmn amrkmn mentioned this pull request Oct 29, 2026
opencode 2.2.1 amrkmn/homebrew-tap#1191
Closed
1 task
@usrnk1 usrnk1 mentioned this pull request Oct 29, 2026
feat(app): group added projects in settings #60221
Merged
3 tasks done
@usrnk1 usrnk1 mentioned this pull request Nov 24, 2026
fix(app): make the worktree step's back control the search-field arrow #66090
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencode-agent opencode-agent[bot] opencode-agent[bot] left review comments
@Hona Hona Awaiting requested review from Hona
@Brendonovich Brendonovich Awaiting requested review from Brendonovich

Uh oh!

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

Assignees

No one assigned

Labels

contributor

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

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