Files
tty7/src
cda04a1930 feat(tabs): split the New Tab button into + and a menu chevron (#1199)
* feat(tabs): add sidebar new tab options menu

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* refactor(tabs): split every New Tab button, not just the sidebar's

The sidebar header was the only place the + opened a tab outright; the
strip and the collapsed rail still dropped the menu on every press, so the
same glyph did two different things depending on where the tabs sat and
whether the rail was open.

Route all three through new_tab_button as one split control, count its
chevron in the title bar width budgets, render the trigger's own box so
its interactivity is not dropped, and drop tests that only re-checked
segment_corners and a bool setter.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
2026-10-20 11:48:11 +08:00
..