Feature : Opitimize WordLookupLayout thru searchWithTiers#78
Open
JYinherit wants to merge 7 commits intoOctagonalStar:mainfrom
Open
Feature : Opitimize WordLookupLayout thru searchWithTiers#78JYinherit wants to merge 7 commits intoOctagonalStar:mainfrom
JYinherit wants to merge 7 commits intoOctagonalStar:mainfrom
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>
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 匹配返回排序结果,但加上了一个统一的「中文检索结果」标题来保持界面一致性