to modify the mobile view:
modify $:/core/ui/SideBarLists
to include the link catcher:
<<qualify "$:/state/tab/sidebar">>
*<$linkcatcher set="$:/state/sidebar" setTo="no" message="tm-navigate">*
<$macrocall $name="tabs"
tabsList="[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]"
default={{$:/config/DefaultSidebarTab}} state="$:/state/tab/sidebar" />
</$linkcatcher>
</div>
for the desktop view modify $:/tesseract/Moments/DesktopSidebarPopup:
*\define sidebarbtnclose()<$action-setfield
$tiddler="$:/tesseract/Moments/DesktopSidebarPopup"
display="hide"/><$action-setfield
$tiddler="$:/tesseract/Moments/animate.css"
titleiconindex="2"/>\end<$linkcatcher actions=<<sidebarbtnclose>>
message="tm-navigate">*
<$reveal type="match"
state="$:/tesseract/Moments/DesktopSidebarPopup!!display" text="show"
retain="yes">
all the best BJ
On Thursday, December 8, 2016 at 5:39:12 AM UTC+1, Riz wrote:
>
>
>
> On Thursday, 8 December 2016 04:55:03 UTC+5:30, Danielo Rodríguez wrote:
>>
>> Very good job! Works almost perfect on mobile.
>>
>
> Thank you :-)
>
> Close the sidebar when I click on a link
>>
> I wanted this too. The hurdle is, most of the core tabs lists links.
> However I suspect that there could be a mechanism involving the LinkCatcher
> Widget. There was no examples given in the tiddlywiki.com, so I never
> figured out how to use it. In the end I doubt if it can be achieved without
> modifying all core tabs and creating a template for all user created tabs.
> I would be happy to be proven wrong.
>
>
>> I would like to have bigger buttons on the sidebar
>>
> This can be achieved as usual, I have not kept most of the tabs native -so
> something like
> .tc-sidebar-lists .tc-tab-buttons button {font-size:20px !important}
> will get you what you want.
>
>
>
>> I would prefer to have the search bar outside of the sidebar.
>>
> Where would you rather it be? Better, can you show a mobile website with
> searchboxes placed in a manner you would prefer?
>
>
>> Thank you very much for for your work on theming and making them usable
>> for mobile users, whose are usually leaved apart.
>>
>
> I remember your rant sometime back!!
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/8e4f4b47-5887-4a21-9345-a51a453c1271%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.