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

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

Closed
hackerhui opened this issue Jan 11, 2021 · 2 comments
Closed

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

hackerhui opened this issue Jan 11, 2021 · 2 comments
Assignees
Milestone

Comments

@hackerhui
Copy link

hackerhui commented Jan 11, 2021

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

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

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

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

@88250
Copy link
Member

88250 commented Jan 11, 2021

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

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

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

88250 commented Feb 10, 2021

#1481

@88250 88250 closed this as completed Feb 10, 2021
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