feat: polish Widget Inspector tree viewer UX and make sync-docs incremental - #68
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.
Summary / 摘要
Polish the Widget Inspector tree viewer UX and make the docs sync hook incremental.
优化 Widget Inspector 树查看器交互体验,并将文档同步钩子改为增量同步。
Changes / 变更
Context / 背景
The breadcrumb already identifies the current node, so the list no longer needs a purple highlight or a duplicate current-node row. The sync-docs hook previously deleted the whole docs/ tree, which triggered bulk-delete guards; incremental sync only removes stale orphans.
面包屑已标识当前节点,列表无需紫色高亮或重复行。原 sync-docs 会清空整个 docs/ 树,触发批量删除保护;增量同步只清理过期孤儿文件。
Checklist / 检查项
Test plan
flutter analyzepasses (No issues found) / 分析无错误flutter testgreen on widget inspector tests / Widget Inspector 测试通过🤖 Generated with Zero Buddy