Thanks Tony.

For the record, I've decided to take the following route:

   1. Open the shadow tiddler *$:/core/ui/Buttons/more-tiddler-actions*
   2. Modify the list filter inside of this shadow tiddler so that it 
   excludes the list items I don't want to see

I've also made a copy of the modified shadow tiddler's text field in a 
separate tiddler in case I ever need to bring back my changes.

If I ever need to bring back the "factory" version, all I need to do is 
delete the modified (overwritten) shadow tiddler. That's the beauty of 
shadow tiddlers in general.

Now I only have the stuff that I need:

[image: modified.png]


Thanks everyone for your help. Issue solved.

By the way, the built in class *.tc-drop-down* causes the More tiddler 
actions dropdown to overflow viewport on mobile, because its max-width is 
set to 380px for some reason. Most mobile browsers in mobile view have a 
viewport width of 360px today, so I've targeted that with a media query in 
my own stylesheet like below, but that's an unrelated note to anyone 
interested:

@media (max-width: 650px) {
    .tc-drop-down {
        min-width: 360px;
    }
}

Regards,
Hubert






On Sunday, 19 April 2020 00:24:44 UTC+1, TonyM wrote:
>
> Hubert,
>
> A good design approach is to rule something into existence rather than 
> hacking the default behavior to rule something out. Its a bit more long 
> winded but would be a more versatile option.
>
>    - Create a new More Drop down menu and add only the buttons you want 
>    in the new more dropdown
>    - Hide the standard more drop down button from display on the view 
>    toolbar.
>    - With a little reference to the current methods you could have 
>    another "more toolbar" settings like the current.
>
> I have actually done this before.
>
> Regards
> Tony
>
> On Sunday, April 19, 2020 at 8:30:36 AM UTC+10, Hubert wrote:
>>
>> Thank you all.
>>
>> I should have stressed that I'm only interested in what's shown when 
>> clicking on the "More actions" button. I'm not trying to hide this button 
>> itself or any other button on the same level for that matter. I am trying 
>> to hide what's *revealed* by the "More actions" button (stuff "beneath" 
>> it).
>>
>> Birthe, you've actually pointed me in the right direction -- I do need to 
>> edit the filter in the shadow tiddler 
>> *$:/core/ui/Buttons/more-tiddler-actions* by manually removing 
>> references to anything I don't need. I'll do that tomorrow and think this 
>> should do the trick. Thank you!
>>
>> PS. Mat, although that's not exactly what I needed, it's great that 
>> you've spotted the UI inconsistency there by the way.
>>
>> Thanks again to everyone for your involvement :)
>>
>> Regards,
>> Hubert
>>
>> On Saturday, 18 April 2020 22:48:13 UTC+1, Mat wrote:
>>>
>>> Hubert, as the others correctly point out, you set it where they state. 
>>> What is not clear, however, is that unchecked items *means* that it 
>>> goes into the more dropdown. IMO this UI is not clear. I'll post an issue 
>>> on github.
>>>
>>> <:-)
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bf9f361e-50aa-49cb-8d8c-f9e7be216b04%40googlegroups.com.

Reply via email to