Bike 2 feature request

Hi all!

I hope this is small enough to make it before official release.

It would be wonderful if Bike 2 did this:
When I use the Add link to row command, I’d like to be able to type a date that does not yet have a node and have that node be created just like it is if I click the calendar date. This way I can link tasks and memos to future dates I haven’t added anything for yet.

For added sugar:
I’d love it if there was an option for each date node to have a set of backlinks precede the first row under the node (this could be generalised actually). Another way of doing this would be an extension in sidebar – might be better for generalised purposes.

I think this specific scenario won’t work. It means you would need to insert logic into add link command, and there isn’t a mechanism for that.

What I think will work so to instead just add your own “Add Link to Date” command that does what you want. Here’s an AI generated sketch of how it can work add-link-to-date.bkext.zip (2.9 KB)

And generally for me it does work, except when you click on one of the generated links the link won’t resolve. The problem is calendar day ID’s have / and that breaks current Bike link resolution. I have that fixed for next Bike release… so once that’s in place then the links should work too.

Making use of the above extension does require that you setup extension kit and build/install the extension using that kit.

I think this is the best route. And should be a pretty small amount of code with the new session.d.ts API that’s now available in DOM context. I don’t remember where you are in extension dev experience… let me know if you need pointers.

1 Like

Thanks for this!

I am in the “haven’t started looking” experience bracket… And I don’t do much coding at the best of time. But I like to try to parcel things together although it takes forever ;).

I’ll give all this a look when I have more free time available. If I come up with anything good I will share of course.