haydenull / logseq-plugin-agenda

A calendar, task manager and daily planner plugin for logseq
https://agenda.haydenhayden.com
MIT License
844 stars 44 forks source link

识别 block 中的时间点 Identify time points in a block #276

Open yoghurtdewdew opened 8 months ago

yoghurtdewdew commented 8 months ago

Search first

What Happened?

兼容读取 block 开头的时间点显示为日历视图中的(开始/结束)时间(我的习惯:是将 logbook 中的结束时间 即任务完成时间放在 block 内容的前面)

重复的时间点可以考虑隐藏显示

Compatible with reading the time point at the beginning of the block to be displayed as the (start/end) time in the calendar view (my habit: to put the end time in the logbook, that is, the task completion time, in front of the block content

Duplicate time points can be considered hidden display

Reproduce the Bug

在同时启用 logbook 和把时间点放在 block 中时 When enabling logbook and placing time points in block at the same time

Screenshots

image

Environment Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

haydenull commented 8 months ago

感谢建议。

插件的目标是可能贴近 logseq 的原生语法,提供方便的日历看板视图管理任务。

这种自定义的语法短期内还没有计划。不过我理解 backlog 已经有详细的时间信息了,为什么还要手动写呢。

yoghurtdewdew commented 8 months ago

我使用了一款插件 DONE task property(ID: logseq-plugin-confirmation-done-task),可以将完成时间直接打在 block 上,这样在 journal 里更直观的可以看到当天几点看了什么,也可以在 Linked 里 看今天干了哪天没做完的事。

但这些在日历视图中就不太简洁了,所以我在想有咩有可能日历中隐藏block 行首的时间日期信息以及 markdown 符号

image