feat(app-ai-native): support opening multica session in new tab#608
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #
Type of change
What does this PR do?
为 multica 页面的跨页面消息桥增加「新标签页打开会话」能力:
multica:navigatepostMessage 现在支持newTab: true,收到后先同步打开about:blank占位标签页(避免异步期间被浏览器拦截弹窗),再在会话定位完成后把占位页导航到目标会话链接。openSession接受可选的占位Window:成功时将占位页跳转到/workspace/:id?session=...,失败时关闭占位页并弹出错误提示;tab.opener置空以避免反向引用。navigate路径。How did you verify your code works?
本地验证功能正常。
Screenshots / recordings
本次为交互行为变更(新标签页跳转),无界面样式改动,未附截图。
Checklist
If you do not follow this template your PR will be automatically rejected.