feat:整理index文件;延后插件加载时机,以尝试修复变量字段丢失问题。 - #144
Open
killeriest wants to merge 2 commits into
Open
Conversation
Collaborator
|
没看懂你是遇到了什么问题,能在线上环境复现吗? |
Contributor
Author
插件加载后出现variable fields丢失的报错,会导致flyout里的积木布局错误,并且工作区里任何在触发bug后进行的积木连接丢失。 |
Contributor
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.
清理了一下index文件,让它更干净,并且移除了快速清理优化,因为它是多余的。
我又收到了关于变量字段丢失的报告,因此重新进行了测试和评估,并且推测它和插件的加载时机有关。因为在本地测试环境中,同一个插件似乎会先加载云端的发布版,再卸载,然后加载本地的版本,这似乎造成了一些问题,并且导致问题的测试可能无法在本地环境中进行。
为了在实际的生产场景中测试此情况,此次更新将整个插件的index结构包裹,并且将其延后了若干秒加载。经过测试,其不包含非变量字段丢失的问题,所以排除变量字段丢失的问题之外,此次更新在合并上是稳定可用的。如果本次合并完成后仍然复现问题,就必须考虑是否是某些Gandi插件系统存在的固有缺陷了。