I’m going to update some aspects of Bike links (that is links to a Bike document). Looking for feedback: @complexpoint @jonsterling @eno.
It’s come up a number of times that the current behavior of focusing the link row isn’t always what is wanted. Also sometimes people want links to open in separate windows. Also in future (not working on it yet) it would be nice to include a query (find this text, or filter this outline) in link.
The current Bike linking options are:
- Link just to document
bike://Q36Hafdn
- Link to specific document row and focus it
bike://Q36Hafdn#zz
- When activating a link (from within Bike) you can Command-Click to open in new tab and Command-Option-Click to open in new window.
To make link options more flexible I think I will stop (I will backwards support it though) including the linked row as a fragment. Instead I will start supporting optional focus
and select
query params. So for example the above row link would become:
bike://Q36Hafdn?focus=zz
- or if you want to select instead of focus
bike://Q36Hafdn?select=zz
This brings into question which to use as default. One thought is when copying a link include the selected row as select
and if the view where the link is copied from is focused then also include a separate focused row. Does that seem right? It means you link to the “view” that you are looking at when creating the link.
I think I will also support a target
query param, that will allow current|tab|window
options. I don’t think I’ll support different target options in link creating UI to start with, but it will at least be an option if you are creating your own links.
Thoughts?