Skip to content

Commit 723f4f3

Browse files
committed
Journalling Helpers v1.15.1
1 parent 607f569 commit 723f4f3

6 files changed

Lines changed: 241 additions & 315 deletions

File tree

‎jgclark.DailyJournal/CHANGELOG.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@ _Please also see the Plugin [README](https://github.com/NotePlan/plugins/blob/ma
33

44
<!-- TODO: improved flexibility of questions -->
55

6-
## [1.0.0] - 2025-10-10
7-
_I've somewhat arbitrarily promoted this to v1.0 -- though I think it deserves it after 4.5 years. Renamed it to "Journalling Helpers Plugin"._
6+
## [1.15.1] - 2025-10-16
7+
### Added
8+
- review questions can include `<boolean>`s, e.g. `#closedRings<boolean>`. The text gets included in the output if you answer "Yes" to the question "Was '#closedRings' done?'
9+
### Dev notes
10+
- refactored the journal questions code to be shorter and easier to maintain
11+
12+
## [1.15.0] - 2025-10-10
13+
_I've somewhat arbitrarily promoted this to v1.15 from v0.15 -- though I think it deserves it after 4.5 years. Renamed it to "Journalling Helpers Plugin"._
814
### Added
915
- new **/dayEnd**, **/todayEnd** and **/weekEnd** commands, that run pre-set Templates (like /dayStart etc.). These can be useful for review or summary questions and/or tidy up operations.
1016
### Changed

‎jgclark.DailyJournal/README.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ The NotePlan website has good [articles on getting started with Templates](https
1414

1515
For more details of the tag commands you can use in a Template, including a list of events, a quote-of-the-day or summary weather forecast, see the [full Templating Documentation](https://noteplan.co/templates/docs).
1616

17-
??? start-of-day ... after previously setting up a template
18-
1917
### /dayStart & /todayStart commands
20-
These commands make it quicker to apply a Template at the start or end of a day or week. The names of the Templates to use are set in the Plugin Settings pane, referring to Template names stored in the special NotePlan `Templates` folder. (This command has become less necessary since NotePlan v3., which introduced [auto-inserting of templates into new calendar notes](https://help.noteplan.co/article/229-auto-insert-templates).)
18+
These commands make it quicker to apply a Template at the start or end of a day or week. The names of the Templates to use are set in the Plugin Settings pane, referring to Template names stored in the special NotePlan `Templates` folder. (This command has become less necessary since about NotePlan v3.17, which introduced [auto-inserting of templates into new calendar notes](https://help.noteplan.co/article/229-auto-insert-templates).)
2119

2220
- **/todayStart**: applies your 'Daily Note' Template only to _today's_ calendar note, no matter what note you're editing.
2321
- **/dayStart** appends your 'Daily Note' Template to the _currently open daily note_ (or today's note if you're not editing a daily note). Therefore, be careful using it on another calendar note than today using template tag commands like `<%- date... / formattedDate... %>` or `<%- weather() %>` -> because this renders the TODAY content!
@@ -49,6 +47,7 @@ This string includes both the questions and how to lay out the answers in the no
4947
- `<string>` asks for a string
5048
- You can also add bulletpoints with an identifier e.g. `-(thoughts) <string>` where the identifier doesn't get rendered. (The identifier is there to work out which question the user currently is on.)
5149
- `<mood>`select one of the configured moods
50+
- `<done>` will include the rest of the text in the line and will be included in the output if you answer "Yes" to the "Yes"/"No" question about it
5251
- `<subheading>` includes the given string as `### Subheading`.
5352

5453
Other notes:

‎jgclark.DailyJournal/plugin.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"plugin.author": "Jonathan Clark",
99
"plugin.url": "https://github.com/NotePlan/plugins/blob/main/jgclark.DailyJournal/README.md",
1010
"plugin.changelog": "https://github.com/NotePlan/plugins/blob/main/jgclark.DailyJournal/CHANGELOG.md",
11-
"plugin.version": "1.0.0",
12-
"plugin.lastUpdateInfo": "v1.0.0: Rename to 'Journalling Helpers Plugin'. Add new '/dayEnd', '/todayEnd' and '/weekEnd' commands, that run pre-set Templates for Reviews, Summaries or Tidy Up.\nv0.15.1: New 'Journalling: update plugin settings' command for use on iOS/iPadOS. v0.15: Added support for Monthly, Quarterly and Yearly review questions. v0.14: Added /weekStart command. \nv0.13: Added support for /weekReview, /monthReview and /quarterlyReview, each of which have settings for their different Review Questions. /dayStart now uses the template's location field to determine where in the note to insert.",
11+
"plugin.version": "1.15.1",
12+
"plugin.lastUpdateInfo": "v1.15.1: Add support for '<boolean>' in review questions.\nv1.15.0: Rename to 'Journalling Helpers Plugin'. Add new '/dayEnd', '/todayEnd' and '/weekEnd' commands, that run pre-set Templates for Reviews, Summaries or Tidy Up.\nv0.15.1: New 'Journalling: update plugin settings' command for use on iOS/iPadOS. v0.15: Added support for Monthly, Quarterly and Yearly review questions. v0.14: Added /weekStart command. \nv0.13: Added support for /weekReview, /monthReview and /quarterlyReview, each of which have settings for their different Review Questions. /dayStart now uses the template's location field to determine where in the note to insert.",
1313
"plugin.dependencies": [],
1414
"plugin.script": "script.js",
1515
"plugin.isRemote": "false",

‎jgclark.DailyJournal/src/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function init(): void {
4242
}
4343
}
4444

45-
export function onSettingsUpdated(): void {
45+
export async function onSettingsUpdated(): Promise<void> {
4646
// Placeholder only to stop error in logs
4747
}
4848

0 commit comments

Comments
 (0)