[tw5] Re: Modifying the "More actions" menu

2020-04-19 Thread Hubert
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bf9f361e-50aa-49cb-8d8c-f9e7be216b04%40googlegroups.com.


[tw5] Re: Modifying the "More actions" menu

2020-04-18 Thread TonyM
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/45e99778-cae1-4ed6-8548-e0c6548555eb%40googlegroups.com.


[tw5] Re: Modifying the "More actions" menu

2020-04-18 Thread Hubert
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/afece12e-0ac5-4cda-bbb6-1e8a18e2b2ef%40googlegroups.com.


[tw5] Re: Modifying the "More actions" menu

2020-04-18 Thread Mat
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/712d4bc0-3713-4395-b6e4-0b7a4c0c7afd%40googlegroups.com.


[tw5] Re: Modifying the "More actions" menu

2020-04-18 Thread TonyM
The tag $:/tags/ViewToolbar places any button on the view toolbar. Removing 
that tag removes it from the toolbar.

'<>' allows you to view and open the tiddlers.

Regards
Tony 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d45483bb-f7a7-4c5c-8951-36ed6d9510d5%40googlegroups.com.


[tw5] Re: Modifying the "More actions" menu

2020-04-18 Thread 'Mark S.' via TiddlyWiki
Under control panel, appearance, toolbars, view toolbar you can set and 
unset items to appear on your tiddler toolbar.
You can even drag and drop items to rearrange the order in which they 
appear.

On Saturday, April 18, 2020 at 12:41:43 PM UTC-7, Hubert wrote:
>
> Hello,
>
> I'd like to hide some options shown in the "More actions" list of a 
> tiddler:
>
> [image: more_actions.png]
>
>
> I don't remember there being an option to toggle any of these items in the 
> Control Panel.
>
> I did find a couple of shadow tiddlers that I could modify (some of which 
> are already set to "hide" for some reason) or remove their relevant tag(s) 
> but thought I would ask here first in case there was a cleaner (and a 
> reversible) solution.
>
> Thank you!
> Hubert
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0bff91e0-8a1c-44f8-b99f-219801e0f3a3%40googlegroups.com.


[tw5] Re: Modifying the "More actions" menu

2020-04-18 Thread Birthe C
Hubert,

When upgrading it is not good to have overwritten shadow tiddlers. But you 
could edit $:/core/ui/Buttons/more-tiddler-actions. Edit the list filter.
Birthe

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/75f5f134-3ffe-40b6-91ea-edd092444b4f%40googlegroups.com.