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

对自定义 emoji 搜索结果进行匹配优先排序 #3525

Closed
Vanessa219 opened this issue Nov 30, 2021 · 7 comments
Closed

对自定义 emoji 搜索结果进行匹配优先排序 #3525

Vanessa219 opened this issue Nov 30, 2021 · 7 comments
Assignees
Milestone

Comments

@Vanessa219
Copy link
Member

https://ld246.com/article/1638202866363

@Vanessa219 Vanessa219 added this to the 1.5.5 milestone Nov 30, 2021
@Vanessa219 Vanessa219 self-assigned this Nov 30, 2021
@Elliootalderson
Copy link

Elliootalderson commented Dec 2, 2021

试用了改版后的emoji功能,怎么比之前感觉更不友好了.

首先,排序的优先级很奇怪

image.png

第一个图标叫phr.png ,竟然排在我想要的图标(红圈内)名为 right_arrow.png前面.而right_arrow左边的图标叫做mindmaster.png.

第二,用户想要的是这样的结果,直接列出最近常用.便于快速输入

image.png

但是/emoji操作比":+首字母"繁琐.
所以真正的需求是通过":+ 图标首字母"直接列出的结果,上部分显示最近常用表情,下面展示按英文字母排序的表情.

而 1.5.5 内测版本中,既不显示最近常用,排序规则也很奇怪.

@Vanessa219
Copy link
Member Author

是不是 emoji 的文件夹中包含了 r 字母?

搜索的时候把常用表情不进行过滤,固定加在前面如何?

@Elliootalderson
Copy link

图一中的第一排的图标名称中都含有r字母, 但r字母不在首位的图片名和r在首位的图片没有先后顺序.导致尽可能输入全名"right_arrow"才能确认到图标顺位第一.
实际上,可以把搜索的表情,分类为常用表情和所有表情(过滤常用表情),两者按字母A~Z优先级排序,并且常用表情中在符合字母优先级的基础上,按最近使用进行排序,对于我经常使用"right_arrow"这个表情而言,我只需" :r "就能匹配到搜索结果的第一顺位"right_arrow"

@Elliootalderson
Copy link

换句话说,直接把"/emoji+表情"的搜索结果移到" :+表情"就大致可以满足了.
"/emoji+表情"操作过程按键多
" :+表情"操作过程按键少.

@Vanessa219
Copy link
Member Author

稍后把文件名排除,再加入常用表情,感谢反馈

@Vanessa219 Vanessa219 reopened this Dec 2, 2021
@Elliootalderson
Copy link

Elliootalderson commented Dec 6, 2021

1638799216860.mp4

输入emoji后,当前块前面的文字被清空
版本 1.5.5 aphla3

@Vanessa219
Copy link
Member Author

感谢反馈,下个版本修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants