Skip to content

Fix workspace home model count submenus showing for every model on open#569

Open
johnny4dev wants to merge 1 commit intoDimillian:mainfrom
johnny4dev:fix/worktree-model-menu-submenu-layout
Open

Fix workspace home model count submenus showing for every model on open#569
johnny4dev wants to merge 1 commit intoDimillian:mainfrom
johnny4dev:fix/worktree-model-menu-submenu-layout

Conversation

@johnny4dev
Copy link

@johnny4dev johnny4dev commented Mar 19, 2026

Summary

Fix workspace home model count submenus showing for every model on open.

While fixing that, this also cleans up the worktree model menu layout so long model names remain readable and no longer collide with the instance count affordance on the right.

Details

In worktree mode, each model row has a nested submenu for selecting the number of runs. The submenu should stay hidden until the user hovers or focuses the corresponding model row.

This change updates the menu styling so:

  • nested count submenus stay hidden by default
  • the submenu appears only for the active hovered/focused row
  • the dropdown can expand to fit full model names
  • the right-side 1x and chevron keep dedicated spacing without overlapping labels

Screenshots

Before:
CleanShot 2026-03-19 at 13 32 11@2x

After:
CleanShot 2026-03-19 at 13 31 24@2x

Scope

  • CSS-only change
  • limited to src/styles/workspace-home.css

Validation

  • npm run typecheck
  • npm run test

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9615e72e74

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@johnny4dev johnny4dev force-pushed the fix/worktree-model-menu-submenu-layout branch from 9615e72 to ad13659 Compare March 19, 2026 17:30
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ad136592a6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@johnny4dev johnny4dev force-pushed the fix/worktree-model-menu-submenu-layout branch from ad13659 to 20873a8 Compare March 19, 2026 17:39
@johnny4dev johnny4dev force-pushed the fix/worktree-model-menu-submenu-layout branch from 20873a8 to e9519a9 Compare March 19, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant