feat: add "Group tabs by app" context menu option (#3150)
## Summary
- Adds a new right-click context menu option on chat tabs that reorders
tabs so they are grouped by app
- Within each app group the original relative order is preserved, and
app groups appear in the order their first tab was encountered
- The option is disabled when all open tabs belong to the same app
- Includes i18n support (en, pt-BR, zh-CN) and unit tests
Closes #3126
## Test plan
- Right-click on a chat tab and verify the "Group tabs by app" option
appears
- With tabs from multiple apps open, click the option and verify tabs
are reordered by app grouping
- With tabs from only one app, verify the option is disabled
- Run `npm test` — all 1003 tests pass
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3150"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
Co-authored-by:
Will Chen <7344640+wwwillchen@users.noreply.github.com>
Co-authored-by:
Claude <noreply@anthropic.com>
正在显示
请
注册
或者
登录
后发表评论