Repository navigation
导入工具维护的字段不再出现在界面上 - #42
Merged
Merged
Conversation
条号索引、字数、token 估算、内容哈希(附件还有有文本、自动带出的所属制度和现行) 加 hidden,不进表单;列表去掉字数、有文本两列。导入工具经接口照常写入(已实测)。 原件单独一组「原件」,默认折叠。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RKKVniLvsfBswNHAfKKTVi
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.
#41 把导入工具维护的字段折叠起来了,但展开后还能看到「条号索引、字数、Token 估算、内容哈希」。这些字段是系统内部用的,制度管理员看不懂,也不用填,不应该出现在界面上。
改动
hidden,表单不再显示。hidden;由所属版本自动带出的所属制度和现行也设为hidden。hidden只影响界面显示,导入工具仍然通过接口写入这些字段。不改字段类型,也不改存储。验证
os validate、tsc通过,pnpm test116 个通过。os dev运行import --apply,字数、内容哈希都正常写入;重跑预演,按哈希判断有无变化,结果正常。0.1.0-dev.20261125093651,Live)。Refs #13
Generated by Claude Code