Files
multica/packages
Jiayuan Zhang f3d88b1d47 feat(issues): add "Open in new tab" to the issue actions menu (MUL-5455) (#6124)
The issue right-click / kebab menu had status, priority, assignee, dates,
pin, copy link, copy workdir path, sub-issue relations and delete — but no
way to open the issue itself. Users who don't know modifier-click had no
affordance at all for opening an issue somewhere else.

Adds `openInNewTab` to `useIssueActions` (reusing the canonical pattern from
table-view's `openIssue`) and surfaces it at the top of the "act on this
issue" group, above the copy actions. Foreground tab (`activate: true`):
this is an explicit CTA, so focus follows the user into the new context —
unlike modifier-click, which stashes a background tab.

Desktop routes through the tab adapter (`openTab` dedupes by pathname, so a
second invocation focuses the existing tab); web has no adapter and falls
back to a browser tab via the shareable URL.

Copy reuses the established "新标签页" / "Open in new tab" wording from the
preferences toggle and the attachment preview, in all four locales.

Co-authored-by: Lambda <lambda@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
2026-07-29 18:57:30 +08:00
..