NotePlan / NotePlan/plugins

Task Sorting: allow to run from templates with parameters (without asking user)

Aperta
#618 22 commenti 0 reazioni 1 assegnatario Vedi su GitHub

Nessuno ha ancora preso questa issue.

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

Descrizione

The Todo List for the plugin says "Sort tasks via template call". I'm asking for some of that to be included. In particular for just the "Sort tasks under heading (choose)" command.

At the moment running this template tag
<% await DataStore.invokePluginCommandByName("sortTasksUnderHeading","dwertheimer.TaskSorting",["Home"]) -%>
requires me to select Heading and then sort order.
I want to be able to pass these in as parameters to avoid these questions popping up when running in template.

Currently running v1.1.0.

Related bugs
  1. The documentation doesn't mention the available command "Sort tasks on the page "
  2. Note that in the plugin.json the command name includes a space at the end. This will make it difficult to use it correctly from template tags.

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.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.