Note overview

Add a space after sort: the sort: created_time DESC

1 Like

That worked (also after "search:"). Thank you. This is such a useful plugin. But I will suggest the parser should probably be less picky about whitespace.

1 Like

v1.4.3 (2021-05-17)

  • Fix: #12 Prevent note live update on Rich Text (WYSIWYG) editor, which leads to the deletion of the note overview code block.

Hi,

Portable Joplin 2.0.2 (prod, win32)
Note overview v1.4.3

I have a problem with the plugin. All of a sudden, it stopped working.
I mean, nothing happens anymore when I run Tools > Create note overview, or Ctrl+Shift+O. It's simply dead, inerte.
I don't know when it happened, since I didn't need to check my overview notes these last few weeks.

An example :
I had this search for a long time

<!-- note-overview-plugin
search: -tag:*
fields: title, updated_time
sort: updated_time DESC
-->

which was returning 5 notes.

Last week, I added a bunch of notes. Today, I wanted to find the ones with missing tags.
That's where I noticed that the overview note had not been updated. Same things for a few other overvieuw notes.

(Doing a simple search with Joplin, I know that I have now 10 notes without tags.)

What I've tried :

  • Create a brand new note, run the command, no effect.
  • Check the console : can't see any meaningful error, warning, but I can't be sure.
  • Delete the plugin, reinstall, no effect.
  • Run a new instance of Joplin Portable, install and run the plugin... and it works.

So something's wrong with my current installation ?
But at his point, I don't know where to look, what to do.

Any advice ?
Thanks.

@blank

Which Joplin version?
Are empty tables created?
The search return a result in the Joplin search field?

Portable Joplin 2.0.2 (prod, win32)
Note overview v1.4.3

No table : if I run the plugin in a new note, the note stays totally empty. Nothing happens.

Yes, when I search for -tags:* in the Joplin field search, it returns 10 notes.

@blank

  1. Go in to you JoplinProfile\cache
  2. copy the folder io.github.jackgruber.note-overview somewhere outside the cache folder
  3. Delte the note overview plugin in the plugin settings
  4. ENter the path to the copied io.github.jackgruber.note-overview folder into Tools>Plugins>Development plugins>Development plugins under advanced settings
  5. restart Joplin

Now you should get a debug console for the plugin, do you see an error there, pr could you post the output?

Done. Here is the output from the console

plugin_io.github.jackgruber.note-overview.js:279 Note overview plugin started!
DevTools failed to load SourceMap: Could not load content for file:///C:/Users/admin/AppData/Local/Temp/1sqvHInucrYkNtoPvX7AfEW3A6Q/resources/app.asar/services/plugins/sandboxProxy.js.map: 
plugin_io.github.jackgruber.note-overview.js:279 Set timer
plugin_io.github.jackgruber.note-overview.js:279 Run create note

Could you please export one of your overview notes, because the plugin can't find any overview note.

Sure, I made a jex export of one note, but then ? You want me to send it ? If so, where ?

Correct

You can post the JEX her or send me a direct message with the file.

OK we have found a bug, according to the showCompletedTodos setting.

2 Likes

OK, so I just re-enable Show completed to-dos and the plugin runs again with no problem.
Thanks a lot @JackGruber ! Impressive follow-up !

2 Likes

What version of Joplin is required for this plugin? I haven't been able to find that requirement documented anywhere - can you point me in the right direction?

image

Joplin 1.7.11 (prod, linux)

Client ID: xxx
Sync Version: 2
Profile Version: 34
Keychain Supported: No

Revision: f560563 (master)

Thank you!

From version 1.4.0 is the required version from joplin 1.8.1
Due to a bug a plugin can be updated to a not compatible version.
You can install the v1.3.4 from the GitHub release page or update your Joplin to the pre-release version.

Gotcha, thanks. I'll wait; can't afford to jeopardize my notes on pre-release software.

Just FYI, the current stable release of Joplin is v1.8.5. It was moved out of pre-release about 2 weeks ago

2 Likes

Turns out I had the older AppImage somewhere, and still was using the old shortcut. Thanks for pointing that out!

Thanks, I have completely overseen the release v1.8.5.

Dears,

still love this plugin, gives me daily joy and ease of mind.

One question though: How could I search my notes for "Meetings today" and "Meetings tomorrow and in the near future"?

Unfortunatley, with notes, I have no field "due_date" available. I usually write the date/time in the title, like "210601 | 0845-0900 | Install Joplin".

This code:

<!-- note-overview-plugin search: tag:meeting title:210601 fields: notebook, title sort: title ASC -->

gives me today's meetings.

And this code filters according to day, but also includes today's meetings:

<!-- note-overview-plugin
search: tag:meeting title:21060*
fields: notebook, title
sort: title ASC
-->

Any ideas how to separate these two?

Cheers,

CoarseGrater