One of my pet peeves with the UI is when you click on the gear icon⚙️ and up comes $:/ControlPanel . Likewise the search button
and you get $:/AdvancedSearch… I know these are system tiddlers but as part of the UI - i’d like to have better titles on these since they are used frequently … Likewise if I need a configuration component in a plugin - I’d also like a clean title but keep it hidden as a system tiddler
Well now I can … first I cloned the tiddler $:/core/ui/ViewTemplate/title/default and tweaked the wikitext a little so it is now :
\whitespace trim
<h2 class="tc-title">
<$vars caps="([A-Z]+)">
{{{ [<currentTiddler>split[/]last[]search-replace:g:regexp<caps>,[ $1]trim[]] }}}
</$vars>
</h2>
Shout out to @EricShulman who solved how to de-camelcase a given string in this topic
Then I cloned the cascade filter $:/config/ViewTemplateTitleFilters/system and changed it to point to the new tiddler created above (example below)
[prefix[$:/]then[$:/plugins/ceebee/nakedtypes/ui/ViewTemplate/title/system]]
That feels so much better !!
