Skip to content

Distinguish the type of task list block and normal list block #1015

Closed
@hackerhui

Description

@hackerhui

你在什么场景下需要该功能? In what scenarios do you need this function?

目前我使用动态查询功能在当天的日记中将所有的笔记中和任务有关的内容查询显示在当天的日记笔记中。
希望可以区分任务列表和普通列表,以及列表当前的状态
目前我的作法是采用标签的方式

描述最优的解决方案 Describe the optimal solution

动态查询内容类型区分任务列表与其他列表
查询任务列表是否完成条件的查询支持
如果被引用的内容如果可以设置显示被引用的块所在文档标题,目前为鼠标移动上去显示,那么ToDo功能就相当完美了,可以配合日记+模板完美实现

Activity

88250

88250 commented on Jan 11, 2021

@88250
Member

的确,这个问题我们也考虑一段时间了,似乎是有必要把任务列表块独立类型,我们后面再考虑一下,应该会改的这部分。

目前可以通过查询 markdown 字段(不使用 content 字段),markdown 是原始内容,然后 LIKE %[ ]% OR LIKE '%[x]%' 来实现捞任务。

self-assigned this
on Jan 11, 2021
changed the title [-]内容块动态查询区分任务列表和其他列表[/-] [+]内容块类型区分任务列表和其他列表[/+] on Jan 11, 2021
added this to the 0.9.5 milestone on Feb 8, 2021
changed the title [-]内容块类型区分任务列表和其他列表[/-] [+]Distinguish the type of task list block and normal list block[/+] on Feb 8, 2021
88250

88250 commented on Feb 10, 2021

@88250
Member
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@hackerhui

      Issue actions

        Distinguish the type of task list block and normal list block · Issue #1015 · siyuan-note/siyuan