Repository navigation
V13:关系索引轻量 core,完整 metadata 延迟补回 - #20
Merged
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.
目标
V12 完成事件分层后,当前最大的单入口之一是关系索引:完整
data-relations.js约 736.6 KiB。前端关系表实际只消费from / to / rel / category / sourceTitle;id、端点 id/type、来源 key、endpointKind 等字段不参与首次关系页渲染。V13 继续只优化在线物理交付,不改最终 DATA、不改
generate_report、不改 standalone。实现
src/split_relation_asset_v13.py:把完整 relations 无损变换为可见字段data-relations.jscore +data-relation-meta.jsdeferred metadata;--check;relation-meta,但relations视图继续只依赖['relations'];__MING_APPLY_RELATION_META__在 metadata 与 core 都到位时补回完整对象;验收条件
relations,不预取relation-meta;