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

Improve document tag adding interaction #13311

Closed
gradypark86 opened this issue Nov 29, 2024 · 8 comments
Closed

Improve document tag adding interaction #13311

gradypark86 opened this issue Nov 29, 2024 · 8 comments
Assignees
Milestone

Comments

@gradypark86
Copy link

gradypark86 commented Nov 29, 2024

页面添加多个标签时可一次性完成

In what scenarios do you need this feature?

页面添加标签后应保持标签添加状态,便于输入其他标签。

Describe the optimal solution

当前页面上方添加标签,输入一个标签 Enter 后,标签输入框即消失,添加其他标签需要重新点击 + 添加标签 ,在添加多个标签时十分繁琐。
使用过的涉及标签的软件一般在 Enter 后上屏所输入标签,并依然保持输入焦点在标签输入框上清空之前所输入内容,此时输入其他内容可直接创建标签。

例:页面添加标签 test1 test2 test3

siyuan 现在的情况:

  1. 在页面上方点击“添加标签”,输入 test1Enter
  2. 再次点击“添加标签”,输入 test2Enter
  3. 再次点击“添加标签”,输入 test3Enter

较理想情况:

  1. 页面上方点击“添加标签”,输入 test1Enter,输入 test2Enter,输入 test3Enter

Describe the candidate solution

No response

Other information

No response

@88250
Copy link
Member

88250 commented Nov 30, 2024

用英文逗号 , 分隔就可以一次性添加了:

image

image

@88250 88250 closed this as completed Nov 30, 2024
@TCOTC
Copy link
Contributor

TCOTC commented Nov 30, 2024

不过不能搜索

@TCOTC
Copy link
Contributor

TCOTC commented Nov 30, 2024

@88250 末尾输入逗号的话会创建一个空标签:

image

Vanessa219 added a commit that referenced this issue Dec 1, 2024
@gradypark86
Copy link
Author

感谢回复,尝试了一下确实是可行的。但在实际使用中有如下几个问题:

  1. 如上面老哥所说,缺失了标签搜索功能,如果是比较长的标签需手动打成和原有标签一模一样后再 ,
  2. 必须使用英文逗号,在输入多个中文标签时需要频繁变换中西文标点符号。

易用性上与常规方式相比确实有一些欠缺,希望老板在有时间时可以优化一下这里。

@88250 88250 reopened this Dec 2, 2024
@88250 88250 added this to the 3.1.15 milestone Dec 2, 2024
@88250 88250 changed the title 页面添加多个标签时可一次性完成 Improve document tag adding interaction Dec 2, 2024
@TCOTC
Copy link
Contributor

TCOTC commented Dec 2, 2024

空标签还没修好:

video.webm

@Vanessa219 Vanessa219 assigned 88250 and Vanessa219 and unassigned Vanessa219 and 88250 Dec 4, 2024
@Vanessa219
Copy link
Member

Vanessa219 commented Dec 4, 2024

这个需要 @88250 后端修改一下

空标签还没修好:

video.webm

还有这里也顺便修改一下

image

@Vanessa219
Copy link
Member

@gradypark86 鉴于以下原因,支持回车后标签面板不消失,可以继续输入。

  1. 逗号分割以后就不好搜索了
  2. 中文的话可能会存在标签本身包含中文的情况

@TCOTC
Copy link
Contributor

TCOTC commented Dec 11, 2024

@Vanessa219 如果搜索出来的标签已经被添加了,我觉得可以在后面显示一个

video.webm

然后这个空标签还是有问题:

video.webm

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

4 participants