feat(chrome-devtool): migrate to Manifest V3 with Plasmo framework#4276
feat(chrome-devtool): migrate to Manifest V3 with Plasmo framework#4276OpenGG wants to merge 1 commit intoalibaba:formily_nextfrom
Conversation
40b7830 to
4d0ebf6
Compare
- Refactor architecture to comply with Manifest V3 security requirements - Preserve devtools functionality with updated service worker lifecycle - Fix requestIdleCallback() bug in backend.ts - Replace legacy toolkit with Plasmo framework for enhanced DX - Implement automatic HMR for popup/options UI components - Update build chain and dependency tree (React 18.3.1) - Add release devtools workflow configuration BREAKING CHANGE: Requires Chrome 88+ due to Manifest V3 changes
4d0ebf6 to
2b1f4a9
Compare
|
awsome |
|
@janryWang 大佬麻烦看下这个浏览器扩展更新得pr |
|
试用了一下,这个插件同步表单数据时有点问题,插件展示的跟真实的表单状态不一致 |
|
@liuweiGL Thank you for flagging this potential inconsistency issue. I’d like to investigate further. Could you please share the steps to reproduce it? |
Issue: Reproducible inconsistency in messaging during extension idle state. Possible Cause: Service worker (SW) inconsistency—when the extension idles and the SW terminates, the content script fails to bridge messages to the extension, triggering the error: Proposed Solution: Refactor messaging logic to handle inconsistent SW states, such as implementing a wake-up protocol for the service worker before critical operations and improving error resilience in message handling. |
|
✔️ A more stable version, now on Web Store
Testers needed for more edge cases, comment any issue following this PR. Quick install: https://chromewebstore.google.com/detail/formily-devtools-v3/kphglbjhgkdodnghokdhdcideadpmkha |
Before submitting a pull request, please make sure the following is done...
masterorformily_next.npm test).npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.Please do not delete the above content
What have you changed?
feat(chrome-devtool): migrate to Manifest V3 with Plasmo framework
BREAKING CHANGE: Requires Chrome 88+ due to Manifest V3 changes