NotePlan / NotePlan/plugins

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

Aperta
#345 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
JavaScript
Stelle
204
Fork
82
Merge medio
22h 27m
PR unite (30g)
3

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia tracciando il comando /atb e la logica di disponibilità dei calendari di AutoTimeBlocking, quindi esamina come il pannello Preferences memorizza le impostazioni dell'utente. Verifica se attualmente sono inclusi tutti i calendari e scegli un approccio basato su una preferenza di inclusione o di esclusione. Il lavoro è completato quando la preferenza può essere configurata e /atb pianifica blocchi utilizzando solo i calendari selezionati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
desktop
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.