Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bookmarks 搜索时,是否可以同时匹配 title 和 url? #53

Closed
weineel opened this issue Jan 23, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@weineel
Copy link

commented Jan 23, 2019

正常搜索如下图,是没有问题的:

image

输入url搜索时,找不到结果:

image

是有什么设置需要开启,还是暂时没有实现这个功能?

@solobat

This comment has been minimized.

Copy link
Owner

commented Jan 23, 2019

嗯,是不支持这功能,因为用的 Chrome 提供的 api。如果要支持的话,估计得自建缓存了。也许以后会实现。

@solobat solobat added the help wanted label Jan 23, 2019

@weineel

This comment has been minimized.

Copy link
Author

commented Jan 24, 2019

你好,我查看了这部分的实现,想加上这个功能的,发现是使用 fuzzaldrin-plus 模糊匹配的,没有使用chrome 提供的api。

接着查看了 Chrome 有关 bookmarks search 的文档,发现 Chrome 的 api 是支持同时匹配 title 和 url 的。

@solobat

This comment has been minimized.

Copy link
Owner

commented Jan 24, 2019

还是得使用 recent api,不过我优化一下,让可以搜索 title / url。

@solobat

This comment has been minimized.

Copy link
Owner

commented Jan 24, 2019

已经发布了,请更新至最新版 v3.6.4

@solobat solobat closed this Jan 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.