Plugin: Journal

This is why I actually use a really simple bash script to capture things to my scratch notebook, it just uses the joplin terminal commands. I'll then format it and clear it out later. I have the script bound to a shortcut so it opens anywhere.

#!/bin/bash
joplin use @scratch
read -p 'Title: ' title
read -p 'Text: ' text
joplin mknote "$title"
joplin set "$title" body "$text"
1 Like

Thanks for sharing your experience.

Yes i have something like this with Espanso for now (linux + windows)

Is it possible to have two journal with this plugin? For example, I have "personal journal" and "work journal".

This is what I want too. But I have to say sorry to you, it has a lot of work to do to implement this feature. I'm not available in near feature.

Maybe someday I'll rewrite this plugin to make it feature rich.

Thanks.

2 Likes

Thank you for the replied and thank you for the plugin. I will keep an eye out for the day of the rewrite of this plugin.

I have been trying your plugin and I think it is perfect as it is.

If you end up making a feature rich version, please can we retain the current version for us simple souls to continue using?

Many thanks for your efforts.

Hi @cornsplicer, I'm glade that you like this plugin.

And, the current features are also what I am using everyday, and will be kept in newer version.

By the way, each version would be available here Releases · leenzhu/joplin-plugin-journal · GitHub, if someday you feel the newer versions are too bloated, you could still download the old versions, and install them.

Many thanks for the reply. I'll rest easy now.

The option/cmd/D keyboard shortcut in Journal used to open a Journal note for today, isn't working any longer...

Option/cmd/D is now part of Apple multitasking shortcuts and opens the Dock when Hiding is turned on. Perhaps option/cmd/T (for Today) could be a replacement?

Alternatively, I can use the menu or option/cmd/O, click the date and click OK.

Yes I encountered this problem the other day. My suggestion is to go into Joplin/Preferences/Keyboard shortcuts/Journal today and change the keystroke combination. In my case I just added "Shift" to the string and it now works fine.

I just opened an issue to have the ability to use time elements (hour, 24hour, min, sec) in the default note name. I like having multiple journal notes/day with the date AND time in the note name. The default note naming already partially supports this ability. I put more tech details in the issue.

Thanks for a great plugin!
Dean

@DeanH Thanks for pointing out this issue. I was planning to support time at the beginning, buf after fixing timezone(UTC/Local) problem, I forgot to implent it. I'll try to complete it latter.

Hi @DeanH, now you can use {{hour}}, {{hour12}} with {{ampm}}, {{min}} and {{sec}} in the default note name.

Please have a try about the latest version: https://github.com/leenzhu/joplin-plugin-journal/releases/download/v1.1.2/com.leenzhu.journal.jpl

Since selection of seconds in calendar dialog is not support, when you choose datetime from the dialog, the {{sec}} is always '0'。

The plugin isn't working at all WHEN the weekdayNames contain non-latin characters, emojis, etc. The menu actions do nothing at all.

Looking at index.ts' weekdayName var, especially lines 64-68 and line 135 it seems there should be no harm to unicode characters.

How can I troubleshoot this issue?

Thanks!

Hi @RenatoXSR,

In weekName config section, the character ,' (comma) is used as a seperator, just like a CSV file uses ,'(comma) for fileds seperator.

while each weekday name could be emojis, eg: :rage:,Mon,Tue,Wed,Thu,Fri,Sat


image

I haven't tried all cases of non-latin characters, but I think the weekName could be any character other than ASCII comma.

Thanks a lot for this useful plugin...

A little bug anyway...

After a try, in order to have something "clean", I deleted some months' notebooks in the Journal notebook...
After that when I use "open another day's note" and choose a day in a month I deleted, the new days is not created in the Journal month's notebook (not created again by the plugin) but directly inside... the trash (in the month's notebook deleted) !!!

1° I start Journal

2° I use "Open today's note"


=>

3° I delete the June (today's month) notebook


=>

4° I use "Open another day's note"


and choose a day in June

=> nothing happen !

It's broken !!! Impossible to open a day in June. But I can open a day in another month not already deleted...

If I empty the trash : everything works again..

Sometimes the behavior of the bug is a bit different : it creates the new days directly inside the deleted month in the trash itself !!!

So there's a big bug with trash and Journal....

Thanks for report this issue.

After checking the database, I found that the folder that been deleted still has the same parent_id as before. And also I found there is deleted_time property to indicate whether the folder has been deleted. I'll fix it by checking this property.

2 Likes

Great plugin! I use it almost daily.
One thing would make it perfect: a button on the toolbar to open today's note!
Thanks for creating this!

1 Like

It't not that difficult to implement this feature on the technical side. But I'm not sure whether it is suitable to add a button on the toolbar, as I think the toolbar is used for editing.