NotePlan / NotePlan/plugins

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

Offen
#345 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
204
Forks
82
Ø Merge
22 Std. 27 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, den Befehl /atb und die Logik zur Kalenderverfügbarkeit von AutoTimeBlocking nachzuverfolgen, und prüfe anschließend, wie das Preferences-Pane Benutzereinstellungen speichert. Bestätige, ob derzeit alle Kalender einbezogen werden, und entscheide dich für einen Ansatz mit Include- oder Ignore-Präferenzen. Als erledigt gilt die Aufgabe, wenn die Präferenz konfiguriert werden kann und /atb Blöcke nur anhand der ausgewählten Kalender plant.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
desktop
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.