Repository navigation
升级自选语言与注释合并,更新介绍及帮助 - #109
Merged
Merged
Conversation
wip: branch validation; publish from the reviewed merge commit
Merged
chenyb12
added a commit
that referenced
this pull request
Nov 21, 2026
本次整理上次 #109 合并后的最终自选语言界面与分区操作,修复整枝移动时在 RecyclerView 布局过程中刷新列表导致的闪退。 - 主行保留分区筛选、去重、编辑分区、编辑方案。展示筛选复用音典紧凑树形行样式,不再显示语言数;编辑面板保留数量。面板左右各留 20dp、底部留约 24dp。 - 编辑方案恢复为独立页面:导入/导出、方案数量和列表、新建/改名/删除;背景色标示选中项,并可拖动调整方案顺序。 - 分区编辑集中在语言面板左上角名称展开的下拉里。名称字号 14sp,展开/收起箭头随弹层状态变化。 - 拖动仅调整同级整枝顺序,松手后延后统一刷新;移动可选择任意父节点、提升一级或设为顶层。进入移动模式不关闭原面板,选择目标后确认或取消,子节点、语言和配色保留。 - 未分区按普通节点处理,允许改名、删除、移动。读取/保存/排序不再反复生成节点或删除归属;兼容旧版空路径归属,保留记录 ID 和颜色。 - 语言搜索复用 OpenCC 繁简匹配;颜色对话框先关闭下拉再显示,并提供可滚动内容与键盘避让,避免影响确认按钮。 - 导出方案列表移除名称前的“方案:”,辅助选项改为“选择辅助信息”;同步更新内置帮助中的实际操作和 Excel 边界。 验证:独立的最终源码副本通过 compileDebugJavaWithJavac、lintDebug;10 组 JVM 回归检查(含 100 次整枝移动/调序、任意层级/顶层移动、循环/重名保护、旧数据迁移、颜色/记录保留、Excel 与注释合并);4 项介绍与帮助检查。 此提交基于当前 master,保留 1121 字表更新。不包含本地词表数据库、词表后台模块、数据库生成工具、密钥或构建产物。没有修改发布工作流。
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.
升级自选语言与注释合并,更新介绍及帮助
自选语言现在可以按「方案 | 分区」组织记录,在下拉双栏中选择语言、拖动排序和设置颜色。此提交整理此前迭代的最终界面,并让注释合并结果按语言顺序集中展示。
验证:独立副本 assembleDebug、lintDebug;7 组 JVM 回归检查;4 项介绍/帮助检查;现有介绍生成函数的链接、表格转换检查。未启动 Android Studio 或模拟器。
未包含词表数据库、词表生成工具或本地词表实验;线上词表仍保持「數據庫正在建設中……」。没有修改发布工作流。