How to add a button to the "untagged" pill's context menu dropdown?

In the sidebar, under More → Tags, we have “untagged” pill

Screen Shot 2022-04-16 at 00.10.35

I want to add a button to the “untagged”.

I understand that tagging a tiddler with $:/tags/TagDropdown, changes the context menu of tags dropdown. Like this

But which tag or which tiddler do I need to edit to change the dropdown menu of “untagged”?

Hi @talha131 there’s no direct support for adding entries to the untagged popup. The best approach instead would be to override the shadow tiddler $:/core/ui/UntaggedTemplate to add your own logic:

https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FUntaggedTemplate

Generally, overriding shadow tiddlers is a last resort when other approaches to customisation will not work. In this particular case, the danger is merely that your override would mean that any future core improvements to the untagged dropdown wouldn’t show up for you, but it seems unlikely that that could be a problem.