NotePlan / NotePlan/plugins

Task Sorting: make error warning optional

Open
#714 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
204
Forks
82
Avg merge
22h 27m
Merged PRs (30d)
3

Description

This plugin has "Sort tasks under heading (choose)" command. I use it in my "Daily Timely info" template to re-order tasks carried-in from previous days, using
<% await DataStore.invokePluginCommandByName("Sort tasks under heading (choose)", "dwertheimer.TaskSorting", ["CCC", ["-priority", "content"]]) -%>

On my day off this isn't relevant, and there is no "CCC" heading in the note. And so every time there's a warning pop-up.

Please could you make a way so I can suppress this pop up?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation of the “Sort tasks under heading (choose)” command and inspect how it handles a missing “CCC” heading. Use the provided DataStore invocation as the reproduction case; done means the command can optionally suppress its warning while retaining the current warning behavior by default.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.