Skip to content

feat(app-ai-native): support opening multica session in new tab#608

Merged
linkai0924 merged 1 commit into
devfrom
feat-multica
Jul 22, 2026
Merged

feat(app-ai-native): support opening multica session in new tab#608
linkai0924 merged 1 commit into
devfrom
feat-multica

Conversation

@unknownzjc

Copy link
Copy Markdown
Collaborator

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

为 multica 页面的跨页面消息桥增加「新标签页打开会话」能力:

  • multica:navigate postMessage 现在支持 newTab: true,收到后先同步打开 about:blank 占位标签页(避免异步期间被浏览器拦截弹窗),再在会话定位完成后把占位页导航到目标会话链接。
  • openSession 接受可选的占位 Window:成功时将占位页跳转到 /workspace/:id?session=...,失败时关闭占位页并弹出错误提示;tab.opener 置空以避免反向引用。
  • 占位页打开失败(如被拦截)时直接提示错误并中止,不影响原有的当前页 navigate 路径。

How did you verify your code works?

本地验证功能正常。

Screenshots / recordings

本次为交互行为变更(新标签页跳转),无界面样式改动,未附截图。

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

@linkai0924
linkai0924 merged commit b966f76 into dev Jul 22, 2026
5 checks passed
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.

2 participants