-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for controlling metadata rendering in the query (#278)
* refactor query & parsing Refactor query parsing to be more reusable and structured. Also convert the sorting to an enum to make it easier to use. * add 'show' to query definition and parser This enum will be define which elements of the task to render in a given query. By default, we render all of them (due date, tags, project, description). * make query available via Svelte context This means we can avoid prop-drilling it * use query show parameters in task renderer This allows finer grained control of what gets rendered in the task list * misc bugfix around datetime parsing If there was no datetime, then some of the parsing would fail * update readme & changelog
- Loading branch information
1 parent
6edcde6
commit 91aeb03
Showing
15 changed files
with
405 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.