That's possible, yeah! It's what I've outlined above.. For example the core
edit button is this: $:/core/ui/Buttons/edit

You can go search for that tiddler at $:/AdvancedSearch —> Shadows tab,
navigate to it, and at the dropdown menu, choose to clone it. That'll make
a /copy/ of it which you can inject the hide-sidebar-action into.

This /copy/, change the caption text a bit so you can differentiate it from
the core edit button, then rename it to something else (up to you).

Then, you can go to:

$:/ControlPanel —> Appearance —> Toolbars —> View Toolbar

And from there, uncheck the core edit button, and make sure that your
/copy/ is checked (you'd be able to tell which is yours if you changed the
caption text of your /copy/).

Please let me know if this is unclear hehe I wish to help you with this.
Button editting was my first forage into tiddlywiki ui design and i'm
getting nostalgic.

-jd


On Mon, Aug 3, 2020, 03:24 amreus, <harley...@gmail.com> wrote:

> Hi JD,
>
> Thanks so much for the help.
>
> I also would prefer not to touch the core buttons but instead create
> alternative buttons which the user could choose to add to the toolbars. I
> don't know if that's possible yet.
>
>
> On Sunday, August 2, 2020 at 3:03:12 PM UTC-4, JD wrote:
>>
>> Hi! I deleted my previous reply to correct some things:
>>
>> You can clone these tiddlers (they are tagged *$:/tags/EditToolbar* or
>> *$:/tags/ViewToolbar*) and inject the hide-sidebar-action right before
>> the closing *</$button>* tag
>>
>> *add show sidebar action*:
>> $:/core/ui/Buttons/cancel
>> $:/core/ui/Buttons/delete
>> $:/core/ui/Buttons/save
>>
>> *add hide sidebar action*:
>> $:/core/ui/Buttons/edit
>> $:/core/ui/Buttons/clone
>> $:/core/ui/Buttons/new-here
>> $:/core/ui/Buttons/new-here
>> $:/core/ui/Buttons/new-journal
>>
>> Then create these, with all of them having text: *hide *(so no core
>> button gets overwritten):
>>
>> $:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/edit
>> $:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone
>> $:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here
>> $:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here
>> $:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal
>>
>> $:/config/EditToolbarButtons/$:/core/ui/Buttons/cancel
>> $:/config/EditToolbarButtons/$:/core/ui/Buttons/delete
>> $:/config/EditToolbarButtons/$:/core/ui/Buttons/save
>>
>> Then all of the above buttons you can package as you wish!
>>
>> In effect it's like you've replaced the core buttons with your own. I
>> might go this direction with FS plugin but I'm not sure.. I don't want to
>> interfere much with the Toolbar buttons hehe and I'm looking for a
>> different experience (single-tiddler editting without using zoomin view and
>> with sticky editor toolbar and general cleaner interface)
>>
>> - jd
>>
>>
>> On Monday, August 3, 2020 at 12:45:58 AM UTC+9, amreus wrote:
>>>
>>> With recent discussions about editing full-screen, would it be a simple
>>> solution to modify the "Edit this tiddler" button trigger the "Hide
>>> sidebar" button, and then toggle back the sidebar on either save tiddler or
>>> discard buttons?
>>>
>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/OzlHFYjLPhk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/8cac3f0d-b56b-477d-b42e-adf1e6d75124o%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/8cac3f0d-b56b-477d-b42e-adf1e6d75124o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAOAd_aWW1ReZwbadJjaasHq%2BsqXPpapvWVFK397prijYhGLgfw%40mail.gmail.com.

Reply via email to