Skip to content

Tag renaming supports listing search candidates #14518

Closed
@frostime

Description

@frostime
Contributor

Tag 菜单中增加一个“变更为”的按钮,允许快速选择已经存在的 tag 进行重命名

In what scenarios do you need this feature?

Image

目前对块内的 tag 的重命名需要用户完整手打;但是有时候我希望的只是把 tag 转移为另一个同样已经存在的 tag 而已

Describe the optimal solution

添加一个 Menu 菜单,列举已经存在的 tag,让用户选择已经存在的 tag 进行变更。

Describe the candidate solution

No response

Other information

No response

Activity

88250

88250 commented on Apr 7, 2025

@88250
Member

Image

你的意思是这里添加下拉候选吗?

frostime

frostime commented on Apr 7, 2025

@frostime
ContributorAuthor

Image

你的意思是这里添加下拉候选吗?

可以这样。
另外建议下拉候选框中的标签排序可以更智能化,例如同为嵌套标签时,优先将相同层级的标签排列在前面显示等等。

88250

88250 commented on Apr 7, 2025

@88250
Member

好的,估计后面考虑了,先记录下。

changed the title [-]Tag 菜单中增加一个“变更为”的按钮,允许快速选择已经存在的 tag 进行重命名[/-] [+]Tag renaming supports listing search candidates[/+] on Apr 7, 2025
TCOTC

TCOTC commented on Apr 7, 2025

@TCOTC
Contributor

@frostime 你想要有候选的是重命名当前标签还是重命名整个工作空间的标签?把工作空间的 #TODO 全改了我感觉有点不对啊

frostime

frostime commented on Apr 7, 2025

@frostime
ContributorAuthor

@frostime 你想要有候选的是重命名当前标签还是重命名整个工作空间的标签?把工作空间的 #TODO 全改了我感觉有点不对啊

自然是只改那一个;重命名全部标签的功能目前已经有了

88250

88250 commented on Apr 7, 2025

@88250
Member

呃,重命名是全局重命名,只重命名一个的话删了重新 # 搜索吧。

frostime

frostime commented on Apr 7, 2025

@frostime
ContributorAuthor

呃,重命名是全局重命名,只重命名一个的话删了重新 # 搜索吧。

那就给标签添加一个‘合并到’的功能如何?本质上也是重命名 ,但是从交互来看实际上就是把全局的标签全部转换为另一个已经存在的标签。

**

Image

**

关键是有一个首选项列表可以用来选择。

TCOTC

TCOTC commented on Apr 7, 2025

@TCOTC
Contributor

给标签添加一个‘合并到’的功能

本质上就是重命名的窗口支持显示候选列表

frostime

frostime commented on Apr 7, 2025

@frostime
ContributorAuthor

给标签添加一个‘合并到’的功能

本质上就是重命名的窗口支持显示候选列表

也可以这么理解

88250

88250 commented on Apr 7, 2025

@88250
Member

ok,后面考虑

frostime

frostime commented on Apr 15, 2025

@frostime
ContributorAuthor

I may have found a solution to your problem. You can look here click Hope this helped

The guy provided an unfamiliar website URL to me, I don't know if there is potential risks.🙄

Image

Image

TCOTC

TCOTC commented on Apr 15, 2025

@TCOTC
Contributor

肯定是有问题的

Image

added a commit that references this issue on Apr 17, 2025
added this to the 3.1.28 milestone on Apr 17, 2025
TCOTC

TCOTC commented on Apr 17, 2025

@TCOTC
Contributor

效果如下:

Image

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@frostime@TCOTC

      Issue actions

        Tag renaming supports listing search candidates · Issue #14518 · siyuan-note/siyuan