Skip to content

agent_ui: Disable "Copy Selection" when no text is selected#47997

Merged
danilo-leal merged 1 commit intozed-industries:mainfrom
cppcoffee:agent_ui_menu_item
Feb 2, 2026
Merged

agent_ui: Disable "Copy Selection" when no text is selected#47997
danilo-leal merged 1 commit intozed-industries:mainfrom
cppcoffee:agent_ui_menu_item

Conversation

@cppcoffee
Copy link
Contributor

@cppcoffee cppcoffee commented Jan 30, 2026

Release Notes:

  • Agent: Improved the "Copy Selection" right-click menu item by disabling it when there are no selections.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 30, 2026
@cppcoffee
Copy link
Contributor Author

Before:

before.mov

After:

after.mov

@SomeoneToIgnore SomeoneToIgnore added the area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features label Jan 30, 2026
Copy link
Member

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

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

Good catch, thank you!

@danilo-leal danilo-leal enabled auto-merge (squash) February 2, 2026 11:33
@danilo-leal danilo-leal merged commit e74ceba into zed-industries:main Feb 2, 2026
36 checks passed
@cppcoffee cppcoffee deleted the agent_ui_menu_item branch February 2, 2026 12:20
adb-sh pushed a commit to adb-sh/zed that referenced this pull request Feb 5, 2026
…stries#47997)

Release Notes:

- Agent: Improved the "Copy Selection" right-click menu item by
disabling it when there are no selections.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ai Improvement related to Agent Panel, Edit Prediction, Copilot, or other AI features cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants