iOS: Pages created before a recent app update are missing from search results
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- ios
- 领域
- mobile
调研方向
Start by reproducing the issue in the iOS app using pages created before the update, then compare results in the keyboard-toolbar search and the search page. No source files or tests are identified in the issue, so locate the search entry points first. Done means pre-update pages appear from the first typed character, including one- and two-character titles and partial matches among similarly named pages.
由索引模型根据 Issue 内容生成。
描述
Search first
- I searched and no similar issues were found
What Happened?
Pages created before the update sometimes cannot be found.
- When searching with
[[]]on the keyboard toolbar:- Pages with a one-character title cannot be found.
- Pages with a two-character title cannot be found.
- For pages with a title of three or more characters, the search does not start until the third character is typed.
- When multiple pages start with the same word, some of them cannot be found by a partial search.
- When searching on the search page:
- Same as above.
PS. Pages newly created on 2.0.2 (42) can be found.
Reproduce the Bug
Pages with a one-character title cannot be found
- Before the update, create a page titled
桃(Peach). - After the update, search for
桃. - The page is not found.
Pages with a two-character title cannot be found
- Before the update, create a page titled
日本(Japan). - After the update, search for
日本. - The page is not found.
For pages with a title of three or more characters, the search does not start until the third character is typed
- Before the update, create a page titled
地雷グリコ(the title of a Japanese mystery novel). - After the update, search for it:
地alone does not find this page.地雷alone does not find this page.地雷グfinds this page.
When multiple pages start with the same word, some of them cannot be found by a partial search
I created the following pages before the update:
LogseqLogseq iOSLogseq macOSLogseq Native iOS
In my case, searching for Logseq finds:
LogseqLogseq iOSLogseq macOS
but does not find Logseq Native iOS.
Typing as far as Logseq Nat finds Logseq Native iOS.
Expected Behavior
As soon as the first character is typed, pages created before the update also appear in the search results.
Screenshots
https://github.com/user-attachments/assets/f5223d51-a827-4e14-b5d0-3c25a9221be7
Files
No response
Browser, Desktop or Mobile Platform Information
- iOS 27.2, Logseq 2.0.2 (42)
Additional Context
Japanese and Chinese in particular have many one- and two-character words, so not being able to search for these words is inconvenient.
My Logseq has 93 pages with two-character titles.
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)
- 主要语言
- 没有语言数据
- 星标
- 29
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
logseq/db-test 的其他 Issue
-
Web build on a phone: the fold arrow of an h1/h2 block lies on its bullet, so tapping the bullet folds instead of zooming in可能已有人在做 @tiensonqin 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 87/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 85/100
-
Page titles with `$$`, `$&`, `` $` `` or `$'` change when block refs are resolved可能已有人在做 @RaphaelFakhri 于 19 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
-
`#Asset` label is not displayed on asset nodes when `Hide from Node` is disabled可能已有人在做 @tiensonqin 于 21 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
相似的 Issue
-
-priority- blocked good first issue help wanted
难度 2/5 1-3 小时 新手友好度 68/100
scribe-org/Scribe-Android#761 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
type:feature
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
LCNINE/almondyoung-server#1256 ·
维护者通常 1 天内回复
-
Type: Possible bug
难度 2/5 1-3 小时 新手友好度 84/100
AntennaPod/AntennaPod#8895 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
OneBusAway/vehicle-positions#288 ·
维护者通常 1 天内回复