You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dwertheimer.EventAutomations/plugin.json
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@
5
5
"plugin.name": "🗓 AutoTimeBlocking / Events",
6
6
"plugin.description": "Various Event Automations:\n- Automatically find time in your calendar and create Time Blocks for items marked for today,\n- Write out synced copies of Today's todos (without the AutoTimeBlocking), and\n- Create calendar events for all text items under a specific heading",
7
7
"plugin.author": "dwertheimer",
8
-
"plugin.version": "1.20.0",
9
-
"plugin.lastUpdateInfo": "1.20.0: Add timeframes tags to have tasks placed in a time of day (see readme). Also Sort todos by priority then date (oldest to newest), then duration. Bug fix: Ignore backlinks which are not todos",
8
+
"plugin.version": "1.21.0",
9
+
"plugin.lastUpdateInfo": "1.21.0: Add Manual Ordering mode (orders todos in today's note by the order in the note) -- feature request from @Thor\n Previously:\n- Add timeframes tags to have tasks placed in a time of day (see readme). Also Sort todos by priority then date (oldest to newest), then duration. Bug fix: Ignore backlinks which are not todos",
"description": "PRIORITY_FIRST places the highest priority (most !'s) first (if there's a slot) and then continues down the priority stack. LARGEST_FIRST tries to place the longest/largest duration item first. BY_TIMEBLOCK_TAG will try to slot items into a pre-existing timeblock that matches a tag on the task (e.g. a pre-existing timeblock called \"production\" and a task \"* do something #production\"). Will then fall back to PRIORITY_FIRST if no matching timeblock is found.",
351
+
"description": "PRIORITY_FIRST places the highest priority (most !'s) first (if there's a slot) and then continues down the priority stack. LARGEST_FIRST tries to place the longest/largest duration item first. BY_TIMEBLOCK_TAG will try to slot items into a pre-existing timeblock that matches a tag on the task (e.g. a pre-existing timeblock called \"production\" and a task \"* do something #production\"). Will then fall back to PRIORITY_FIRST if no matching timeblock is found. MANUAL_ORDERING limits tasks to ones in today's note and orders them in the order they appear in the note.",
`generateTimeBlocks after getTimeBlockTimesForEvents; eventsToTimeblock.timeMap.length=${eventsToTimeblock.timeMap.length}, eventsToTimeblock.blockList.length=${
logDebug(pluginJson,` getTodaysFilteredTodos: todosInNote Found ${todosInNote.length} items in today's note. Adding them to the possibilities.`)
133
+
clof(todosInNote,`getTodaysFilteredTodos todosInNote filtered to open`,['filename','type','content'],true)
132
134
// we want to eliminate linked lines (for synced lines on the page)
133
135
// because these should be in the references from other pages
134
136
// but it's possible that this is a normal task in the note that is not in references, so for now, commenting this filter out
@@ -141,7 +143,8 @@ export function getTodaysFilteredTodos(config: AutoTimeBlockingConfig): Array<TP
141
143
todosInNote=todosInNote.filter((todo)=>!isTimeBlockLine(todo.content))// if a user is using the todo character for timeblocks, eliminate those lines
142
144
todosInNote=todosInNote.filter((todo)=>!newRegExp(timeBlockTag).test(todo.content))// just to be extra safe, make sure we're not adding our own timeblocks
0 commit comments