Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
JackGruber committed Oct 9, 2021
2 parents 0fadc8c + a3e5c5a commit ae1a300
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## not released

## v1.5.4 (2021-10-09)

- Fix: Default value for `Update on Joplin sync`

## v1.5.3 (2021-10-09)

- Add: Option `Update on Joplin sync` to start the Noteoverview update after Joplin syncronisation
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ Settings for the plugin, accessible at `Tools > Options > Note overview`.
| `Show note count` | Show the number of notes found. | `off` |
| `Note count text` | Text for the display of the found notes, `{count}` is replace with the number of matched notes. | `Note count: {{count}}` |
| `Update interval in minutes` | How often the overview notes should be updated. | `5` |
| `Update on Joplin sync` | Update the Noteoverview after a Joplin syncronisation. Independent of the update interval. | `No` |
| `Field status: open todo` | Text for the `status` field, when the todo is not completed. | |
| `Field status: todo completed` | Text for the `status` field, when the todo is completed. | |
| `Field status: todo over due` | Text for the `status` field, when the due date of the todo is exceeded. | |
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "joplin-plugin-note-overview",
"version": "1.5.3",
"version": "1.5.4",
"scripts": {
"dist": "webpack --joplin-plugin-config buildMain && webpack --joplin-plugin-config buildExtraScripts && webpack --joplin-plugin-config createArchive",
"prepare": "npm run test && npm run dist && husky install",
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 1,
"id": "io.github.jackgruber.note-overview",
"app_min_version": "1.8.1",
"version": "1.5.3",
"version": "1.5.4",
"name": "Note overview",
"description": "A note overview is created based on the defined search and the specified fields.",
"author": "JackGruber",
Expand Down
4 changes: 3 additions & 1 deletion src/noteoverview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,9 @@ export namespace noteoverview {

export async function updateOnSyncComplete() {
logging.verbose("onSyncComplete Event");
logging.verbose(await joplin.settings.value("updateOnSync"));
logging.verbose(
"updateOnSync: " + (await joplin.settings.value("updateOnSync"))
);

if (!firstSyncCompleted) {
logging.verbose("firstSyncCompleted");
Expand Down
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export namespace settings {
description: "0 = disable automatic note overview creation",
},
updateOnSync: {
value: "off",
value: "no",
type: SettingItemType.String,
section: "noteOverviewSection",
isEnum: true,
Expand Down

0 comments on commit ae1a300

Please sign in to comment.