AutoTimeBlocking feature request: Add user preference to indicate which calendars to reference when running /atb

未关闭
#345 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
desktop

调研方向

首先跟踪 /atb 命令和 AutoTimeBlocking 的日历可用性逻辑,然后检查 Preferences 面板如何存储用户设置。确认当前是否包含所有日历,并选择 include 或 ignore 偏好设置方案。当可以配置该偏好设置,且 /atb 仅使用选定的日历来安排时间块时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

First, thank you for the AutoTimeBlocking plugin, @dwertheimer! I have just been testing it, and this is wonderful.

Is your feature request related to a problem? Please describe.

I have many "calendars" in my Calendar.app, mostly hosted and synced via iCloud, but some through other providers as well.

When I run /atb the time blocking algorithm appears to consider the content of all calendars. So, for example, if I have a shared "Family" calendar that includes things like "Kids at school from 8am to 3pm" then the /atb command thinks I am not available to start fielding tasks until 3pm, so the first time block will be placed at 3pm. This limits the usefulness of the AutoTimeBlocking plugin for me, since most days will already appear to be "fully booked", since all calendars are considered.

First, is my understanding of the logic here correct?

Second, currently, are all user calendars considered? (e.g. iCloud but also from other accounts?)

If my understanding is correct so far, then I'd request…

Describe the solution you'd like

I would love to see a user preference for specifying which calendars to consider/include when running /atb and determining availability for placing time blocks. This could be in the Preferences pane, ideally some sort of checklist where the user could tick off which calendars should be included, e.g.:

  • Personal
  • Work
  • Family

Describe alternatives you've considered

Alternatively, it may be simpler to implement a text input box to indicate calendar names, e.g.:

Names of calendars to consider when scheduling time blocks (case-sensitive, comma separated)
Personal, Work

This is more flexible, but would require users to key in the calendar names precisely.

Another option could be to implement this as calendars to be excluded — i.e. as an ignorelist:

Names of calendars to ignore when scheduling time blocks (case-sensitive, comma separated)
Family

主要语言
JavaScript
星标
204
派生
82
平均合并
22 小时 27 分钟
30 天内合并 PR
3

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NotePlan/plugins 的其他 Issue

查看 NotePlan/plugins 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。