Hello all,
I’ve been using the Command Palette plugin for several months now, and am generally very happy with it. However, I also make frequent use of “ghost” tiddlers - that is, missing tiddlers that use view templates to display content based on their name scheme or their relationships to other existing tiddlers. I’m thus hoping to modify the Command Palette to let me navigate to missing tiddlers as well (including missing tiddlers that may not be referenced by any hardlinks).
I’m envisioning either…
- an additional “exact” category displayed at the top of the results, where the title is just the unformatted text I’ve typed in the search box, or
- no additional “results” displayed; instead, hitting Enter while in the Command Palette simply takes me to the tiddler with the current input text as its title, whether or not this tiddler actually exists. This would be in contrast to the current behavior, where hitting Enter takes you to the top search result unless another result has been manually selected.
I did a little fruitless experimentation with $:/plugins/souk21/commandpalette/CommandPaletteSearchSteps
, which looked like it might govern the search results displayed, but I don’t know Javascript and don’t entirely understand the plugin’s internal function. Would I have to edit $:/core/modules/widgets/commandpalettewidget.js
to add this functuality?
Thanks in advance for any pointers!
(P.S. It was unclear to me whether this post would be more appropriately filed under the Plugins category, or whether that’s intended solely for developers. If I’ve misjudged, feel free to move it!)