Feature : Opitimize WordLookupLayout thru searchWithTiers#78
Draft
JYinherit wants to merge 7 commits into
Draft
Conversation
Signed-off-by: JYinherit <jyinherit@qq.com>
Signed-off-by: JYinherit <jyinherit@qq.com>
Signed-off-by: JYinherit <jyinherit@qq.com>
Signed-off-by: JYinherit <jyinherit@qq.com>
Signed-off-by: JYinherit <jyinherit@qq.com>
Owner
There was a problem hiding this comment.
你删了原本的测试代码是过不了pr合并检查的。而且代码规范检查应该放另一个测试单元里,不适合和构建放一起
Owner
There was a problem hiding this comment.
你原本那边的action不通过是因为你没有设置secret环境变量。我原本action构建apk中使用了自己的签名,而在你的仓库下没有相应的签名环境变量所以才会fail。
正确的解决方案是
你先rebase消除对构建文件的修改或者回滚那次修改
你自己生成自己的一份apk签名
参考我原本构建apk的命令中的环境变量名,设置你github仓库的secret环境变量
你这样直接build的发布,每次签名都不同,会导致软件不能正常更新。
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.
将 lib/funcs/utili.dart 中原本用于题目混淆项筛选的 searchWithTiers(词根、词距检索分级)功能内嵌进了 WordLookupLayout 对应的词汇页面检索里
为了更好地展示检索到的不同相似级别的词汇,我调整了内部的布局:将原本简单的 GridView 重构为了 CustomScrollView + SliverGrid
现在当你在词汇总览里输入阿拉伯语单词进行搜索时,结果将会如下进行分类并分块显示:
如果你搜索的是中文,页面仍会像以前一样使用改进过的中文 Levenshtein 匹配返回排序结果,但加上了一个统一的「中文检索结果」标题来保持界面一致性