feat: 新增插件受控扩展窗口系统#42
Open
xiaowumin-mark wants to merge 15 commits into
Open
Conversation
Author
|
测试 插件受控扩展窗口系统 插件:extension-window-api-test.js 所有更改已完成 |
Author
|
本插件默认没有封装窗口之间通信的功能,可使用 |
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.
概要
extensionContext.windows创建、查询和控制自己的独立窗口。registerWindowComponent()渲染对应窗口组件。主要改动
extension-window.html宿主入口、共享 runtime/loader,以及extension-window.tsx的窗口渲染和错误页。runtime、window、windows、registerWindowComponent等 API,并加入窗口句柄失效保护。packages/player/examples/extension-window-api-test.js作为中文全面测试插件。验证
pnpm -F player buildcargo check -p amll-player(需项目内vendor/ffmpeg环境)pnpm typecheck仍存在仓库内既有的packages/player/src/pages/settings/player.tsx类型错误,与本次改动无关备注