fix: codesandbox 跳转
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
由于集成到VSCode插件,导致页面是嵌入到iframe时,a标签新开浏览器页面是无效的
解决方案:
- 按钮点击时,派发事件到 VSCode容器,容器帮忙使用VSCode打开浏览器的方式实现。
要求:
- 保留目前的情况,codegen单独开发时支持跳转。类似接口请求兼容方案一样。
插件开发将 codgen 集成到 vscode,完美解决cors 跨域问题,采用类似qiankun 微前端的思路。
在vscode 环境下,通过类似微前端(iframe通信)方式,vscode来发请求,将数据传给 codegen web。这样就避开了web端浏览器跨域的问题。
codegen web可以独立启动开发,可完全解耦,也是个独立web应用,也可以集成到 vscode 开发。
- Dominant language
- TypeScript
- Stars
- 15
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RootLinkFE/roothub-codegen
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
RootLinkFE/roothub-codegen#11 · 3 comments ·
All issues in RootLinkFE/roothub-codegen
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·