Tasks not showing completed date

I don’t know if this is something I need to configure, but on the Silverbullet demo page when a task is completed it shows a checkmark emoji and the date it was completed at the end of the line like:

However, in my own instance this has never been the case. It just strikes through the text. I’m running 0.10.4

check this out https://silverbullet.md/Space%20Script@6003

I just found it yesterday. It is actually using space-script with task:change hooks, the full script on the website

Ahh well that explains it. Thanks for your help!

Hello this subject really interested me, but the link seems broken from my PC: after a reindex animation in the toolbar, I just get a blank page (and the toolba)

Do you still have access to it ?
I am specially interested in an entry documentation point documentation concerning the available hooks. Maybe you have an alternative link ?

The possibilities of sliberbullet seem very large but I am struggling to find the entry points concerning the API in general. I suppose I miss something…

The link is out dated due to silverbullet.md site update to v2.

Use this link: https://v1.silverbullet.md/Space%20Script@6003

I have not tried the script but if you run into issues and are on SilverBullet v2, post in v2: Troubleshooting.

I think I miss something:
I am using SilverBullet 2.3
I thought space-scipt was replaced by space-lua.

I tried to write a space-lua script inspired by yours,
but I keep bumping into
silverbullet or self not defined errors.

Where could I find an example of a space-script handling an event ?
Where shall I find the proper existing event to use ?

This might be of help to you if you are running v2. This is a similar script in space-lua which adds the completed date/timestamp to the task when you check the task, and removes it when you uncheck it.

Currently the task:StateChange has a known issue in which the event isn’t fired for task which are not on the current page

1 Like