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 — Make the composer's agent menu compact and keep the keyboard up by Tarquinen · Pull Request #96 · anomalyco/opencode-android

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 15, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Switching agents in the composer no longer drops the keyboard, and the menu is a small list of names that opens just above the composer.

Agent switcher

  • The keyboard, draft and cursor stay put while you open the menu and pick an agent. Before, the menu took focus, so the keyboard hid and then came back after the pick, and the composer jumped twice
  • The menu is an OpenCode-style popover: the floating fill, a hairline border and small radii, sized to fit its names. It opens upward from the chip and never covers the session header. With many agents it scrolls
  • Rows show only the agent's name, with a thin checkmark on the current one, like the desktop's agent select. Rows are still at least 48 dp tall
  • It fades and scales in from the chip's corner, using only a fade under Reduce Motion
  • Back closes the menu first, and tapping the chip again closes it
  • The model picker is separate code (it opens in the keyboard's place) and is unchanged

Before (left) and after (right), keyboard up, 8 agents:

Agent menu before and after

Opening, picking and closing the menu:

agent-menu-open-close.mp4

Checked on the emulator against session-lab with 8 agents that have long descriptions, and with only Build and Plan, in light and dark at 2× font size: the keyboard stays up through opening, picking and Back, the draft and cursor are kept, the chip toggles the menu, and the pick applies. scripts/check.sh passes for composer and session, and scripts/translations.py all is clean.

Sorry, something went wrong.

Uh oh!

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

All reactions
@Tarquinen
Tarquinen temporarily deployed to release November 15, 2026 08:10 — with GitHub Actions Inactive
@Tarquinen
Make the composer's agent menu compact and keep the keyboard up
70897f8
The agent menu was a focusable Material DropdownMenu: opening it took
window focus and hid the keyboard, picking brought the keyboard back (the
composer jumped twice), and each row showed the agent's description, so a
few agents filled the screen and covered the session header.

The menu is now a small OpenCode-style popover: a non-focusable Popup
(PopupProperties(focusable = false)) so the keyboard, draft, cursor and
focus stay put, placed just above the composer with its names lined up
with the chip's. It uses the floating fill, hairline border and popover
radius from OpenCodeSurfaces, hugs its content (140-260 dp), caps its
height under the header and scrolls with many agents. Rows show only the
agent's name with a thin trailing checkmark on the current one, like the
desktop's agent select, at least 48 dp tall. It fades and scales in from
the chip's corner on Motion's micro roles (fade only under Reduce
Motion). An overlay-priority back callback closes it before the
keyboard, and tapping the chip again closes it. The "Agent" heading,
shortDescription and the composer_agent_section_title string are gone.
The session passes the composer's top edge (menuBottomInWindow) so the
menu sits above it. Picking still plays the selection haptic from
AgentPicked. The model picker is separate code (a panel in the
keyboard's place) and is unchanged.

Verified on the emulator against session-lab with 8 agents with long
descriptions and with only Build and Plan: keyboard stays up on open,
pick and back; draft and cursor kept; chip toggles; light and dark; font
scale 2.0. scripts/check.sh :feature:composer and :feature:session pass;
scripts/translations.py all is clean.
@Tarquinen
Tarquinen force-pushed the fix-agent-picker branch from 1cb057f to 70897f8 Compare November 16, 2026 01:56
@Tarquinen
Tarquinen temporarily deployed to release November 16, 2026 01:56 — with GitHub Actions Inactive
@Tarquinen Tarquinen changed the title Keep the keyboard up when switching agents Make the composer's agent menu compact and keep the keyboard up Nov 16, 2026
@Tarquinen
Tarquinen merged commit 05b78a8 into dev Nov 16, 2026
3 checks passed

Uh oh!

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

@Tarquinen Tarquinen mentioned this pull request Nov 16, 2026
Merge dev into main #69
Merged

This branch was previously deployed

1 inactive deployment
release — 70897f81 Deployed Nov 16, 2026 by Tarquinen via check #329
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

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

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