[tw5] Drag n' drop links from browser to TW

2018-09-12 Thread nakedmind
Hi there!

Currently when I drag an html link from a browser into the text editor 
within a tiddler I'm editing, I get the link URL.

Is it possible to modify this behavior so that something like this: 

 *[[Text of the link|URL of the link]]*

is inserted instead?

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/72236acb-4e5f-487a-94c9-d7c0d8465fab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Return a literal or new title from a filter?

2018-09-12 Thread TonyM
Eric,

Thanks, this is a great work around for, However I have potentially very 
large filters if I use this method. I would prefer to be able to use;

[has[item-completed]title[SOME_LITERAL_VALUE]]

Because I would like to have something like this

"[has[item-cancelled]title[Cancelled]] [has[
item-completed]title[Completed]] [!has[item-cancelled]!has[
item-completed]has[item-started]title[Started]]"

(So we get Cancelled and/or Closed) OR Started

Actually Thinking about this I need a more sophisticated macro.

Thanks for the working solution.

Regards
Tony


On Thursday, September 13, 2018 at 1:22:51 PM UTC+10, Eric Shulman wrote:
>
> On Wednesday, September 12, 2018 at 7:08:44 PM UTC-7, TonyM wrote:
>>
>> *Does anyone know another way to return a value as a result of a 
>> condition in the middle of a filter?*
>>
>
> Try this:
> [has[item-completed]removeprefixaddprefix[
> SOME_LITERAL_VALUE]]
>
> let me know how it goes...
>
> enjoy
> -e
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/b98f67c9-bb8d-4302-9da8-4071434c12a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Return a literal or new title from a filter?

2018-09-12 Thread Eric Shulman
On Wednesday, September 12, 2018 at 7:08:44 PM UTC-7, TonyM wrote:
>
> *Does anyone know another way to return a value as a result of a condition 
> in the middle of a filter?*
>

Try this:
[has[item-completed]removeprefixaddprefix[
SOME_LITERAL_VALUE]]

let me know how it goes...

enjoy
-e

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/7c2f6109-f5f1-4771-b54c-5e328b139695%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Return a literal or new title from a filter?

2018-09-12 Thread TonyM
Folks,

I am working on and idea to return status values for a given tiddler 
according to the result of a filter.

Most of you would be familiar with a filter such as this;

[has[item-completed]get[item-completed]]

Basically when the current tiddler has the field item-completed (containing 
a value) we Get the content of that field.

We can then display the content of  item-completed ONLY for tiddlers that 
meet the condition "has[item-completed]". Basically we say when this 
condition is true return this.

I was thinking what if we could simply return a literal, or title when the 
condition is true, so I Instinctively tried

[has[item-completed]title[completed]]

Hoping for this the return the value "completed" which may or may not be 
the title of a tiddler. Alas it does not work. It simply returns completed 
for every item in the list. The condition test is forgotten.

I have tried variations like
[has[item-completed]get{shortname!!item-completed}]
where the tiddler shortname has a field item-completed with the value 
"completed"

Unfortunately what I have tried so far always ignores the condition before 
hand 

There are plenty of "work around's", nested lists etc.. However such 
behaviour would be helpful

*Does anyone know another way to return a value as a result of a condition 
in the middle of a filter?*

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 post to this group, send email to tiddlywiki@googlegroups.com.
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/1aeae676-2f26-4728-b8bd-5512809d7e03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: [TW5] Bob version 1.0.5 Salt Bagels, or I should probably let people know about the plugin library

2018-09-12 Thread Arlen Beiler
How does the websockets work? Do you have it setup for data folders or just
for the main Bob wiki. I don't know how Bob works (sorry, I should, I
know), but I am trying to implement a standard interface for plugins to
communicate with the server in a server-agnostic way, and I'm curious what
your thoughts are.

On Mon, Sep 10, 2018, 19:34 @TiddlyTweeter  wrote:

> Thanks Jed. Just FYI my specific, limited, use case is to have a "test
> Bob" that is basically vanilla. My main Bob is now quite populated with
> loads of custom settings. I use the the "vanilla" to check I haven't messed
> up by testing one thing at a time. Usually I would not start 2 Bob at the
> same time--no point. But I DO think a additional vanilla Bob is quite good
> for checking stuff?
>
> --
> 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 post to this group, send email to tiddlywiki@googlegroups.com.
> 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/314db3d1-4dfb-4ac8-99e8-d60c73acf16e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/CAJ1vdSQeYxu%2Bwr_p4fvzFJqSEMW-FXrdetNyiHuDs0mDiww%2BUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I make toc category obey "empty" after exclusion? Also, is there a way to sort by title only if no caption exists?

2018-09-12 Thread TonyM
ps In my own filter I needed 

"[all[current]has[caption]get[caption]] 
[all[current]!has[caption]get[title]] +[sort[]]"


Regards
Tony

On Thursday, September 13, 2018 at 10:48:01 AM UTC+10, TonyM wrote:
>
> Nice Filter!
>
> On Thursday, September 13, 2018 at 3:18:12 AM UTC+10, Mark S. wrote:
>>
>> It sounds like you have things mostly sorted out.
>>
>> A filter like this might allow you to sort by caption or title (whichever 
>> is present):
>>
>> [has[caption]get[caption]] [!has[caption]get[title]] +[sort[]]
>>
>> Just remember, that if you use caption then there might be more than one 
>> tiddler that uses that caption and you can't form a standard link based on 
>> the caption name.
>>
>> Good luck!
>> -- Mark
>>
>> On Tuesday, September 11, 2018 at 6:31:21 PM UTC-7, S H Chang wrote:
>>>
>>> I should have scrutinised my code before posting here. There was a 
>>> mistake in <>; it didn't have 
>>> the list for "empty" children. I've also realised that it should be 
>>> !tag[Log]!visibility[hidden] instead. I've added that to the macro so now 
>>> it looks like this:
>>>
>>> \define toc-linked-selective-single-expandable-body(tag,sort:"",
>>> itemClassFilter:" ",exclude,path)
>>> <$set name="toc-state" value=<>>
>>>   <$set name="toc-item-class" filter="""$itemClassFilter$""" emptyValue=
>>> "toc-item" value="toc-item-selected" >
>>> >>
>>>   <$link>
>>>   <$list filter=
>>> "[all[current]tagging[]!visibility[hidden]!tag[Log]limit[1]]" variable=
>>> "ignore" emptyMessage="<$button 
>>> class='tc-btn-invisible'>{{$:/core/images/blank}}">
>>>   <$reveal type="nomatch" state=<> text=<<
>>> currentTiddler>>>
>>> <$button set=<> setTo=<> 
>>> class="tc-btn-invisible 
>>> tc-popup-keep">
>>>   {{$:/core/images/right-arrow}}
>>> 
>>>   
>>>   <$reveal type="match" state=<> text=<<
>>> currentTiddler>>>
>>> <$button set=<> setTo="x-all-close" 
>>> class="tc-btn-invisible 
>>> tc-popup-keep">
>>>   {{$:/core/images/down-arrow}}
>>> 
>>>   
>>> 
>>> <>
>>>   
>>>   <$reveal type="match" state=<> text=<>>
>>> <$macrocall $name="toc-selective-single-expandable" tag=<<
>>> currentTiddler>> sort="""$sort$""" itemClassFilter=
>>> """$itemClassFilter$""" exclude="""$exclude$""" path="""$path$"""/>
>>>   
>>> 
>>>   
>>> 
>>> \end
>>>
>>> \define toc-unlinked-selective-single-expandable-body(tag,sort:"",
>>> itemClassFilter:" ",exclude,path)
>>> <$set name="toc-state" value=<>>
>>>   <$set name="toc-item-class" filter="""$itemClassFilter$""" emptyValue=
>>> "toc-item" value="toc-item-selected">
>>> >>
>>>   <$list filter=
>>> "[all[current]tagging[]!visibility[hidden]!tag[Log]limit[1]]" variable=
>>> "ignore" emptyMessage="<$button 
>>> class='tc-btn-invisible'>{{$:/core/images/blank}} <$view 
>>> field='caption'><$view field='title'/>">
>>> <$reveal type="nomatch" state=<> text=<<
>>> currentTiddler>>>
>>>   <$button set=<> setTo=<> 
>>> class="tc-btn-invisible 
>>> tc-popup-keep">
>>> {{$:/core/images/right-arrow}}
>>> <>
>>>   
>>> 
>>> <$reveal type="match" state=<> text=<>> >>>
>>>   <$button set=<> setTo="close" class="tc-btn-invisible 
>>> tc-popup-keep">
>>> {{$:/core/images/down-arrow}}
>>> <>
>>>   
>>> 
>>>   
>>>   <$reveal type="match" state=<> text=<>>
>>> <$macrocall $name="""toc-selective-single-expandable""" 
>>> tag=<> sort="""$sort$""" 
>>> itemClassFilter="""$itemClassFilter$""" exclude="""$exclude$""" 
>>> path="""$path$"""/>
>>>   
>>> 
>>>   
>>> 
>>> \end
>>>
>>> \define toc-selective-single-expandable-empty-message()
>>> <>> """$(sort)$""" itemClassFilter:"""$(itemClassFilter)$""" exclude:
>>> """$(excluded)$""" path:"""$(path)$""">>
>>> \end
>>>
>>> \define toc-selective-single-expandable(tag,sort:"",itemClassFilter,
>>> exclude,path)
>>> <$vars tag="""$tag$""" sort="""$sort$""" itemClassFilter=
>>> """$itemClassFilter$""" excluded="""$exclude$ -[[$tag$]]""" path=
>>> """$path$/$tag$""">
>>>   
>>> <$list filter="""[all[shadows+tiddlers]tag[$tag$]!has[draft.of]$sort$] 
>>> -[[$tag$]] $exclude$""">
>>>   <$list filter="[all[current]toc-link[no]]" variable="ignore" 
>>> emptyMessage=<> >
>>> <$macrocall $name=toc-unlinked-selective-expandable-body tag=
>>> """$tag$""" sort="""$sort$""" itemClassFilter="""$itemClassFilter$""" 
>>> exclude=<> path=<> >
>>>   
>>> 
>>>   
>>> 
>>> \end
>>>
>>> Hopefully it might help someone out in future.
>>>
>>> As for the second question I have, I suppose it's not possible. What I 
>>> had in mind when I posted was that the toc would sort alphabetically, but 
>>> it would use the caption's value if there were one, else the title. I've 
>>> decided to just use the list field for all the parents.
>>>
>>

-- 
You received this message because 

Re: [tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-12 Thread Arlen Beiler
Maybe we should add a feature where it saves a render of the startup
tiddlers which will display until the render tree is up and running.

I wonder if it is possible to show a progress indicator as well, but the
code we're talking about here is completely synchronous.

I also wonder what would happen if we compiled it all into one file using
something like webpack. I'm sure we could write our own because most
modules have the same environment.

On Wed, Sep 12, 2018, 22:29 @TiddlyTweeter  wrote:

> Mark S. wrote:
>>
>> TiddlyWiki in general is slow for me on my circa 2012 Samsung devices.
>> Takes 20 to 30 seconds to load a stand-alone TW file.
>>
>
> I don't mind waiting once in a while as I now know the bang for buck. But
> IF it were my first time testing it, as a possible future user, its a
> complete and utter turn off.
>
> --
> 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 post to this group, send email to tiddlywiki@googlegroups.com.
> 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/f444f706-3ad7-4a5d-9c82-33a701a31a48%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/CAJ1vdSQdsm%3D6QnCnsA31wfTBhKVvnTxLG%3Dd2g2B%2BHf4Nt6r3zw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I make toc category obey "empty" after exclusion? Also, is there a way to sort by title only if no caption exists?

2018-09-12 Thread TonyM
Nice Filter!

On Thursday, September 13, 2018 at 3:18:12 AM UTC+10, Mark S. wrote:
>
> It sounds like you have things mostly sorted out.
>
> A filter like this might allow you to sort by caption or title (whichever 
> is present):
>
> [has[caption]get[caption]] [!has[caption]get[title]] +[sort[]]
>
> Just remember, that if you use caption then there might be more than one 
> tiddler that uses that caption and you can't form a standard link based on 
> the caption name.
>
> Good luck!
> -- Mark
>
> On Tuesday, September 11, 2018 at 6:31:21 PM UTC-7, S H Chang wrote:
>>
>> I should have scrutinised my code before posting here. There was a 
>> mistake in <>; it didn't have 
>> the list for "empty" children. I've also realised that it should be 
>> !tag[Log]!visibility[hidden] instead. I've added that to the macro so now 
>> it looks like this:
>>
>> \define toc-linked-selective-single-expandable-body(tag,sort:"",
>> itemClassFilter:" ",exclude,path)
>> <$set name="toc-state" value=<>>
>>   <$set name="toc-item-class" filter="""$itemClassFilter$""" emptyValue=
>> "toc-item" value="toc-item-selected" >
>> >>
>>   <$link>
>>   <$list filter=
>> "[all[current]tagging[]!visibility[hidden]!tag[Log]limit[1]]" variable=
>> "ignore" emptyMessage="<$button 
>> class='tc-btn-invisible'>{{$:/core/images/blank}}">
>>   <$reveal type="nomatch" state=<> text=<<
>> currentTiddler>>>
>> <$button set=<> setTo=<> 
>> class="tc-btn-invisible 
>> tc-popup-keep">
>>   {{$:/core/images/right-arrow}}
>> 
>>   
>>   <$reveal type="match" state=<> text=<> >>>
>> <$button set=<> setTo="x-all-close" 
>> class="tc-btn-invisible 
>> tc-popup-keep">
>>   {{$:/core/images/down-arrow}}
>> 
>>   
>> 
>> <>
>>   
>>   <$reveal type="match" state=<> text=<>>
>> <$macrocall $name="toc-selective-single-expandable" tag=<<
>> currentTiddler>> sort="""$sort$""" itemClassFilter=
>> """$itemClassFilter$""" exclude="""$exclude$""" path="""$path$"""/>
>>   
>> 
>>   
>> 
>> \end
>>
>> \define toc-unlinked-selective-single-expandable-body(tag,sort:"",
>> itemClassFilter:" ",exclude,path)
>> <$set name="toc-state" value=<>>
>>   <$set name="toc-item-class" filter="""$itemClassFilter$""" emptyValue=
>> "toc-item" value="toc-item-selected">
>> >>
>>   <$list filter=
>> "[all[current]tagging[]!visibility[hidden]!tag[Log]limit[1]]" variable=
>> "ignore" emptyMessage="<$button 
>> class='tc-btn-invisible'>{{$:/core/images/blank}} <$view 
>> field='caption'><$view field='title'/>">
>> <$reveal type="nomatch" state=<> text=<> >>>
>>   <$button set=<> setTo=<> 
>> class="tc-btn-invisible 
>> tc-popup-keep">
>> {{$:/core/images/right-arrow}}
>> <>
>>   
>> 
>> <$reveal type="match" state=<> text=<> >>>
>>   <$button set=<> setTo="close" class="tc-btn-invisible 
>> tc-popup-keep">
>> {{$:/core/images/down-arrow}}
>> <>
>>   
>> 
>>   
>>   <$reveal type="match" state=<> text=<>>
>> <$macrocall $name="""toc-selective-single-expandable""" 
>> tag=<> sort="""$sort$""" 
>> itemClassFilter="""$itemClassFilter$""" exclude="""$exclude$""" 
>> path="""$path$"""/>
>>   
>> 
>>   
>> 
>> \end
>>
>> \define toc-selective-single-expandable-empty-message()
>> <> """$(sort)$""" itemClassFilter:"""$(itemClassFilter)$""" exclude:
>> """$(excluded)$""" path:"""$(path)$""">>
>> \end
>>
>> \define toc-selective-single-expandable(tag,sort:"",itemClassFilter,
>> exclude,path)
>> <$vars tag="""$tag$""" sort="""$sort$""" itemClassFilter=
>> """$itemClassFilter$""" excluded="""$exclude$ -[[$tag$]]""" path=
>> """$path$/$tag$""">
>>   
>> <$list filter="""[all[shadows+tiddlers]tag[$tag$]!has[draft.of]$sort$] 
>> -[[$tag$]] $exclude$""">
>>   <$list filter="[all[current]toc-link[no]]" variable="ignore" 
>> emptyMessage=<> >
>> <$macrocall $name=toc-unlinked-selective-expandable-body tag=
>> """$tag$""" sort="""$sort$""" itemClassFilter="""$itemClassFilter$""" 
>> exclude=<> path=<> >
>>   
>> 
>>   
>> 
>> \end
>>
>> Hopefully it might help someone out in future.
>>
>> As for the second question I have, I suppose it's not possible. What I 
>> had in mind when I posted was that the toc would sort alphabetically, but 
>> it would use the caption's value if there were one, else the title. I've 
>> decided to just use the list field for all the parents.
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 

[tw5] Bug? Cannot find module named '../javascript/javascript

2018-09-12 Thread TonyM
Folks,

I now have a re-occurring fault, when I load a wiki and hope someone has a 
suggestion or debug path

I get an "Internal JavaScript 
 Error" below 
the first tiddler on load

Well, this is embarrassing. It is recommended that you restart TiddlyWiki 
by refreshing your browser
Error executing boot module 
$:/plugins/tiddlywiki/codemirror/mode/htmlmixed/htmlmixed.js: "Cannot find 
module named '../javascript/javascript' required by module 
'$:/plugins/tiddlywiki/codemirror/mode/htmlmixed/htmlmixed.js', resolved to 
$:/plugins/tiddlywiki/codemirror/mode/javascript/javascript"



   - This does not exist 
   $:/plugins/tiddlywiki/codemirror/mode/javascript/javascript
   - $:/plugins/tiddlywiki/codemirror/mode/htmlmixed/htmlmixed.js can only 
   be found in the codemittor plugin 
   $:/plugins/tiddlywiki/codemirror-mode-htmlmixed
   - Disabled $:/plugins/tiddlywiki/codemirror-mode-htmlmixed
   
Actually at the moment I cant scroll to the java script error below to read 
it.

Disabling the code mirror plugin has stopped it occurring (I also have most 
modules installed) but I need its features.

Thanks in advance for some suggestions
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/968183c4-5c35-410e-ba2c-189cac490196%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Vue.js integration (plugin)

2018-09-12 Thread @TiddlyTweeter
I'll send you some data tomorrow. I looked and used the phone example. Its 
really good. 

On Thursday, 13 September 2018 02:00:04 UTC+2, Guille Rmo wrote:
>
> Ok, send me the sample data, maybe I can figure it out. 
>
> I have made a simple phonebook app to give a simple example: 
> https://rawgit.com/Guitlle/vuewiki/build/build/docs.html#Phonebook
>
> El miércoles, 12 de septiembre de 2018, 7:09:05 (UTC-6), @TiddlyTweeter 
> escribió:
>>
>> Guille
>>
>> If you have some example applications using this, we can put it in the 
>>> documentation.
>>>
>>
>> Regarding examples. The way it works is very interesting in that its 
>> quite dynamic for assembling things.
>>
>> One application that may be of interest could be to do accounts? This 
>> would need some kind of maths. 
>>
>> What I was thinking was using a Data Dictionary Tiddler with several 
>> values per line, separated by a delimiter, that vue split and assembled in 
>> a table that could total columns. Just a thought.
>>
>> I doubt I could actually code it yet. But I could give you a typical data 
>> set if you are interested.
>>
>> Best wishes
>> Josiah
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/e5e97b07-808a-41dc-a53c-1b4a9159af54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Vue.js integration (plugin)

2018-09-12 Thread Guille Rmo
Ok, send me the sample data, maybe I can figure it out. 

I have made a simple phonebook app to give a simple 
example: https://rawgit.com/Guitlle/vuewiki/build/build/docs.html#Phonebook

El miércoles, 12 de septiembre de 2018, 7:09:05 (UTC-6), @TiddlyTweeter 
escribió:
>
> Guille
>
> If you have some example applications using this, we can put it in the 
>> documentation.
>>
>
> Regarding examples. The way it works is very interesting in that its quite 
> dynamic for assembling things.
>
> One application that may be of interest could be to do accounts? This 
> would need some kind of maths. 
>
> What I was thinking was using a Data Dictionary Tiddler with several 
> values per line, separated by a delimiter, that vue split and assembled in 
> a table that could total columns. Just a thought.
>
> I doubt I could actually code it yet. But I could give you a typical data 
> set if you are interested.
>
> Best wishes
> Josiah
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/23b534de-6080-4009-992c-cffd3b652a06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: bj's visualeditor includelib path on both Windows and Mac?

2018-09-12 Thread armlet
Relative path works! This is what it looks like:


Thanks so much for the help.

On Wednesday, September 12, 2018 at 11:28:52 AM UTC-5, Mark S. wrote:
>
> On windows, I can use:
>
> 
>
> which is a relative path below the current TW file. So, if you can do the 
> same on Mac, then the same code could be used for both. (I don't have a Mac 
> to test).
>
> Windows supports junctions, and I believe Mac supports symbolic links. So 
> your source directory would not have to physically be located beneath the 
> current TW file.
>
> Good luck,
> Mark
>
> On Wednesday, September 12, 2018 at 8:35:53 AM UTC-7, armlet wrote:
>>
>> I have been using bj's visualeditor plugin on Windows, the tiddler 
>> `$:/plugin/jb/visualeditor/includelib` looks like this:
>> 
>>
>> And all related files are located in OneDrive folder and synced.
>>
>> Now I am trying to open the tiddlywiki file on mac, but that path 
>> including `C:\` obviously doesn't work. Therefore ckeditor tiddlers are not 
>> rendering. They just display 'loading ckeditor'.
>> If I modify the path to be mac format, the same problem will happen on my 
>> Windows.
>>
>> So my question is: is it possible to make the path work for both Windows 
>> and Mac?
>>
>> Thanks
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/e1f4ab77-f54e-4ad5-810e-59446e541adc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I make toc category obey "empty" after exclusion? Also, is there a way to sort by title only if no caption exists?

2018-09-12 Thread 'Mark S.' via TiddlyWiki
It sounds like you have things mostly sorted out.

A filter like this might allow you to sort by caption or title (whichever 
is present):

[has[caption]get[caption]] [!has[caption]get[title]] +[sort[]]

Just remember, that if you use caption then there might be more than one 
tiddler that uses that caption and you can't form a standard link based on 
the caption name.

Good luck!
-- Mark

On Tuesday, September 11, 2018 at 6:31:21 PM UTC-7, S H Chang wrote:
>
> I should have scrutinised my code before posting here. There was a mistake 
> in <>; it didn't have the list 
> for "empty" children. I've also realised that it should be 
> !tag[Log]!visibility[hidden] instead. I've added that to the macro so now 
> it looks like this:
>
> \define toc-linked-selective-single-expandable-body(tag,sort:"",
> itemClassFilter:" ",exclude,path)
> <$set name="toc-state" value=<>>
>   <$set name="toc-item-class" filter="""$itemClassFilter$""" emptyValue=
> "toc-item" value="toc-item-selected" >
> >>
>   <$link>
>   <$list filter=
> "[all[current]tagging[]!visibility[hidden]!tag[Log]limit[1]]" variable=
> "ignore" emptyMessage="<$button 
> class='tc-btn-invisible'>{{$:/core/images/blank}}">
>   <$reveal type="nomatch" state=<> text=<<
> currentTiddler>>>
> <$button set=<> setTo=<> 
> class="tc-btn-invisible 
> tc-popup-keep">
>   {{$:/core/images/right-arrow}}
> 
>   
>   <$reveal type="match" state=<> text=< >>>
> <$button set=<> setTo="x-all-close" 
> class="tc-btn-invisible 
> tc-popup-keep">
>   {{$:/core/images/down-arrow}}
> 
>   
> 
> <>
>   
>   <$reveal type="match" state=<> text=<>>
> <$macrocall $name="toc-selective-single-expandable" tag=<<
> currentTiddler>> sort="""$sort$""" itemClassFilter="""$itemClassFilter$""" 
> exclude="""$exclude$""" path="""$path$"""/>
>   
> 
>   
> 
> \end
>
> \define toc-unlinked-selective-single-expandable-body(tag,sort:"",
> itemClassFilter:" ",exclude,path)
> <$set name="toc-state" value=<>>
>   <$set name="toc-item-class" filter="""$itemClassFilter$""" emptyValue=
> "toc-item" value="toc-item-selected">
> >>
>   <$list filter=
> "[all[current]tagging[]!visibility[hidden]!tag[Log]limit[1]]" variable=
> "ignore" emptyMessage="<$button 
> class='tc-btn-invisible'>{{$:/core/images/blank}} <$view 
> field='caption'><$view field='title'/>">
> <$reveal type="nomatch" state=<> text=< >>>
>   <$button set=<> setTo=<> 
> class="tc-btn-invisible 
> tc-popup-keep">
> {{$:/core/images/right-arrow}}
> <>
>   
> 
> <$reveal type="match" state=<> text=<>>
>   <$button set=<> setTo="close" class="tc-btn-invisible 
> tc-popup-keep">
> {{$:/core/images/down-arrow}}
> <>
>   
> 
>   
>   <$reveal type="match" state=<> text=<>>
> <$macrocall $name="""toc-selective-single-expandable""" 
> tag=<> sort="""$sort$""" 
> itemClassFilter="""$itemClassFilter$""" exclude="""$exclude$""" 
> path="""$path$"""/>
>   
> 
>   
> 
> \end
>
> \define toc-selective-single-expandable-empty-message()
> < """$(sort)$""" itemClassFilter:"""$(itemClassFilter)$""" exclude:
> """$(excluded)$""" path:"""$(path)$""">>
> \end
>
> \define toc-selective-single-expandable(tag,sort:"",itemClassFilter,
> exclude,path)
> <$vars tag="""$tag$""" sort="""$sort$""" itemClassFilter=
> """$itemClassFilter$""" excluded="""$exclude$ -[[$tag$]]""" path=
> """$path$/$tag$""">
>   
> <$list filter="""[all[shadows+tiddlers]tag[$tag$]!has[draft.of]$sort$] 
> -[[$tag$]] $exclude$""">
>   <$list filter="[all[current]toc-link[no]]" variable="ignore" 
> emptyMessage=<> >
> <$macrocall $name=toc-unlinked-selective-expandable-body tag=
> """$tag$""" sort="""$sort$""" itemClassFilter="""$itemClassFilter$""" 
> exclude=<> path=<> >
>   
> 
>   
> 
> \end
>
> Hopefully it might help someone out in future.
>
> As for the second question I have, I suppose it's not possible. What I had 
> in mind when I posted was that the toc would sort alphabetically, but it 
> would use the caption's value if there were one, else the title. I've 
> decided to just use the list field for all the parents.
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/33fe4be9-3539-43df-b0b1-1adc5919bf5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: bj's visualeditor includelib path on both Windows and Mac?

2018-09-12 Thread 'Mark S.' via TiddlyWiki
On windows, I can use:



which is a relative path below the current TW file. So, if you can do the 
same on Mac, then the same code could be used for both. (I don't have a Mac 
to test).

Windows supports junctions, and I believe Mac supports symbolic links. So 
your source directory would not have to physically be located beneath the 
current TW file.

Good luck,
Mark

On Wednesday, September 12, 2018 at 8:35:53 AM UTC-7, armlet wrote:
>
> I have been using bj's visualeditor plugin on Windows, the tiddler 
> `$:/plugin/jb/visualeditor/includelib` looks like this:
> 
>
> And all related files are located in OneDrive folder and synced.
>
> Now I am trying to open the tiddlywiki file on mac, but that path 
> including `C:\` obviously doesn't work. Therefore ckeditor tiddlers are not 
> rendering. They just display 'loading ckeditor'.
> If I modify the path to be mac format, the same problem will happen on my 
> Windows.
>
> So my question is: is it possible to make the path work for both Windows 
> and Mac?
>
> Thanks
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/e9fe0921-2d04-405d-8cd4-f03b92b53b82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How and Why Should I Use Tags in Tiddlywiki?

2018-09-12 Thread @TiddlyTweeter

>
> h0p3 asked ... 
>
>> * How many tags in a wiki and/or per tiddler are optimal?
>
>
I can't answer that precisely because it would depend on the overall 
complexity. But, note, the more complexity you have on *render* the more 
likely your TW slows down. Its not just ADDING tags, its as much about 
calling on them via filters, I think.

Anyway, there seem two issues in your question ...

-- implied interest in performance

-- concrete wondering about numbers of tags. I don't think there is a 
simple answer. Mainly because "optimisation" is currently a very inexact 
science even in computing. FWIW I used to live with a genius of 
"Operational Research" (a branch of applied maths concerned with trying to 
solve complex problems like the "Travelling Salesman Problem" 
 of optimal 
outcomes in uncertain contexts) and even she would have difficulty with 
that one.

I think, myself, "never add a tag that is not essential." *Quite what that 
means you might be able to tell me :-)*.

I thoroughly enjoyed this thread.  It stimulated my brain.

Best wishes
Josiah

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/175589ca-32d8-4966-99cd-a0d824ad233b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to get the current (dynamic) date/time as state for the <$reveal> widget?

2018-09-12 Thread Hubert
Just what I was looking for, absolutely amazing and simpler than I thought. 
Thank you Eric!

On Wednesday, 12 September 2018 16:42:06 UTC+1, Eric Shulman wrote:
>
> On Wednesday, September 12, 2018 at 7:53:56 AM UTC-7, Hubert wrote:
>>
>> I'm trying to perform some actions based on the time of day. I'm unable 
>> to get the current date/time without resorting to a button push that sets a 
>> timestamp in a field that will serve as the state for the reveal widget.
>> Is there a way for the state text reference to automatically update or at 
>> least get wikified? When I place <> in my state tiddler, the reveal 
>> widget only returns a match if "<> is referenced directly. 
>> Matching <> as a state tiddler value with a "12" for the time 
>> returns nothing.
>>
>
> Instead of using the "state" param, use the "default" param.  This param 
> allows you to specify the state value using a variable, instead of a stored 
> tiddler field value.
>
> Thus:
>
> <$reveal default=<> type="gt" text=12> 
> It's after noon
> 
>
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
> InsideTiddlyWiki: The Missing Manuals
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/f70c6248-7683-4e0d-9236-1a3582810c77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to get the current (dynamic) date/time as state for the <$reveal> widget?

2018-09-12 Thread Eric Shulman
On Wednesday, September 12, 2018 at 7:53:56 AM UTC-7, Hubert wrote:
>
> I'm trying to perform some actions based on the time of day. I'm unable to 
> get the current date/time without resorting to a button push that sets a 
> timestamp in a field that will serve as the state for the reveal widget.
> Is there a way for the state text reference to automatically update or at 
> least get wikified? When I place <> in my state tiddler, the reveal 
> widget only returns a match if "<> is referenced directly. 
> Matching <> as a state tiddler value with a "12" for the time 
> returns nothing.
>

Instead of using the "state" param, use the "default" param.  This param 
allows you to specify the state value using a variable, instead of a stored 
tiddler field value.

Thus:

<$reveal default=<> type="gt" text=12> 
It's after noon



enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki: The Missing Manuals




Here's my code (one that involves a manual refresh button). I would be 
> grateful for suggestions. Thank you!
>
> \define RefreshButton()
> <$button actions=<>>
> Refresh
> \end
>
> \define RefreshButtonAction()
> <$action-setfield $field="timestamp" $value=<>/>
> \end
>
> <$reveal state="!!timestamp" type="gt" text=12> 
> It's after noon
> 
>
> <>
>
> Best regards,
> 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 post to this group, send email to tiddlywiki@googlegroups.com.
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/30394542-2c35-48d7-932e-53737d76c61d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] bj's visualeditor includelib path on both Windows and Mac?

2018-09-12 Thread armlet
I have been using bj's visualeditor plugin on Windows, the tiddler 
`$:/plugin/jb/visualeditor/includelib` looks like this:


And all related files are located in OneDrive folder and synced.

Now I am trying to open the tiddlywiki file on mac, but that path including 
`C:\` obviously doesn't work. Therefore ckeditor tiddlers are not 
rendering. They just display 'loading ckeditor'.
If I modify the path to be mac format, the same problem will happen on my 
Windows.

So my question is: is it possible to make the path work for both Windows 
and Mac?

Thanks

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/31c722bb-4ce6-4815-a94e-92eec622344c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How and Why Should I Use Tags in Tiddlywiki?

2018-09-12 Thread @TiddlyTweeter
h0p3 asked ... 

> * What constitutes a good tag?
>

Its worth noting that tags in TiddlyWiki are quite promiscuous. 

Meaning you can use them to (1) activate architecture (e.g. 
"$:/tag/MakeThisThingActive"), (2) to provide simple dropdown menus (e.g. 
"MyRecipies" on a dozen Tiddlers only menued via a tag dropdown), and, (3) 
specific references to Mother (i.e. "Mother"). Only item 3 accords, in 
simple form, to conventional tagging that is usually constrained by a 
context (e.g. on Twitter the hashtag always and only relates to categories 
the CONTENT of a post can be classified in. It constructs nothing.)

The flexibility of Tags in TW is very useful. And also open to going a bit 
peculiar :-).

Just thoughts
Josiah

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/27abbf74-e0bd-4272-9c7b-a69b5d30547e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How and Why Should I Use Tags in Tiddlywiki?

2018-09-12 Thread @TiddlyTweeter
h0p3 wrote ... 

* What is an obvious example of tagging being the best and irreplaceable 
> tool for the job?
>

That Beatrice Grum was your mother? :-)

title: Beatrice Grum tag: mother
Beatrice Grum was my mother.

I assume the vast majority of TW users abuse tags very hard.
>

There can be a tendency towards "tagitis". I think in practice you realise 
pretty quickly that run-away tagitis doesn't work. 

I think often its an iterative process of expansion and contraction to 
optimise a wiki reference structure. Rather than get into too much of that 
I think it would be interesting to SEE more well-designed TiddlyWiki. I 
don't think there is one solution. It depends on use cases what is 
appropriate. We just lack enough good public examples IMO.

Best wishes
Josiah

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/d1f05d5a-c50c-467a-bc48-bacdde8febbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to get the current (dynamic) date/time as state for the <$reveal> widget?

2018-09-12 Thread Hubert
Hi all,

I'm trying to perform some actions based on the time of day. I'm unable to 
get the current date/time without resorting to a button push that sets a 
timestamp in a field that will serve as the state for the reveal widget.

Is there a way for the state text reference to automatically update or at 
least get wikified? When I place <> in my state tiddler, the reveal 
widget only returns a match if "<> is referenced directly. 
Matching <> as a state tiddler value with a "12" for the time 
returns nothing.

Here's my code (one that involves a manual refresh button). I would be 
grateful for suggestions. Thank you!

\define RefreshButton()
<$button actions=<>>
Refresh
\end

\define RefreshButtonAction()
<$action-setfield $field="timestamp" $value=<>/>
\end

<$reveal state="!!timestamp" type="gt" text=12> 
It's after noon


<>

Best regards,
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/6cae99d4-ff0a-4908-96a5-403495328303%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How and Why Should I Use Tags in Tiddlywiki?

2018-09-12 Thread @TiddlyTweeter
Mark S. wrote ...

... but it's quicker out of the box to just use tags until you nail down 
> exactly what data is important for what purposes.
>

FWIW I think that is great practical advice. Tags as a step towards 
preciser refinement sounds spot-on to me.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/88669e3c-e5be-49d5-b77a-f85df5f5d127%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-12 Thread @TiddlyTweeter
Mark S. wrote:
>
> TiddlyWiki in general is slow for me on my circa 2012 Samsung devices. 
> Takes 20 to 30 seconds to load a stand-alone TW file. 
>

I don't mind waiting once in a while as I now know the bang for buck. But 
IF it were my first time testing it, as a possible future user, its a 
complete and utter turn off. 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/f444f706-3ad7-4a5d-9c82-33a701a31a48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [NodeJS][Android] TiddlyWiki takes 30 seconds to load modules in ARM architecture

2018-09-12 Thread 'Mark S.' via TiddlyWiki
TiddlyWiki in general is slow for me on my circa 2012 Samsung devices. 
Takes 20 to 30 seconds to load a stand-alone TW file. 

-- Mark

On Tuesday, September 11, 2018 at 8:58:35 PM UTC-7, Arlen Beiler wrote:
>
> I ran some tests this morning and discovered why it takes so long for 
> TiddlyWiki and TiddlyServer to load datafolders on Android with Dory and 
> Termux. Apparently there is something about the process of converting the 
> tiddlers into code that is very slow on android. TiddlyServer loads one 
> file containing all the core tiddlers and yet it takes 30 seconds to list 
> all the core tiddlers in a --prof dump file. 
>
> In other words, I ran a --prof on TiddlyServer loading a data folder, and 
> then searched for all strings starting with "$:/" and it gave me a list of 
> all the core tiddlers over a span of 30 seconds. 
>
> So this means that the filesystem is definitely not the bottle neck. I'm 
> investigating ways to improve performance. 
>
> Just thought I'd share that and see if anyone else has any input.
> Arlen
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/565a553b-7af4-4191-ad8b-4209c5697933%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Vue.js integration (plugin)

2018-09-12 Thread @TiddlyTweeter
Guille

If you have some example applications using this, we can put it in the 
> documentation.
>

Regarding examples. The way it works is very interesting in that its quite 
dynamic for assembling things.

One application that may be of interest could be to do accounts? This would 
need some kind of maths. 

What I was thinking was using a Data Dictionary Tiddler with several values 
per line, separated by a delimiter, that vue split and assembled in a table 
that could total columns. Just a thought.

I doubt I could actually code it yet. But I could give you a typical data 
set if you are interested.

Best wishes
Josiah

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/7d09e2cb-db54-4527-8121-9ede7784f27a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Off Topic] Why I Like OLD firefox

2018-09-12 Thread @TiddlyTweeter
TonyM wrote:
>
> I totaly understand your browser practice. I used to use multiple profiles 
> in firefox to do the same. Unfortunatly I found it fiddly and fragile. 
>

I think I was lucky in that I stumbled upon a great profile manager that 
worked very robustly & simply from within FF without any problems. FWIW the 
developer (a serious FF informed developer) has abandoned it because the 
new API currently lacks easy "bridging" between the Browser & the OS that 
needs to take up the slack for what has gone.

After our discussion above I finally got motivated to hazard change. I can 
see I need to deal with launching profiles from the OS level, NOT within 
the Browser, now.

One upside is that I found I can get the latest FF to run alongside FF 52 
if I start the profile from the OS correctly (with the "-no-remote" 
option). That helps as I want incremental change that makes sense. Not 
being reduced to zero just because something I can't control changed for 
its own reasons.

A complication (finally a simplicity once its working) for me is the 
standard day work I do I want to do always through a fully portable system. 
That is to do with me moving about a lot. A bad side effect of the FF 
change, not commented on much, is it kinda wiped out the (few) truly 
"portable" add-ons that can reliably use relative addressing for saving.
 

> ... I feel for you that you are now forced to rebuild your workflow 
> because of software changes out of your control.
>
>
Between FF then to FF now IS a huge leap, if you are so customised as me. 
But I'm not too concerned. I've waited for the dust to settle. And can wait 
a while more. Slowly some solutions are coming that mean I won't have to go 
back totally to ground zero.

Thanks for your message
Josiah

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/60df4b56-494d-424e-91fd-be2691543472%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to query tags?

2018-09-12 Thread Alexei R

You can start with Introduction to Lists 
 and Filters 
 ...
"*We choose* to go to the Moon in this decade *and do* the other things, *not 
because they* are *easy*, *but because they* are hard" JFK
https://www.youtube.com/watch?v=6z1DidldxUo

On Tuesday, September 11, 2018 at 5:06:26 AM UTC+3, Thomas Clark wrote:
>
> THANK YOU SO MUCH!!! Question how does one go about learning something 
> like this? I had not clue where to even beging.
>
> On Mon, Sep 10, 2018 at 9:55 PM TonyM > 
> wrote:
>
>> Thomas,
>>
>> Too Easy. TiddlyWiki.com is the first reference to use but others have 
>> provided introductory information
>>
>> 1. The list you need is
>>
>> <$list filter="[tags[]]">
>>
>>
>> 
>>
>>
>> But I expect you don't want system tiddlers, so use
>>
>> <$list filter="[tags[]!is[system]]">
>>  
>> 
>>
>>
>> But then you asked for text not links so use
>>
>> <$list filter="[tags[]!is[system]]">
>> <$view field=title format="text"/>
>> 
>>
>>
>> However prefer a list with the tag pill you can click on and see the 
>> tiddlers they tag
>>
>> <$list filter="[tags[]!is[system]]">
>> {{||$:/core/ui/TagTemplate}}
>> 
>>
>>
>> Remove the  if you do not want them to a new line break on each
>> Inside each of the lists the each tag name becomes  the "current tiddler" 
>>
>>
>> Because I must work I will leave item 2 for now.
>>
>> Tony
>>
>>
>>
>>
>> On Tuesday, September 11, 2018 at 11:08:37 AM UTC+10, Thomas Clark wrote:
>>>
>>> Hey all,
>>>
>>>  I have two questions of which are fairly simple but I am new to Tiddly 
>>> programming and need some guidance.
>>>
>>>
>>>1. Is there away to create a tiddler that contains a text list of 
>>>all tags in the database?
>>>2. Is there a way to create a tiddler that  contains data from all 
>>>tiddlers that contain  tags both A and B?  Could I also included the 
>>> tittle 
>>>from each individual tiddler to serve as a border?
>>>3. 
>>>
>>> -- 
>> 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+...@googlegroups.com .
>> To post to this group, send email to tiddl...@googlegroups.com 
>> .
>> 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/0a408c82-89c7-4ba3-b5cf-a43561d2eb44%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/77ebeebe-4617-4604-b804-2dc2c132318c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Simple Calendar Macro

2018-09-12 Thread TonyM
Did you try the pikaday plugin?

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 post to this group, send email to tiddlywiki@googlegroups.com.
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/659ed7c4-80a1-4a86-890b-79fed1199e59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Simple Calendar Macro

2018-09-12 Thread Marcus
Is there a way to use the <> macro to change the value of a 
field?

For example: <> to change the field 
agenda-date of <> to the date selected on the calendar

How would I modify the macro to do that? 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/7cf818a9-527b-4666-8a31-beaf56dca9cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: The geolocation widget is alive

2018-09-12 Thread SylvainComte
Hi Sylvain,

As I pretty much like hearts, I'll go for a post there ;-)

I also noticed that bug with osm tiles. Seems they've reduced zoom range 
for their tile provider. I should edit the json tile file...

cheers

Sylvain

Le lundi 10 septembre 2018 23:16:12 UTC+2, Sylvain Naudin a écrit :
>
> Great Sylvain !!
>
> If we where in French Discourse I'll put a red heart on post :D
>
> Just tested online over https, it's quite good GPS position of my home 
> with mobile phone. Very promising possibilities for OSM mapping party to 
> collect data.
>
> Notice that max zoom doesn't load OSM map, and have to de-zoom once to get 
> tiles rendering request.
>
> Thanks !
> Sylvain
>
>
> Le vendredi 7 septembre 2018 12:19:05 UTC+2, SylvainComte a écrit :
>>
>> Hello Jan (and others of course)
>>
>> I'm pleased to announce that the geolocation widget is now alive (it's no 
>> more a macro). The widget is included in the Leaflet Plugin but may also be 
>> installed alone since it doesn't require the leaflet library to work. 
>> Remember that due to security limitation, the widget will only work through 
>> https://
>>
>> Get it from my collection : https://sycom.github.io/TiddlyWiki-Plugins/
>>
>> best regards
>>
>> Sylvain
>>
>> Le lundi 3 septembre 2018 11:31:25 UTC+2, Jan a écrit :
>>>
>>> Salut sylvain,
>>> great, please tell me when you did the update.
>>> I am longing to test it.
>>>
>>> yours Jan
>>>
>>> Am 03.09.2018 um 08:50 schrieb SylvainComte:
>>>
>>> Hello Jan,
>>>
>>> I worked a few hours on the macro last week but discovered it's trickier 
>>> than I did expect. I think I will have to convert it to a plugin in order 
>>> to prevent the multiplication problem (which I didn't wan't since I found 
>>> this a bit "heavy").
>>>
>>> For your workflow, I think you should use the "target" parameter of the 
>>> macro (called "tiddler" for now). But I can't be sure it works since I 
>>> didn't test it...
>>>
>>> I will make a release of a new version of the macro during this week, 
>>> but bugs will remain I'm affraid...
>>>
>>> best regards
>>>
>>> Sylvain
>>>
>>> Le dimanche 2 septembre 2018 22:26:43 UTC+2, Jan a écrit : 

 Hello, hello Sylvain especially. 
 Since the geolocation-mechanism of the plugin now works and creates 
 points, I tried to make a create a workflow to create tiddlers with the 
 new geolocation-plugin. 
 https://www.szenio.de/Drehorte/ but it does not really work yet. 



 The button multiplication-problem has become a little more active and 
 somehow the leafletmacro causes an error. 

 Perhaps you find out why... 

 Jan 


 -- 
>>> 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+...@googlegroups.com.
>>> To post to this group, send email to tiddl...@googlegroups.com.
>>> 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/7d795fb0-fa78-4795-9cb5-59a26733d82b%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/d7dbc9cc-1b76-4303-a841-c78136b8e32c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.