[tw5] Re: Notowritey - Outliner/editor for TW

2020-07-10 Thread 'Mark S.' via TiddlyWiki

v0.0.8 Adds the ability to specify your own split-by string




https://marxsal.github.io/various/notowritey.html

>

-- 
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/8a7909a0-07bb-43eb-8143-71cd4205c2cfo%40googlegroups.com.


[tw5] Re: Presenting: SideEditor 2.0 - A live editor floating by the river side...

2020-07-10 Thread clutterstack
OK, I can use both the "bars" to move and resize the field now -- I don't 
think I could see the bottom one before; or perhaps I was not very 
observant. There's a standard-looking "corner" resize handle on the textbox 
that doesn't do anything in FF or Safari on my Mac, but now I'm questioning 
whether it's supposed to, because the other two handles seem to suffice.

On Wednesday, July 8, 2020 at 10:36:03 AM UTC-4, Mat wrote:
>
> Update SideEditor 2.0.3 
>
>
> @clutterstock and @Jon - thanks for reporting. I hope to have solved those 
> issues now. (@Jon, if I didn't - what browser are you using?)
>
> @Birthe - thanks for your kind words! Good to hear about your computer. I 
> had to get a new one just two months ago. As noted, they last 1.5 years, 
> it's like a clockwork and I've just come to accept it as part of life. 
> Change laptop every 1.5 years, change socks every 1.5 months - I'm sure 
> it's the same for everyone.
>
> <:-)
>

-- 
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/57ab6c0f-0f3c-4623-8240-e49554344d5do%40googlegroups.com.


[tw5] Re: Italian Pasta - List of Pasta Varieties

2020-07-10 Thread CJ Veniot
I love pasta, and I am a huge TiddlyWiki fan.

Pasta and TiddlyWiki?  That is a marriage that makes me right happy!  *Che 
bello! *

On Thursday, July 9, 2020 at 7:52:57 AM UTC-3, Duarte Farrajota Ramos wrote:
>
> Hey guys, do you like Italian pasta?
>
> After quite a few years on and off in the making I can finally say I 
> finished my long term project of documenting many common types of Italian 
> Pasta.
>
> http://pasta.duarteramos.pt
> (Warning site contains some large images if your have limited bandwidth or 
> a slow device)
>
> [image: DPFR_ItalianPastaChart_S.jpg]
>
>
> It'd be totally off-topic here other than the site being powered by out 
> beloved TiddlyWiki. There is nothing fancy or particularly remarkable 
> Tiddly-wise, just an attestment to its versatility.
>
> Revealing a little more technical details about it, it was started in 
> version 5.1.11 back in 2016, and has been in the making for the past four 
> years, though most of the time it was actually just stalled as I 
> procrastinated or attended other matters.
> Makes use of plenty of Wiki Filters, View Templates, SVG vector icons, 
> some CSS numbered tables and other minor tricks I learned (read stole eheh) 
> here and there through the web.
> The original Past Chart  was 
> made from a large SVG file with links.
> It started with some basic research about pasta names and types, then went 
> on to actually try to figure out what they look like, describing them, and 
> real world measurements for reference that would allow the creation of the 
> 3D models.
> Illustrations were all made with Blender 3D , 
> rendered with EEVEE and labeled in Inkscape . 
> Original render was huge, 24000 x 12000 pixels, takes about forty minutes 
> to produce, and has to be rendered in four parts and cobbled together.
>
> Hope you find like it.
>
>

-- 
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/810da828-a770-421b-9a11-525e56ee236do%40googlegroups.com.


[tw5] Another editor in the ViewTemplate

2020-07-10 Thread clutterstack
Hello all,

I have just uploaded my personal take on a note-capturing macro. It's a 
small plugin to fire off tiddlers without having to click a lot or choose a 
title. 

It's also a building block in a larger list- or document-composing 
interface (of course!), but in the first instance it is a focused 
environment to produce tiddlers with timestamps for titles, optionally 
pre-tagged, so that I could, for example, take notes on some reading in 
pure capture mode, without worrying about structure (or seeing what I've 
written before).

Why make this? I'd made a thing in Vue.js (while learning Vue.js) for 
capturing notes and tagging them. The output was tiddlers. In the end, the 
thing I wanted to make was a TiddlyWiki plugin, and so I am.

If anyone's curious to try it out, the demo is at 
https://clutterstack.github.io/TW5-quick/

Cheers, 
Chris

-- 
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/f929e30e-8d87-4ad3-af4c-c6574e6fcfcbo%40googlegroups.com.


[tw5] Re: Autoscroll in TW

2020-07-10 Thread Eric Shulman

Still more updates:

* clicking the "pause" button is now a toggle.
* when autoscrolling, clicking in the content itself also toggles pause
* code cleanup ($:/temp/autosave tiddlers use shorter names)
 
As usual, the lastest revision is here: 
http://tiddlytools.com/autoscroll.html

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b1b28607-bb14-4e7a-8587-2f281439f86ao%40googlegroups.com.


[tw5] Re: Some list questions

2020-07-10 Thread Eric Shulman
On Friday, July 10, 2020 at 3:23:39 PM UTC-7, jay wrote:
>
> I hadn't heard of the set widget before, very useful.
>

There is also a more compact syntax for setting variables: the <$vars> 
widget.
It is particularly useful when you are setting multiple variables.
Using <$set>, you need one widget for each variable, like this:
<$set name="foo" value=...>
<$set name="bar" value=...>
<$set name="baz" value=...>
  ... your code here...



with a matching  for each.

Using <$vars> you can define multiple variables with a single widget:
<$vars foo=... bar=... baz=...>
  ... your code here ...


and a single matching 

For setting of simple variables, I always use <$vars> instead of <$set>.

One exception is when you want to use the <$set filter="..."> syntax to
capture an entire list of items into a single variable, like this:
<$set name="matches" filter="[tag[foo]]">
...


Using the above syntax, you can get a space-separated list of all titles 
tagged with "foo",
and store it in a single variable, "matches".

You can also use <$set> to make "conditional assignments".  For example, 
suppose you
want to set a value based on whether or not a filter returns any results.  
In that case, you
can write something like:
<$set name="myvar" filter="[tag]" value=<> 
emptyValue="none">
...


Note that the same result can also be achieved with the <$vars> widget, 
using "inline filter" syntax
combined with the "then" and "else" filter operators, like this:
<$vars myvar={{{ [tagthenelse[none]] }}}
...


The main difference here is that the <$set> syntax was created first.  
"inline filter" syntax,
and also the "then" and "else" filter operators were added to the TWCore 
much later.

I hope this explanation hasn't confused you, but simply given you more 
alternatives
that enhance your TW coding efforts!

enjoy,
-e


> Have a great day
>
> On Friday, 10 July 2020 22:11:36 UTC+1, si wrote:
>>
>> Hi Jay.
>>
>> 1) Your problem here is that by default the list widget stores the title 
>> of each tiddler that it lists in the <> variable. One 
>> solution is to use the set  widget to 
>> set a new variable to the title of the /m/performance tiddler *before* 
>> invoking the list widget, like this:
>>
>> <$set name="performance" value=<> >
>> <$list filter="[tag[/m/song]]">
>> <$checkbox tag=<> /> <$link to={{!!title}}><$view 
>> field="title"/>
>> 
>> 
>>
>> 2) Here you can use the list-tagged-draggable 
>>  macro:
>>
>> <>
>>
>> If you want to use a variable for the value of the tag (for example 
>> <>), you will need to use the Macro Call 
>>  widget:
>>
>> <$macrocall $name="list-tagged-draggable" tag=<> />
>>
>>
>> Hopefully that helps!
>>
>>
>> On Friday, 10 July 2020 10:23:01 UTC+1, jay wrote:
>>
>>> Hey 
>>>
>>> So I'm a musician, I've been using tiddlywiki to keep a record of my 
>>> performances, setlists, practice etc. 
>>>
>>> Each week I prepare and perform a 30 minute gig.
>>>
>>> I have tiddlers for each performance, tagged /m/performance, and 
>>> tiddlers for each song are tagged /m/song
>>>
>>> I use the /m/performance tiddler to help me prepare for gigs and as a 
>>> log of songs what I've performed. The naming convention for the title of 
>>> these tiddlers is the date of the show followed by the venue. 
>>>
>>> There are 2 things i want to do with lists that I can't figure out.
>>>
>>> 1) When assembling the setlist for a performance I can generate a list 
>>> of all the songs in my repotoire on the /m/performance tiddler. I want a 
>>> checkbox next to each link tha,t if selected, will tag the song with the 
>>> title of the performance tiddler (or link it with the performance tiddler 
>>> in some other way). This is the code I'm currently using in the template 
>>> for my /m/performance tiddlers but if I check the box the song is tagged 
>>> with its own title (name of the song), not the title of the performance 
>>> tiddler. 
>>>
>>> <$list filter="[tag[/m/song]]">
>>> <$checkbox tag=<> /> <$link to={{!!title}}><$view 
>>> field="title"/>
>>> 
>>>
>>> 2) I will next create a list of all songs tagged with the performance. 
>>> These will be the pieces that I work on during the week. Thats fine I can 
>>> do that. But I'd also like to be able to drag and drop / rearrange this 
>>> list  in view mode, as it becomes the final setlist for the gig. I'd also 
>>> like to be able to preserve that order. Not sure how to make any of this 
>>> happen?
>>>
>>> I hope this makes sense, any thoughts on any of these problems would be 
>>> helpful. 
>>>
>>>
>>>

-- 
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 

[tw5] Re: http://evanbalster.com/ where are you!!!!

2020-07-10 Thread TW Tones
Mark,

To be clear a time stamp like this
<>
is a date only, however also midnight

I have used
<>

For noon, but one could use 6am etc...
or add "[UTC]0MM0DD12000"

Regards
Tony


On Saturday, July 11, 2020 at 10:07:46 AM UTC+10, Mark S. wrote:
>
>
>
> On Friday, July 10, 2020 at 3:29:34 PM UTC-7, TW Tones wrote:
>>
>> Mark,
>>
>> I am not sure what Time Zone you are in but I find time of day issues 
>> when I don't add UTC into the tiddlywiki data format. The date can be the 
>> day before for me because of this. 
>>
>>
>> Yes. That's exactly why using a human-readable format like -mm-dd 
> makes more sense for manipulation. I often want to know what a date will be 
> 50 days from a field date. I'm almost never concerned whether that date is 
> 2 in the morning or 2 in the afternoon.
>
>

-- 
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/1114758b-09c1-4e5b-9dad-8379d7f13912o%40googlegroups.com.


[tw5] Re: http://evanbalster.com/ where are you!!!!

2020-07-10 Thread 'Mark S.' via TiddlyWiki


On Friday, July 10, 2020 at 3:29:34 PM UTC-7, TW Tones wrote:
>
> Mark,
>
> I am not sure what Time Zone you are in but I find time of day issues when 
> I don't add UTC into the tiddlywiki data format. The date can be the day 
> before for me because of this. 
>
>
> Yes. That's exactly why using a human-readable format like -mm-dd 
makes more sense for manipulation. I often want to know what a date will be 
50 days from a field date. I'm almost never concerned whether that date is 
2 in the morning or 2 in the afternoon.

-- 
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/de829579-cbea-4dbe-ad72-ec16445e24fdo%40googlegroups.com.


[tw5] Re: http://evanbalster.com/ where are you!!!!

2020-07-10 Thread TW Tones
Warning some of the input tags throw an error but most work.

Regards
Tony

On Saturday, July 11, 2020 at 8:29:34 AM UTC+10, TW Tones wrote:
>
> Mark,
>
> I am not sure what Time Zone you are in but I find time of day issues when 
> I don't add UTC into the tiddlywiki data format. The date can be the day 
> before for me because of this. 
>
> I don't recall which but one plugin does not use the UTC format and one 
> Tiddlywiki feature does not work correctly unless its used. I can't recall 
> but I just use UTC to avoid it as much as possible. Since I am in the +10 
> timezone this can be a substantial error.
>
> But the html date input is not too bad 
> https://www.w3schools.com/html/html_form_input_types.asp (others work as 
> well)
>
> <$edit-text field=fieldname type=date tag="input"/>
>
> <$edit-text field=fieldname2 type=datetime-local tag="input"/>
> At least In my locality the date returned is -MM-DD which is at least 
> sortable
>
> However there is real value capturing the full tiddlywiki serial date 
> because the days operator and other need it.
>
>
> Even this works returning 0 to 100
> <$edit-text field=fieldname type=range tag="input"/>
>
> I just discovered that online the following added C:\fakepath\ to the 
> selected filename
> <$edit-text field=fieldname type=file tag="input"/>
> however on TiddlyDesktop wikis this returns the full pathname
>
> In conclusion the edit-text is far more useful that first appears.
>
> Regards
> Tony
>
>
> On Saturday, July 11, 2020 at 6:20:23 AM UTC+10, Mark S. wrote:
>>
>> Are you using native input fields? Or dates like "-mm-dd" ?
>>
>> The date macros currently use either a field with native TW date built in 
>> or dates broken out by year, month , day as input.
>> Unfortunately they output dates like -mm-dd. I suppose it would be 
>> possible to add a function that can also take your Timezone and calculate a 
>> mmddHHMMSS date like TW uses. Maybe. I guess if it was me I'd 
>> dispense with TW dates altogether since there are so few operators that 
>> make use of them any-ways. UTZ precision is usually not necessary if all 
>> your users are living in the same timezone.
>>
>> As far as inputting into a field, the result of the macro probably just 
>> needs to be wikified.
>>
>>
>> On Friday, July 10, 2020 at 7:37:36 AM UTC-7, Ste wrote:
>>>
>>>
>>> Hi Mark, sorry to mither...
>>>
>>> I've created buttons which copy the entire macro to a new tiddler, 
>>> create error messages and do nothing at all (I swear once I heard it 
>>> laughing at me...) but not one of my bumbling attempts at tiddlywiki-speak 
>>> have made the text of the date, and only the text of the date, appear in 
>>> another field or tiddler.
>>>
>>> To clarify...
>>>
>>> enter a date in a field.
>>>
>>> Use your wonderful macro to add a number of days (probably in another 
>>> field)
>>>
>>> Put the text output of that in a final field.   <--This be the bit 
>>> that killing me :)
>>>
>>> Smile as vis.js finally recognises the output!
>>>
>>> :)
>>> On Thursday, 9 July 2020 at 17:40:46 UTC+1 Mark S. wrote:
>>>

 https://marxsal.github.io/various/playground.html#Date%20Conversion%20Macros

 You can calculate future dates. Coupled with the range widget, you 
 could calculate a series of dates every X days apart. To poke it back into 
 a field requires a button or other action widget, as always.

 If you have an app that depends on thousands of dates being calculated 
 when the TW loads, then this might not be the solution for you. Javascript 
 will always be faster. However, even Javascript has some serious date 
 range 
 limitations built in, surprisingly enough.

 On Thursday, July 9, 2020 at 8:49:10 AM UTC-7, Mat wrote:
>
> Ste, it may be worth considering that TW now has math functionality 
> that was not available when Evan made his plugin. Also, I recall digging 
> up 
> some algo for how to calculate future dates that Mark used for some 
> problem. Maybe he has a ready made solution that you can use.
>
> <:-)
>


-- 
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/eb0ccb17-2905-4796-bea8-f38ec046b286o%40googlegroups.com.


[tw5] Re: http://evanbalster.com/ where are you!!!!

2020-07-10 Thread TW Tones
Mark,

I am not sure what Time Zone you are in but I find time of day issues when 
I don't add UTC into the tiddlywiki data format. The date can be the day 
before for me because of this. 

I don't recall which but one plugin does not use the UTC format and one 
Tiddlywiki feature does not work correctly unless its used. I can't recall 
but I just use UTC to avoid it as much as possible. Since I am in the +10 
timezone this can be a substantial error.

But the html date input is not too bad 
https://www.w3schools.com/html/html_form_input_types.asp (others work as 
well)

<$edit-text field=fieldname type=date tag="input"/>

<$edit-text field=fieldname2 type=datetime-local tag="input"/>
At least In my locality the date returned is -MM-DD which is at least 
sortable

However there is real value capturing the full tiddlywiki serial date 
because the days operator and other need it.


Even this works returning 0 to 100
<$edit-text field=fieldname type=range tag="input"/>

I just discovered that online the following added C:\fakepath\ to the 
selected filename
<$edit-text field=fieldname type=file tag="input"/>
however on TiddlyDesktop wikis this returns the full pathname

In conclusion the edit-text is far more useful that first appears.

Regards
Tony


On Saturday, July 11, 2020 at 6:20:23 AM UTC+10, Mark S. wrote:
>
> Are you using native input fields? Or dates like "-mm-dd" ?
>
> The date macros currently use either a field with native TW date built in 
> or dates broken out by year, month , day as input.
> Unfortunately they output dates like -mm-dd. I suppose it would be 
> possible to add a function that can also take your Timezone and calculate a 
> mmddHHMMSS date like TW uses. Maybe. I guess if it was me I'd 
> dispense with TW dates altogether since there are so few operators that 
> make use of them any-ways. UTZ precision is usually not necessary if all 
> your users are living in the same timezone.
>
> As far as inputting into a field, the result of the macro probably just 
> needs to be wikified.
>
>
> On Friday, July 10, 2020 at 7:37:36 AM UTC-7, Ste wrote:
>>
>>
>> Hi Mark, sorry to mither...
>>
>> I've created buttons which copy the entire macro to a new tiddler, create 
>> error messages and do nothing at all (I swear once I heard it laughing at 
>> me...) but not one of my bumbling attempts at tiddlywiki-speak have made 
>> the text of the date, and only the text of the date, appear in another 
>> field or tiddler.
>>
>> To clarify...
>>
>> enter a date in a field.
>>
>> Use your wonderful macro to add a number of days (probably in another 
>> field)
>>
>> Put the text output of that in a final field.   <--This be the bit 
>> that killing me :)
>>
>> Smile as vis.js finally recognises the output!
>>
>> :)
>> On Thursday, 9 July 2020 at 17:40:46 UTC+1 Mark S. wrote:
>>
>>>
>>> https://marxsal.github.io/various/playground.html#Date%20Conversion%20Macros
>>>
>>> You can calculate future dates. Coupled with the range widget, you could 
>>> calculate a series of dates every X days apart. To poke it back into a 
>>> field requires a button or other action widget, as always.
>>>
>>> If you have an app that depends on thousands of dates being calculated 
>>> when the TW loads, then this might not be the solution for you. Javascript 
>>> will always be faster. However, even Javascript has some serious date range 
>>> limitations built in, surprisingly enough.
>>>
>>> On Thursday, July 9, 2020 at 8:49:10 AM UTC-7, Mat wrote:

 Ste, it may be worth considering that TW now has math functionality 
 that was not available when Evan made his plugin. Also, I recall digging 
 up 
 some algo for how to calculate future dates that Mark used for some 
 problem. Maybe he has a ready made solution that you can use.

 <:-)

>>>

-- 
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/20b38bdb-f370-4167-8301-4939215dc3cco%40googlegroups.com.


[tw5] Re: Some list questions

2020-07-10 Thread jay
Hey, thank you so much for your explanation. I hadn't heard of the set 
widget before, very useful.

Have a great day

On Friday, 10 July 2020 22:11:36 UTC+1, si wrote:
>
> Hi Jay.
>
> 1) Your problem here is that by default the list widget stores the title 
> of each tiddler that it lists in the <> variable. One 
> solution is to use the set  widget to 
> set a new variable to the title of the /m/performance tiddler *before* 
> invoking the list widget, like this:
>
> <$set name="performance" value=<> >
> <$list filter="[tag[/m/song]]">
> <$checkbox tag=<> /> <$link to={{!!title}}><$view 
> field="title"/>
> 
> 
>
> 2) Here you can use the list-tagged-draggable 
>  macro:
>
> <>
>
> If you want to use a variable for the value of the tag (for example 
> <>), you will need to use the Macro Call 
>  widget:
>
> <$macrocall $name="list-tagged-draggable" tag=<> />
>
>
> Hopefully that helps!
>
>
> On Friday, 10 July 2020 10:23:01 UTC+1, jay wrote:
>
>> Hey 
>>
>> So I'm a musician, I've been using tiddlywiki to keep a record of my 
>> performances, setlists, practice etc. 
>>
>> Each week I prepare and perform a 30 minute gig.
>>
>> I have tiddlers for each performance, tagged /m/performance, and tiddlers 
>> for each song are tagged /m/song
>>
>> I use the /m/performance tiddler to help me prepare for gigs and as a log 
>> of songs what I've performed. The naming convention for the title of these 
>> tiddlers is the date of the show followed by the venue. 
>>
>> There are 2 things i want to do with lists that I can't figure out.
>>
>> 1) When assembling the setlist for a performance I can generate a list of 
>> all the songs in my repotoire on the /m/performance tiddler. I want a 
>> checkbox next to each link tha,t if selected, will tag the song with the 
>> title of the performance tiddler (or link it with the performance tiddler 
>> in some other way). This is the code I'm currently using in the template 
>> for my /m/performance tiddlers but if I check the box the song is tagged 
>> with its own title (name of the song), not the title of the performance 
>> tiddler. 
>>
>> <$list filter="[tag[/m/song]]">
>> <$checkbox tag=<> /> <$link to={{!!title}}><$view 
>> field="title"/>
>> 
>>
>> 2) I will next create a list of all songs tagged with the performance. 
>> These will be the pieces that I work on during the week. Thats fine I can 
>> do that. But I'd also like to be able to drag and drop / rearrange this 
>> list  in view mode, as it becomes the final setlist for the gig. I'd also 
>> like to be able to preserve that order. Not sure how to make any of this 
>> happen?
>>
>> I hope this makes sense, any thoughts on any of these problems would be 
>> helpful. 
>>
>>
>>

-- 
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/789b9eb3-9e81-4149-8d7f-6d1758c2b73bo%40googlegroups.com.


[tw5] Re: How to create an external link from field (that opens in a new tab)?

2020-07-10 Thread TW Tones
Eric,

I was aware of this but your restating it makes me wonder if our own 
tiddlywikis could detect the referrer, or is this only a server feature?, I 
am thinking of of this for two reasons;

   - In my own internal wikis identify the source that opened the wiki
   - On a hosted wiki I have a method where the wiki reloads itself via a 
   link, I would like to detect when this happens rather when someone first 
   lands on the sight.
   - I only want this for sources I control, not for harvesting anything.

Regards
Tony

On Saturday, July 11, 2020 at 7:04:31 AM UTC+10, Eric Shulman wrote:
>
> On Friday, July 10, 2020 at 1:29:46 PM UTC-7, Joe Black wrote:
>>
>> Thank you for the in-depth explanation.
>>
>> I got one last question. Do I need the "rel="noopener noreferrer"? The 
>> wiki mentions that it is used to maintain the privacy of the URL (sounds 
>> important), but Birthe posted the link without it.
>>
>
> It's not strictly necessary but it can't hurt.  In general, if you are 
> working from a locally stored TiddlyWiki, then the referrer value is, by 
> default, blocked from being shared, as that could expose information about 
> the folder structure of your local hard drive.
>
> Otherwise, it really depends on the external URL you are going to, and how 
> paranoid you are.  If a site "harvests" the referrer value, it lets them 
> know info about the URL you came from, and they can use the referrer value 
> to tailor the content they display or gather statistics to help in their 
> business plannning.  For example, if you click on a banner ad, they can 
> look at the referrer to know which site you came from.  This can help them 
> tune their advertising expenses by knowing which sites produced the most 
> effective ad placements.
>
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6d9e1343-5c32-493f-b094-2d33013c649ao%40googlegroups.com.


[tw5] Re: How to create an external link from field (that opens in a new tab)?

2020-07-10 Thread TW Tones
Joe,

I will just add the target can be used to open multiple links in the same 
tab, saving the creation of too many tabs. Say I have a set of links to 
material in google forums, if I set the target in tiddlywiki to 
target="twforums" every link using this target will open in the same tab. 
Replacing the previous one. this is standard html behaviour, but a useful 
one.

Regards
Tony



On Saturday, July 11, 2020 at 6:29:46 AM UTC+10, Joe Black wrote:
>
> Thank you for the in-depth explanation.
>
> I got one last question. Do I need the "rel="noopener noreferrer"? The 
> wiki mentions that it is used to maintain the privacy of the URL (sounds 
> important), but Birthe posted the link without it.
>

-- 
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/7def9d7b-46b8-48b7-b527-46d1c25f06b8o%40googlegroups.com.


[tw5] Re: Access the Parent Tiddler's Field when Inside a ListWidget Loop

2020-07-10 Thread David
Thanks guys!!

On Friday, July 10, 2020 at 10:44:26 AM UTC-4, Eric Shulman wrote:
>
> On Friday, July 10, 2020 at 7:00:52 AM UTC-7, David wrote:
>>
>> I am looping over some tiddlers with the ListWidget.
>> I was using the variable attribute, but have removed that to access 
>> fields directly (via {{!!fieldname}} type calls, and for best practice 
>> reasons, etc.
>> But I need to know  how to refer to the parent tiddler's field (not the 
>> child's) in a reveal's state attribute.
>> This (the "!!edit_priorities" state, which refers to a field in the 
>> parent tiddler) used to work when the filter was using the item 
>> variable, but needs some tweaking now, because the "scope" it's in has 
>> changed to the child tiddler (I assume).
>> <$list filter="[tag[Task]!tag[Done]]" >
>> <$reveal type="match" state="!!edit_priorities" text="1">
>> <$edit-text field="priority" size="3" />
>> 
>>  <$checkbox tag="Done"/> <$link>{{!!title}}
>> 
>> 
>> So, in words, what I'm trying to do is list todo tasks that are not 
>> tagged as done.  In that tiddler as well is a field, which I use to control 
>> the display of the Priority edit boxes.  If I set that field to '1', then I 
>> want the reveals to show the edit boxes for each task.
>>
>
> To do what you want, you'll *need* to use variable="..." in the $list 
> widget.
> This will allow you to keep the "parent" tiddler context as the 
> currentTiddler.
>
> Of course, you have references *inside* the $list loop that you would like
> to keep simple by having the $list use currentTiddler, but that would 
> defeat
> what you want to do with the "edit_priorities" flag field.
>
> One way to achieve a mix of both, is to explicitly use the tiddler="..." 
> widget
> parameter or wrap content in a $tiddler widget to set the inner context.
>
> Something like this:
> <$list filter="[tag[Task]!tag[Done]]" variable="item">
><$reveal type="match" state="!!edit_priorities" text="1">
>   <$edit-text tiddler=<> field="priority" size="3" />
>
><$tiddler tiddler=<>>
><$checkbox tag="Done" /> <$link />
>
> 
>
> notes:
> * the $edit-text uses an explicit tiddler=<> param to point at the 
> individual task tiddler
> * the $checkbox and $link are surrounded by a $tiddler widget that sets 
> the <> to the <> value
> * I've used the "short form" of <$link />, since you are just linking to 
> the <>
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a7b2e419-7d22-4626-b951-c3aace85945eo%40googlegroups.com.


[tw5] Re: Some list questions

2020-07-10 Thread si
Hi Jay.

1) Your problem here is that by default the list widget stores the title of 
each tiddler that it lists in the <> variable. One 
solution to this is to use the set widget set a new variable to the title 
of the /m/performance tiddler *before* invoking the list widget, like this:

<$set name="performance" value=<> >
<$list filter="[tag[/m/song]]">
<$checkbox tag=<> /> <$link to={{!!title}}><$view 
field="title"/>



2) Here you can use the list-tagged-draggable 
 widget:

<>


If you want to use a variable for the value of a tag (for example 
<>), you will need to use the Macro Call 
 widget:

<$macrocall $name="list-tagged-draggable" tag=<> />

Hopefully that helps!


On Friday, 10 July 2020 10:23:01 UTC+1, jay wrote:

> Hey 
>
> So I'm a musician, I've been using tiddlywiki to keep a record of my 
> performances, setlists, practice etc. 
>
> Each week I prepare and perform a 30 minute gig.
>
> I have tiddlers for each performance, tagged /m/performance, and tiddlers 
> for each song are tagged /m/song
>
> I use the /m/performance tiddler to help me prepare for gigs and as a log 
> of songs what I've performed. The naming convention for the title of these 
> tiddlers is the date of the show followed by the venue. 
>
> There are 2 things i want to do with lists that I can't figure out.
>
> 1) When assembling the setlist for a performance I can generate a list of 
> all the songs in my repotoire on the /m/performance tiddler. I want a 
> checkbox next to each link tha,t if selected, will tag the song with the 
> title of the performance tiddler (or link it with the performance tiddler 
> in some other way). This is the code I'm currently using in the template 
> for my /m/performance tiddlers but if I check the box the song is tagged 
> with its own title (name of the song), not the title of the performance 
> tiddler. 
>
> <$list filter="[tag[/m/song]]">
> <$checkbox tag=<> /> <$link to={{!!title}}><$view 
> field="title"/>
> 
>
> 2) I will next create a list of all songs tagged with the performance. 
> These will be the pieces that I work on during the week. Thats fine I can 
> do that. But I'd also like to be able to drag and drop / rearrange this 
> list  in view mode, as it becomes the final setlist for the gig. I'd also 
> like to be able to preserve that order. Not sure how to make any of this 
> happen?
>
> I hope this makes sense, any thoughts on any of these problems would be 
> helpful. 
>
>
>

-- 
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/44fbef4f-b194-4e95-853c-11f5a9e9d3c9o%40googlegroups.com.


[tw5] Re: How to create an external link from field (that opens in a new tab)?

2020-07-10 Thread Eric Shulman
On Friday, July 10, 2020 at 1:29:46 PM UTC-7, Joe Black wrote:
>
> Thank you for the in-depth explanation.
>
> I got one last question. Do I need the "rel="noopener noreferrer"? The 
> wiki mentions that it is used to maintain the privacy of the URL (sounds 
> important), but Birthe posted the link without it.
>

It's not strictly necessary but it can't hurt.  In general, if you are 
working from a locally stored TiddlyWiki, then the referrer value is, by 
default, blocked from being shared, as that could expose information about 
the folder structure of your local hard drive.

Otherwise, it really depends on the external URL you are going to, and how 
paranoid you are.  If a site "harvests" the referrer value, it lets them 
know info about the URL you came from, and they can use the referrer value 
to tailor the content they display or gather statistics to help in their 
business plannning.  For example, if you click on a banner ad, they can 
look at the referrer to know which site you came from.  This can help them 
tune their advertising expenses by knowing which sites produced the most 
effective ad placements.

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/431810af-4e7b-41da-93b9-08f463b251e8o%40googlegroups.com.


[tw5] Re: Italian Pasta - List of Pasta Varieties

2020-07-10 Thread clutterstack
Beautiful TiddlyWiki!

On Thursday, July 9, 2020 at 6:52:57 AM UTC-4, Duarte Farrajota Ramos wrote:
>
> Hey guys, do you like Italian pasta?
>
> After quite a few years on and off in the making I can finally say I 
> finished my long term project of documenting many common types of Italian 
> Pasta.
>
> http://pasta.duarteramos.pt
> (Warning site contains some large images if your have limited bandwidth or 
> a slow device)
>
> [image: DPFR_ItalianPastaChart_S.jpg]
>
>
> It'd be totally off-topic here other than the site being powered by out 
> beloved TiddlyWiki. There is nothing fancy or particularly remarkable 
> Tiddly-wise, just an attestment to its versatility.
>
> Revealing a little more technical details about it, it was started in 
> version 5.1.11 back in 2016, and has been in the making for the past four 
> years, though most of the time it was actually just stalled as I 
> procrastinated or attended other matters.
> Makes use of plenty of Wiki Filters, View Templates, SVG vector icons, 
> some CSS numbered tables and other minor tricks I learned (read stole eheh) 
> here and there through the web.
> The original Past Chart  was 
> made from a large SVG file with links.
> It started with some basic research about pasta names and types, then went 
> on to actually try to figure out what they look like, describing them, and 
> real world measurements for reference that would allow the creation of the 
> 3D models.
> Illustrations were all made with Blender 3D , 
> rendered with EEVEE and labeled in Inkscape . 
> Original render was huge, 24000 x 12000 pixels, takes about forty minutes 
> to produce, and has to be rendered in four parts and cobbled together.
>
> Hope you find like it.
>
>

-- 
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/50140f2f-367c-4b87-8d82-79c2bc2ec70co%40googlegroups.com.


[tw5] Re: How to create an external link from field (that opens in a new tab)?

2020-07-10 Thread Joe Black
Thank you for the in-depth explanation.

I got one last question. Do I need the "rel="noopener noreferrer"? The wiki 
mentions that it is used to maintain the privacy of the URL (sounds 
important), but Birthe posted the link without it.

-- 
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/f88740bc-5711-4db0-8f2c-39efbe2a4434o%40googlegroups.com.


[tw5] Re: http://evanbalster.com/ where are you!!!!

2020-07-10 Thread 'Mark S.' via TiddlyWiki
Are you using native input fields? Or dates like "-mm-dd" ?

The date macros currently use either a field with native TW date built in 
or dates broken out by year, month , day as input.
Unfortunately they output dates like -mm-dd. I suppose it would be 
possible to add a function that can also take your Timezone and calculate a 
mmddHHMMSS date like TW uses. Maybe. I guess if it was me I'd 
dispense with TW dates altogether since there are so few operators that 
make use of them any-ways. UTZ precision is usually not necessary if all 
your users are living in the same timezone.

As far as inputting into a field, the result of the macro probably just 
needs to be wikified.


On Friday, July 10, 2020 at 7:37:36 AM UTC-7, Ste wrote:
>
>
> Hi Mark, sorry to mither...
>
> I've created buttons which copy the entire macro to a new tiddler, create 
> error messages and do nothing at all (I swear once I heard it laughing at 
> me...) but not one of my bumbling attempts at tiddlywiki-speak have made 
> the text of the date, and only the text of the date, appear in another 
> field or tiddler.
>
> To clarify...
>
> enter a date in a field.
>
> Use your wonderful macro to add a number of days (probably in another 
> field)
>
> Put the text output of that in a final field.   <--This be the bit 
> that killing me :)
>
> Smile as vis.js finally recognises the output!
>
> :)
> On Thursday, 9 July 2020 at 17:40:46 UTC+1 Mark S. wrote:
>
>>
>> https://marxsal.github.io/various/playground.html#Date%20Conversion%20Macros
>>
>> You can calculate future dates. Coupled with the range widget, you could 
>> calculate a series of dates every X days apart. To poke it back into a 
>> field requires a button or other action widget, as always.
>>
>> If you have an app that depends on thousands of dates being calculated 
>> when the TW loads, then this might not be the solution for you. Javascript 
>> will always be faster. However, even Javascript has some serious date range 
>> limitations built in, surprisingly enough.
>>
>> On Thursday, July 9, 2020 at 8:49:10 AM UTC-7, Mat wrote:
>>>
>>> Ste, it may be worth considering that TW now has math functionality that 
>>> was not available when Evan made his plugin. Also, I recall digging up some 
>>> algo for how to calculate future dates that Mark used for some problem. 
>>> Maybe he has a ready made solution that you can use.
>>>
>>> <:-)
>>>
>>

-- 
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/4303a26f-0850-46a8-83e4-5d7f778e8bd2o%40googlegroups.com.


[tw5] Re: How to create an external link from field (that opens in a new tab)?

2020-07-10 Thread Eric Shulman
On Friday, July 10, 2020 at 11:57:29 AM UTC-7, Joe Black wrote:
>
> The first link doesn't work. It opens a new tab (correct) and says: "Your 
> file was not found 
>
> It may have been moved or deleted. ERR_FILE_NOT_FOUND"
>
> The second link works, but it opens in the current window. This is 
> problematic, because I use TiddlyDesktop. There is no back-button, so I 
> have to restart the whole program.
> <$list filter="[all[current]has:field:[website]]">
>[img width=22 [icon-website.svg]]
><$view field="website"/>
>[ext[Website|{{!!website}}]]
>Website
> 
>
>
In the first case (the [ext[...]] syntax), you can't put wiki syntax (the 
{{!!website}}) *inside* the brackets.
The result is a link to literally "{{!!website}}" rather than the value 
stored in that field.  Also,
by default, the [ext[...]] syntax always open a new tab.  Thus, the the new 
tab opens but
reports the error "Your file was not found 

It may have been moved or deleted. ERR_FILE_NOT_FOUND"


In the second case (the  stuff), that is standard HTML enhanced 
with TiddlyWiki TWCore code that
*does* permit use of {{...}} to fetch the value stored in a field and use 
it as an HTML parameter.  The only thing
you're missing is the target="_blank" param that forces the link to open in 
a new tab (as Birthe has already
pointed out).

-e




I couldn't find anything besides those two ways to create an external link. 
> Any help would be appreciated. Maybe the problem is TiddlyDesktop (and 
> external links handling)?
>
> *J.*
>
> Sidenote: I just started with TW a few days ago, but based on my 
> fun-metric of browser-tabs-opened/hour it ranks very high.
>

-- 
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/46164999-bd84-4f66-bcd4-923c37477745o%40googlegroups.com.


[tw5] Re: How to create an external link from field (that opens in a new tab)?

2020-07-10 Thread Joe Black
That actually worked! Very nice, thank you :)

(So I had to look outside of TW and look up regular HTML-resources?)


Am Freitag, 10. Juli 2020 19:40:53 UTC schrieb Birthe C:
>
> I have not tried it using TidldyDesktop, but you could try:  href={{!!website}} target="_blank">Website
>
> 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/c083df7d-5646-40e7-ac07-e30ca9d96b61o%40googlegroups.com.


[tw5] Re: How to create an external link from field (that opens in a new tab)?

2020-07-10 Thread Birthe C
I have not tried it using TidldyDesktop, but you could try: Website

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/3b9d2d8f-3deb-4675-8797-93ce53670dd9o%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-10 Thread 'Mark S.' via TiddlyWiki
Well, I'm having a bit of a monologue here.

Maybe everyone already knew this, but apparently when you add plugins to a 
node.js TiddlyWiki, you have to manage the dependencies yourself. I'm not 
sure if that was necessary for Vim in 5.1.22 -- the commit comment on 
several of the codemirror items from 3 months ago mentions adding 
dependencies. When you add official plugins to a stand-alone TW, the 
dependencies are added in for you. So everything works out of the box. With 
the node plugins, you need to check that the non-obvious dependencies are 
added in.

Maybe someone else will find this thread useful ;-)

On Friday, July 10, 2020 at 11:17:02 AM UTC-7, Mark S. wrote:
>
> It really appears at this point that the vim keymap and/or the codemirror 
> plugins for in the pre-release 5.1.23 are broken. I'm able to add the 
> codemirror plugin directories from the 5.1.22 release and it works. 
>
> On Friday, July 10, 2020 at 8:55:04 AM UTC-7, Mark S. wrote:
>>
>> Yesterday I was able to work for several hours with Vim in Codemirror. 
>> But I didn't have a "proper" set up -- it was a mix of node and drag-n-drop 
>> plugins.
>>
>> When I set up everything "properly" in node, with pre-release, or with 
>> 5.1.22 single file, I always get this message in the RSOE:
>>
>> TypeError: n is undefined
>>
>> right after setting up "vim" as the CodeMirror keymap.
>>
>> After that, everything is broken. 
>>
>> I feel that somehow I got lucky yesterday, and picked the right 
>> combination of node and actual tiddlers that allowed vim to work. Now it 
>> doesn't seem to work no matter what I do.
>>
>> Anyone else have experience with vim on TW?
>>
>> Thanks!
>>
>> On Thursday, July 9, 2020 at 11:19:23 AM UTC-7, Mark S. wrote:
>>>
>>>
>>> I was trying to use the Code Mirror Vim keymap.
>>>
>>> The problem is that the escape key, which is used to change edit modes 
>>> in Vim, is still mapped to the the "cancel tiddler" functionality in 
>>> TiddlyWiki. So you can't change modes without also closing out the current 
>>> tiddler and abandoning your changes!
>>>
>>> I assume that some alternative key has been mapped, but if so, it hasn't 
>>> been documented.
>>>
>>> Is there a magic incantation for using Vim in Code Mirror on TiddlyWiki ?
>>>
>>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ac78ac50-7e4e-4661-9b59-f81baa00b6e3o%40googlegroups.com.


[tw5] How to create an external link from field (that opens in a new tab)?

2020-07-10 Thread Joe Black
I am creating a bookmark-button. On clicking the button, I create a new 
Tiddler with a* field: **website.*When the field contain a link, I want to 
show the link and an icon for the corresponding site. I got everything but 
the links working.

This is where I am stuck: If the *field *is empty, nothing shows (Correct). 
If the *field *has text, it shows an icon, a label, and two links. 

The first link doesn't work. It opens a new tab (correct) and says: "Your 
file was not found 

It may have been moved or deleted. ERR_FILE_NOT_FOUND"



The second link works, but it opens in the current window. This is 
problematic, because I use TiddlyDesktop. There is no back-button, so I 
have to restart the whole program.

This is my code:
<$list filter="[all[current]has:field:[website]]">
   [img width=22 [icon-website.svg]]
   <$view field="website"/>

   [ext[Website|{{!!website}}]]
   Website




I couldn't find anything besides those two ways to create an external link. 
Any help would be appreciated. Maybe the problem is TiddlyDesktop (and 
external links handling)?

*J.*

Sidenote: I just started with TW a few days ago, but based on my fun-metric 
of browser-tabs-opened/hour it ranks very high.

-- 
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/d0e720bf-d405-43ec-b803-ee10d4903213o%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-10 Thread 'Mark S.' via TiddlyWiki
It really appears at this point that the vim keymap and/or the codemirror 
plugins for in the pre-release 5.1.23 are broken. I'm able to add the 
codemirror plugin directories from the 5.1.22 release and it works. 

On Friday, July 10, 2020 at 8:55:04 AM UTC-7, Mark S. wrote:
>
> Yesterday I was able to work for several hours with Vim in Codemirror. But 
> I didn't have a "proper" set up -- it was a mix of node and drag-n-drop 
> plugins.
>
> When I set up everything "properly" in node, with pre-release, or with 
> 5.1.22 single file, I always get this message in the RSOE:
>
> TypeError: n is undefined
>
> right after setting up "vim" as the CodeMirror keymap.
>
> After that, everything is broken. 
>
> I feel that somehow I got lucky yesterday, and picked the right 
> combination of node and actual tiddlers that allowed vim to work. Now it 
> doesn't seem to work no matter what I do.
>
> Anyone else have experience with vim on TW?
>
> Thanks!
>
> On Thursday, July 9, 2020 at 11:19:23 AM UTC-7, Mark S. wrote:
>>
>>
>> I was trying to use the Code Mirror Vim keymap.
>>
>> The problem is that the escape key, which is used to change edit modes in 
>> Vim, is still mapped to the the "cancel tiddler" functionality in 
>> TiddlyWiki. So you can't change modes without also closing out the current 
>> tiddler and abandoning your changes!
>>
>> I assume that some alternative key has been mapped, but if so, it hasn't 
>> been documented.
>>
>> Is there a magic incantation for using Vim in Code Mirror on TiddlyWiki ?
>>
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/89826dac-f0a1-4fed-8ff7-219d0c6b7bcdo%40googlegroups.com.


[tw5] Re: How to use the Vim mode in Code-Mirror?

2020-07-10 Thread 'Mark S.' via TiddlyWiki
Yesterday I was able to work for several hours with Vim in Codemirror. But 
I didn't have a "proper" set up -- it was a mix of node and drag-n-drop 
plugins.

When I set up everything "properly" in node, with pre-release, or with 
5.1.22 single file, I always get this message in the RSOE:

TypeError: n is undefined

right after setting up "vim" as the CodeMirror keymap.

After that, everything is broken. 

I feel that somehow I got lucky yesterday, and picked the right combination 
of node and actual tiddlers that allowed vim to work. Now it doesn't seem 
to work no matter what I do.

Anyone else have experience with vim on TW?

Thanks!

On Thursday, July 9, 2020 at 11:19:23 AM UTC-7, Mark S. wrote:
>
>
> I was trying to use the Code Mirror Vim keymap.
>
> The problem is that the escape key, which is used to change edit modes in 
> Vim, is still mapped to the the "cancel tiddler" functionality in 
> TiddlyWiki. So you can't change modes without also closing out the current 
> tiddler and abandoning your changes!
>
> I assume that some alternative key has been mapped, but if so, it hasn't 
> been documented.
>
> Is there a magic incantation for using Vim in Code Mirror on TiddlyWiki ?
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d6a55ae0-dc8d-433a-b79b-e68a14260c40o%40googlegroups.com.


[tw5] Re: Access the Parent Tiddler's Field when Inside a ListWidget Loop

2020-07-10 Thread Eric Shulman
On Friday, July 10, 2020 at 7:00:52 AM UTC-7, David wrote:
>
> I am looping over some tiddlers with the ListWidget.
> I was using the variable attribute, but have removed that to access 
> fields directly (via {{!!fieldname}} type calls, and for best practice 
> reasons, etc.
> But I need to know  how to refer to the parent tiddler's field (not the 
> child's) in a reveal's state attribute.
> This (the "!!edit_priorities" state, which refers to a field in the 
> parent tiddler) used to work when the filter was using the item variable, 
> but needs some tweaking now, because the "scope" it's in has changed to the 
> child tiddler (I assume).
> <$list filter="[tag[Task]!tag[Done]]" >
> <$reveal type="match" state="!!edit_priorities" text="1">
> <$edit-text field="priority" size="3" />
> 
>  <$checkbox tag="Done"/> <$link>{{!!title}}
> 
> 
> So, in words, what I'm trying to do is list todo tasks that are not tagged 
> as done.  In that tiddler as well is a field, which I use to control the 
> display of the Priority edit boxes.  If I set that field to '1', then I 
> want the reveals to show the edit boxes for each task.
>

To do what you want, you'll *need* to use variable="..." in the $list 
widget.
This will allow you to keep the "parent" tiddler context as the 
currentTiddler.

Of course, you have references *inside* the $list loop that you would like
to keep simple by having the $list use currentTiddler, but that would defeat
what you want to do with the "priority" field.

One way to achieve a mix of both, is to explicitly use the tiddler="..." 
widget
parameter or wrap content in a $tiddler widget to set the inner context.

Something like this:
<$list filter="[tag[Task]!tag[Done]]" variable="item">
   <$reveal type="match" state="!!edit_priorities" text="1">
  <$edit-text tiddler=<> field="priority" size="3" />
   
   <$tiddler tiddler=<>>
   <$checkbox tag="Done" /> <$link />
   


notes:
* the $edit-text uses an explicit tiddler=<> param to point at the 
individual task tiddler
* the $checkbox and $link are surrounded by a $tiddler widget that sets the 
<> to the <> value
* I've used the "short form" of <$link />, since you are just linking to 
the <>

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fa0586b4-ae2a-41e7-ad4c-18c41ebcc645o%40googlegroups.com.


[tw5] Re: http://evanbalster.com/ where are you!!!!

2020-07-10 Thread Ste

Hi Mark, sorry to mither...

I've created buttons which copy the entire macro to a new tiddler, create 
error messages and do nothing at all (I swear once I heard it laughing at 
me...) but not one of my bumbling attempts at tiddlywiki-speak have made 
the text of the date, and only the text of the date, appear in another 
field or tiddler.

To clarify...

enter a date in a field.

Use your wonderful macro to add a number of days (probably in another field)

Put the text output of that in a final field.   <--This be the bit that 
killing me :)

Smile as vis.js finally recognises the output!

:)
On Thursday, 9 July 2020 at 17:40:46 UTC+1 Mark S. wrote:

>
> https://marxsal.github.io/various/playground.html#Date%20Conversion%20Macros
>
> You can calculate future dates. Coupled with the range widget, you could 
> calculate a series of dates every X days apart. To poke it back into a 
> field requires a button or other action widget, as always.
>
> If you have an app that depends on thousands of dates being calculated 
> when the TW loads, then this might not be the solution for you. Javascript 
> will always be faster. However, even Javascript has some serious date range 
> limitations built in, surprisingly enough.
>
> On Thursday, July 9, 2020 at 8:49:10 AM UTC-7, Mat wrote:
>>
>> Ste, it may be worth considering that TW now has math functionality that 
>> was not available when Evan made his plugin. Also, I recall digging up some 
>> algo for how to calculate future dates that Mark used for some problem. 
>> Maybe he has a ready made solution that you can use.
>>
>> <:-)
>>
>

-- 
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/6b7a3f26-2c7b-4cb9-8877-4b5e175d9f8an%40googlegroups.com.


[tw5] Re: Access the Parent Tiddler's Field when Inside a ListWidget Loop

2020-07-10 Thread TW Tones
David,

The list widget by default changes the currentTiddler value for each title 
it generates.
In you code you are trying to look at the fields in each of the tiddlers 
the filter finds.

<$list filter="[tag[Task]!tag[Done]]" *variable=currentTiddler*>
<$reveal type="match" state="!!edit_priorities" text="1">
<$edit-text field="priority" size="3" />

 <$checkbox tag="Done"/> <$link>{{!!title}}


In bold is what the default is without giving it.

Now if you do not need to use the lists titles inside the list widget use 
another variable
*variable=nul* is what I use if the code does not use the title, however if 
it did it could use 
<>

A Quick look at your code suggests it is all you need to make it wok
<$list filter="[tag[Task]!tag[Done]]" *variable=nul*>
<$reveal type="match" state="!!edit_priorities" text="1">
<$edit-text field="priority" size="3" />

 <$checkbox tag="Done"/> <$link>{{!!title}}



Basically it is a simple convention If I don't use the variable in the list 
statement I call it nul, or If I do use the list result I chose a 
meaningful name lets say list-item
Most widgets then let you specify 
tiddler=<>
or in another parameter

By using the variable= the shorthand ways such as 
{{!!fieldname}}
Continue to work.

Did you know if you allow the currentTiddler to change while listing a 
number of tiddlers there are other short cuts
{{||$:/core/ui/Buttons/edit}} will give you an edit button for the current 
tiddler.

Regards
TW Tones




On Saturday, July 11, 2020 at 12:00:52 AM UTC+10, David wrote:
>
> I am looping over some tiddlers with the ListWidget.
>
> I was using the variable attribute, but have removed that to access 
> fields directly (via {{!!fieldname}} type calls, and for best practice 
> reasons, etc.
>
> But I need to know  how to refer to the parent tiddler's field (not the 
> child's) in a reveal's state attribute.
>
> This (the "!!edit_priorities" state, which refers to a field in the 
> parent tiddler) used to work when the filter was using the item variable, 
> but needs some tweaking now, because the "scope" it's in has changed to the 
> child tiddler (I assume).
>
> <$list filter="[tag[Task]!tag[Done]]" >
> <$reveal type="match" state="!!edit_priorities" text="1">
> <$edit-text field="priority" size="3" />
> 
>  <$checkbox tag="Done"/> <$link>{{!!title}}
> 
> 
>
> So, in words, what I'm trying to do is list todo tasks that are not tagged 
> as done.  In that tiddler as well is a field, which I use to control the 
> display of the Priority edit boxes.  If I set that field to '1', then I 
> want the reveals to show the edit boxes for each task.
>
> Thank you!
>

-- 
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/46d874be-f3e9-49b3-869c-32e55653520bo%40googlegroups.com.


[tw5] Re: Autoscroll in TW

2020-07-10 Thread Eric Shulman
On Friday, July 10, 2020 at 6:42:26 AM UTC-7, Felicia Crow wrote:
>
> Like the new look with the images and the added functionality.
>

Thanks.  If you look at the button code, it's all just stuff that 
TiddlyWiki does well,
like $action-navigate and tm-open-window.

BTW, I've just made yet another "fix"... I had previously said that the 
scroll rate was linear... that is, the same
speed all the way through from top to bottom of the content.  However, the 
default was actually "ease in, ease out"
where the scrolling starts slow, speed up in the middle, and slows down 
towards the end.  I've just now changed
the transition CSS to actually use "linear" so the speed is consistent for 
the full range of scrolling.

Here's a reference on the various "easings" that are commonly used: 
https://easings.net/

As always, the latest update is here: http://tiddlytools.com/autoscroll.html

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c84aef6a-eb92-440c-8b95-2deefb69b385o%40googlegroups.com.


[tw5] Re: Italian Pasta - List of Pasta Varieties

2020-07-10 Thread Wpq
This is amazing and to the difference of others I opened that after lunch 
so I did not have to lick the screen.

On the technical part: I am glad I saw that as I am re-re-re-starting my 
blog and wrote one based off Hugo and Vue. I now realize that I will have 
all that I need in ToddlyWiki and it will be a good opportunity to learn.

On the pasta side, I am French and we have lots of pasta in the 
supermarkets. Or so I thought before glancing through your site. I have at 
home maybe a dozen of different pasta but 80% of the ones on your site I 
have not even seen in real life.
Since I have never really paid attention when travelling to Italy: do you 
have a few, some, a majority, most or all of these in a typical (large) 
supermarket?



Le vendredi 10 juillet 2020 à 13:59:11 UTC+2, duarte...@gmail.com a écrit :

> Hey TW Tones, thanks for the feedback
>
> On Friday, 10 July 2020 00:40:03 UTC+1, TW Tones wrote:
>
>>  I love your zoom in to the picture, perhaps one day someone can click 
>> through to the pasta in there?
>>
>
> Not sure if you missed it but labels are clickable in the fullscreen 
> version of the chart . 
> Unfortunately 
> I am bound by my lack of skills with these things.
> I could not get it to work in the zoomable version, having an SVG overlay 
> prevents some mouse events, and moving the cursor away from the "minimap" 
> generally misplaces the framed area making the experience unpleasant.
>
>  
>
>> I attached my simple tag pill enhancement. It allows you to open all 
>> tagged, or close all tagged.
>>
>
> This is a pretty useful plugin, not just for end users, more as an actual 
> convenience tool used during development. It would definitely have saved me 
> a some time in the creation phase,
> Hell I might use it myself on my personal wikis in the future.
>
> Only suggestion is removing the hardcoded blue color for the *Open All 
> Tagged* button. Just a matter of removing the fill=blue from 
> $:/PSaT/open-all-tagged.
>  
>
>>
>> I hope you achieve some sales through your amazon links but this also 
>> prompts me to suggest allowing visitors to select items they want to try 
>> and giving them something similar to a cart - perhaps just the favourites 
>> plugin eg ajh/favorites or Mohammads 
>> https://github.com/kookma/TW-Favorites
>>
>
> I'm having really mixed feelings about those adds, like all of you here 
> I'm not at all a fan and they look quite intrusive.
> It was more of a personal test to see how the system works and how easy it 
> was to integrate them, I don't think it will never generate enough traffic 
> to have any meaningful benefit. I might just remove them at some point.
>
>
> And the future ? start to collect recipes that are typically used for each 
>> pasta type. I had a close connection to an Italian family, making sauce, 
>> pickled eggplant, black spaghetti and more.  The Italians seem to have 
>> acquired some of the best food in the world and made it their own.
>>
>
> Those are actually quite good ideas. In the future I'd like to improve 
> this with more information about where geographically each pasta comes 
> from, improve the descriptions and details and like you mention common 
> recipes or presentation suggestions.
>  
>

-- 
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/c27cde70-3ce6-46d2-9533-89b923f66740n%40googlegroups.com.


[tw5] Access the Parent Tiddler when Inside a ListWidget Loop

2020-07-10 Thread David
I am looping over some tiddlers with the ListWidget.

I was using the variable attribute, but have removed that to access fields 
directly (via {{!!fieldname}} type calls, and for best practice reasons, 
etc.

But I need to know  how to refer to the parent tiddler (not the child) in a 
reveal's state attribute.

This (the "!!edit_priorities" state, which refers to a field in the parent 
tiddler) used to work when the filter was using the item variable, but 
needs some tweaking now, because the "scope" it's in has changed to the 
child tiddler (I assume).

<$list filter="[tag[Task]!tag[Done]]" >
<$reveal type="match" state="!!edit_priorities" text="1">
<$edit-text field="priority" size="3" />

 <$checkbox tag="Done"/> <$link>{{!!title}}



So, in words, what I'm trying to do is list todo tasks that are not tagged 
as done.  In that tiddler as well is a field, which I use to control the 
display of the Priority edit boxes.  If I set that field to '1', then I 
want the reveals to show the edit boxes for each task.

Thank you!

-- 
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/762de280-823f-43e2-beeb-dc77337c22eao%40googlegroups.com.


[tw5] Re: Autoscroll in TW

2020-07-10 Thread Felicia Crow
Like the new look with the images and the added functionality.

As for the bug, thanks for trying to solve it even if firefox does not want 
to comply.

Felicia


On Friday, 10 July 2020 13:45:44 UTC+2, Eric Shulman wrote:
>
> Another update:
>
> in AutoScroll/Viewer:
> * disable button actions if no tiddler is selected
> * added "goto" and "open window" buttons for selected tiddler
> * these buttons automatically stop/close any active scrolling/selected 
> tiddler
>
> in AutoScroll/Viewer and AutoScroll/Toolbar:
> * use images instead of text for button labels
>
> As usual, the lastest revision is here: 
> http://tiddlytools.com/autoscroll.html
>>
>>
>>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2d49261a-0b1c-4f18-a6fe-2c0739081f47o%40googlegroups.com.


[tw5] Re: Italian Pasta - List of Pasta Varieties

2020-07-10 Thread Duarte Farrajota Ramos
Hey TW Tones, thanks for the feedback

On Friday, 10 July 2020 00:40:03 UTC+1, TW Tones wrote:

>  I love your zoom in to the picture, perhaps one day someone can click 
> through to the pasta in there?
>

Not sure if you missed it but labels are clickable in the fullscreen 
version of the chart . 
Unfortunately 
I am bound by my lack of skills with these things.
I could not get it to work in the zoomable version, having an SVG overlay 
prevents some mouse events, and moving the cursor away from the "minimap" 
generally misplaces the framed area making the experience unpleasant.

 

> I attached my simple tag pill enhancement. It allows you to open all 
> tagged, or close all tagged.
>

This is a pretty useful plugin, not just for end users, more as an actual 
convenience tool used during development. It would definitely have saved me 
a some time in the creation phase,
Hell I might use it myself on my personal wikis in the future.

Only suggestion is removing the hardcoded blue color for the *Open All 
Tagged* button. Just a matter of removing the fill=blue from 
$:/PSaT/open-all-tagged.
 

>
> I hope you achieve some sales through your amazon links but this also 
> prompts me to suggest allowing visitors to select items they want to try 
> and giving them something similar to a cart - perhaps just the favourites 
> plugin eg ajh/favorites or Mohammads 
> https://github.com/kookma/TW-Favorites
>

I'm having really mixed feelings about those adds, like all of you here I'm 
not at all a fan and they look quite intrusive.
It was more of a personal test to see how the system works and how easy it 
was to integrate them, I don't think it will never generate enough traffic 
to have any meaningful benefit. I might just remove them at some point.

And the future ? start to collect recipes that are typically used for each 
> pasta type. I had a close connection to an Italian family, making sauce, 
> pickled eggplant, black spaghetti and more.  The Italians seem to have 
> acquired some of the best food in the world and made it their own.
>

Those are actually quite good ideas. In the future I'd like to improve this 
with more information about where geographically each pasta comes from, 
improve the descriptions and details and like you mention common recipes or 
presentation suggestions.
 

-- 
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/bc5a342d-6bfe-4e50-8463-b4f0f9ad1342o%40googlegroups.com.


[tw5] Re: Notowritey - Outliner/editor for TW

2020-07-10 Thread David Gifford
Just saw this. Very nice addition to NotoWritey!

On Monday, July 6, 2020 at 5:22:37 PM UTC-5 Mark S. wrote:

>
> There is now a Publication/Read-only mode. Hopefully I didn't break 
> anything making it, because a lot of CSS got moved around. The button is 
> down in the settings. Once you're in the view mode, to get back to regular 
> mode hover over the bottom of the "document" (usually the bottom of the 
> tiddler) and it will flash a green button to press.
>
> https://marxsal.github.io/various/notowritey.html
>

-- 
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/fb623fd0-ca8f-4c1a-a9e4-c9c4916907d6n%40googlegroups.com.


[tw5] Re: Autoscroll in TW

2020-07-10 Thread Eric Shulman
Another update:

in AutoScroll/Viewer:
* disable button actions if no tiddler is selected
* added "goto" and "open window" buttons for selected tiddler
* these buttons automatically stop/close any active scrolling/selected 
tiddler

in AutoScroll/Viewer and AutoScroll/Toolbar:
* use images instead of text for button labels

As usual, the lastest revision is here: 
http://tiddlytools.com/autoscroll.html
>
>
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7d7cedcf-8336-4fc0-94bd-cf2e62c2a4b2o%40googlegroups.com.


[tw5] Some list questions

2020-07-10 Thread jay
Hey 

So I'm a musician, I've been using tiddlywiki to keep a record of my 
performances, setlists, practice etc. 

Each week I prepare and perform a 30 minute gig.

I have tiddlers for each performance, tagged /m/performance, and tiddlers 
for each song are tagged /m/song

I use the /m/performance tiddler to help me prepare for gigs and as a log 
of songs what I've performed. The naming convention for the title of these 
tiddlers is the date of the show followed by the venue. 

There are 2 things i want to do with lists that I can't figure out.

1) When assembling the setlist for a performance I can generate a list of 
all the songs in my repotoire on the /m/performance tiddler. I want a 
checkbox next to each link tha,t if selected, will tag the song with the 
title of the performance tiddler (or link it with the performance tiddler 
in some other way). This is the code I'm currently using in the template 
for my /m/performance tiddlers but if I check the box the song is tagged 
with its own title (name of the song), not the title of the performance 
tiddler. 

<$list filter="[tag[/m/song]]">
<$checkbox tag=<> /> <$link to={{!!title}}><$view 
field="title"/>


2) I will next create a list of all songs tagged with the performance. 
These will be the pieces that I work on during the week. Thats fine I can 
do that. But I'd also like to be able to drag and drop / rearrange this 
list  in view mode, as it becomes the final setlist for the gig. I'd also 
like to be able to preserve that order. Not sure how to make any of this 
happen?

I hope this makes sense, any thoughts on any of these problems would be 
helpful. 


-- 
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/b3606a74-ec82-48ce-8945-9623e3eb3271o%40googlegroups.com.


[tw5] Re: Autoscroll in TW

2020-07-10 Thread Eric Shulman
On Friday, July 10, 2020 at 1:16:16 AM UTC-7, Felicia Crow wrote:
>
> sorry have to say the bug still persists.
>

hmmm... that's odd.  I also noticed that in your screen snapshot, it looks 
like the overflow:visible
is causing the shifted content to spill outside of the tiddler.  Of course, 
this wouldn't be happening
if the transform:translateY(0px) was working.  *sigh*

In any event, I've also just made another update.  Now the 
AutoScroll/Viewer gets the scrolltime
value from the selected tiddler, instead of using an independent "duration" 
setting.  This makes
more sense since the scrolltime is now always related to the content being 
viewed.  Note that this
also means that, just like AutoScroll/Toolbar, changing the value modifies 
the scrolltime field of the
tiddler being displayed.  

I would assume firefox does something differently in the back compared to 
> chrome, but I currently can't think of what seeing how start to stop works, 
> but pause to stop does not.
>

Perhaps it has to do with how "pause" works.  It's not actually stopping 
the transform. Its just setting
the duration of the transform to 10s (that's 1 BILLION seconds!).  
Even so, pressing "stop"
should set transform back to 0px with a speed of 0s.  I'm going to have to 
think about this a bit more,
but it might be "just one of those FireFox quirks" of which there are more 
than a few!

Thanks for testing the changes.  If you find anything else, please let me 
know.

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e2bbfab9-357d-44ac-9454-09f78a79500ao%40googlegroups.com.


[tw5] Re: [ Demo ] : floating editor toolbar

2020-07-10 Thread Saq Imtiaz
The default UI for toolbar is very easy to set up but I don't like the user 
experience. What is in the demo is unfinished and just a bare minimum to 
make things workable. I have something different in mind if I do get around 
to taking this further.

Cheers,
Saq

On Friday, July 10, 2020 at 12:46:07 AM UTC+2, TW Tones wrote:
>
> Saq,
>
> Once before I created a new "toolbar" one could manage inside control 
> panel appearance toolbars. We could just list all EditorToolbar items and a 
> checkbox would place it on the popup. This provides the standard way to 
> select and reorder.
>
> Also with the Active tiddler discussion in dev tools even editor toolbar 
> options that do not relate to selecting text could be placed in a sidebar.
>
> Perhaps after POC?
>
> Regards
> Tony
>
> On Thursday, July 9, 2020 at 5:31:41 PM UTC+10, Saq Imtiaz wrote:
>>
>> @Mat: Regarding tools that don't require selections: I haven't really 
>> given any of this a lot of thought. This was a quick hack combining bits 
>> from other things I have worked on, prompted by a request for a more 
>> slimmed down editor toolbar in Streams.
>>
>> In general I favour a minimal UI when writing, so I would not want a 
>> small toolbar at the top of the textarea with those tools. My natural 
>> preference might be for bringing up a different popup menu at the caret 
>> position, prompted by a keyboard shortcut. However I realize that not 
>> everyone is a fan of keyboard shortcuts. Or you know, we could let 
>> EditorMagic deal with that ;)
>>
>> @Tony: there is a rough version of a configuration panel for buttons for 
>> the toolbar at 
>> https://saqimtiaz.github.io/sq-tw/floating-menu.html#config
>>
>> That's pretty much how far I got before the call ended, and it is 
>> sufficient for a proof of concept.
>>
>>

-- 
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/fe906f38-eee9-4a9b-b8f7-1af27573959eo%40googlegroups.com.


[tw5] Re: http://evanbalster.com/ where are you!!!!

2020-07-10 Thread TW Tones
Stephan,

I know its a conceptual leap. Now is a time date stamp of the current time 
and date. The point is then lists are the ones that choose which tiddlers 
to include, using the days operator , not calculating the date when you are 
touching/modifying the tiddler.

In your case however the timeline plugin demands start and end dates. So 
perhaps this will not help you.

I use the plugin here https://github.com/kixam/TW5-datepicker for selecting 
actual dates past present or future.

I use UTC in the date format see the view Widget and DateFormat details

I hope this helps
TW Tones



On Friday, July 10, 2020 at 6:16:49 PM UTC+10, Stephen Wilson wrote:
>
> @Mark S
> Thanks, will have a look!
>
> Perhaps a fuller explanation of what I'm trying to achieve...
>
> Last year I cobbled together an assessment schedule, handcrafting all the 
> dates for each toddler and feeding it into vis.js timeline plugin.  It's 
> about that time again to update this for the next academic year, so I was 
> hoping to make this a little more robust/ spreadsheet-like in that I could 
> set the start date and watch and smile as all the other dates set 
> themselves from that, and from that set up forms to more easily add/ edit 
> dates etc.
>
> Then I can host the thing and stick it in teams!!  Yay Microsoft Teams
>
>
> file:///C:/PortableApps/Documents/Tiddlywikis/Testing%20Schedule.html_backup/Testing%20Schedule.20200709135916295.html#Assessment%20Schedule
>
> @TW Tones
> So when you say 'NOW' is that any now, ie it could be a future now, or 
> does it have to be a now now?   I keep getting stuck on NOW... :) !
>
> Thanks!
>
> On Friday, 10 July 2020 at 01:47:53 UTC+1 TW Tones wrote:
>
>> Ste,
>>
>> A Quick reminder, that on numerous occasions I have raised the idea of 
>> using a "now time stamp" rather than a future dated field and in the 
>> listing of such tiddler use the days operator to determine you are now +7 
>> days from the timestamp. That is avoid such date manipulation and let the 
>> search/listing deal with it.
>>
>> Eg review-date older than 7 days then it is due (in the weekly queue), 
>> but this also allows the same date field to be listed in fortnightly and 
>> monthly, even quarterly and annually. Just change the days operators, a 
>> caparison of the date field with now. All this without a single date 
>> manipulation. If you want to use a weekly-date and flag/tag it Monday and 
>> only list it on any day of the week if not done, but only Monday if done.
>>
>> Regards
>> Tony
>>
>>
>> On Thursday, July 9, 2020 at 9:22:55 PM UTC+10, Ste wrote:
>>>
>>> http://evanbalster.com/tiddlywiki/ 
>>> 
>>> seems to have gone! :(
>>> I'm sure this cam up before, and someone cloned the formula plugin 
>>> somewhere (with an update?), but my google groups searches can't seem to 
>>> find the thread...
>>> The wayback machine has a snapshot from Nov last year.
>>> Was just hoping I could get some date examples and usage from the site.
>>> Hope your ok Evan!
>>>
>>> Stephen
>>>
>>

-- 
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/0299a318-75a3-4757-95a8-cbb0ddc3o%40googlegroups.com.


[tw5] Re: http://evanbalster.com/ where are you!!!!

2020-07-10 Thread Stephen Wilson
A link thats NOT pointing to my C:\ drive...!

http://stephenteachertests.tiddlyspot.com/#Assessment%20Schedule



On Friday, 10 July 2020 at 09:16:49 UTC+1 Stephen Wilson wrote:

> @Mark S
> Thanks, will have a look!
>
> Perhaps a fuller explanation of what I'm trying to achieve...
>
> Last year I cobbled together an assessment schedule, handcrafting all the 
> dates for each toddler and feeding it into vis.js timeline plugin.  It's 
> about that time again to update this for the next academic year, so I was 
> hoping to make this a little more robust/ spreadsheet-like in that I could 
> set the start date and watch and smile as all the other dates set 
> themselves from that, and from that set up forms to more easily add/ edit 
> dates etc.
>
> Then I can host the thing and stick it in teams!!  Yay Microsoft Teams
>
>
> file:///C:/PortableApps/Documents/Tiddlywikis/Testing%20Schedule.html_backup/Testing%20Schedule.20200709135916295.html#Assessment%20Schedule
>
> @TW Tones
> So when you say 'NOW' is that any now, ie it could be a future now, or 
> does it have to be a now now?   I keep getting stuck on NOW... :) !
>
> Thanks!
>
> On Friday, 10 July 2020 at 01:47:53 UTC+1 TW Tones wrote:
>
>> Ste,
>>
>> A Quick reminder, that on numerous occasions I have raised the idea of 
>> using a "now time stamp" rather than a future dated field and in the 
>> listing of such tiddler use the days operator to determine you are now +7 
>> days from the timestamp. That is avoid such date manipulation and let the 
>> search/listing deal with it.
>>
>> Eg review-date older than 7 days then it is due (in the weekly queue), 
>> but this also allows the same date field to be listed in fortnightly and 
>> monthly, even quarterly and annually. Just change the days operators, a 
>> caparison of the date field with now. All this without a single date 
>> manipulation. If you want to use a weekly-date and flag/tag it Monday and 
>> only list it on any day of the week if not done, but only Monday if done.
>>
>> Regards
>> Tony
>>
>>
>> On Thursday, July 9, 2020 at 9:22:55 PM UTC+10, Ste wrote:
>>>
>>> http://evanbalster.com/tiddlywiki/ 
>>> 
>>> seems to have gone! :(
>>> I'm sure this cam up before, and someone cloned the formula plugin 
>>> somewhere (with an update?), but my google groups searches can't seem to 
>>> find the thread...
>>> The wayback machine has a snapshot from Nov last year.
>>> Was just hoping I could get some date examples and usage from the site.
>>> Hope your ok Evan!
>>>
>>> Stephen
>>>
>>

-- 
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/167621d5-3b1e-4ccd-ac3d-6e6838112059n%40googlegroups.com.


[tw5] Re: http://evanbalster.com/ where are you!!!!

2020-07-10 Thread Stephen Wilson

@Mark S
Thanks, will have a look!

Perhaps a fuller explanation of what I'm trying to achieve...

Last year I cobbled together an assessment schedule, handcrafting all the 
dates for each toddler and feeding it into vis.js timeline plugin.  It's 
about that time again to update this for the next academic year, so I was 
hoping to make this a little more robust/ spreadsheet-like in that I could 
set the start date and watch and smile as all the other dates set 
themselves from that, and from that set up forms to more easily add/ edit 
dates etc.

Then I can host the thing and stick it in teams!!  Yay Microsoft Teams

file:///C:/PortableApps/Documents/Tiddlywikis/Testing%20Schedule.html_backup/Testing%20Schedule.20200709135916295.html#Assessment%20Schedule

@TW Tones
So when you say 'NOW' is that any now, ie it could be a future now, or does 
it have to be a now now?   I keep getting stuck on NOW... :) !

Thanks!

On Friday, 10 July 2020 at 01:47:53 UTC+1 TW Tones wrote:

> Ste,
>
> A Quick reminder, that on numerous occasions I have raised the idea of 
> using a "now time stamp" rather than a future dated field and in the 
> listing of such tiddler use the days operator to determine you are now +7 
> days from the timestamp. That is avoid such date manipulation and let the 
> search/listing deal with it.
>
> Eg review-date older than 7 days then it is due (in the weekly queue), but 
> this also allows the same date field to be listed in fortnightly and 
> monthly, even quarterly and annually. Just change the days operators, a 
> caparison of the date field with now. All this without a single date 
> manipulation. If you want to use a weekly-date and flag/tag it Monday and 
> only list it on any day of the week if not done, but only Monday if done.
>
> Regards
> Tony
>
>
> On Thursday, July 9, 2020 at 9:22:55 PM UTC+10, Ste wrote:
>>
>> http://evanbalster.com/tiddlywiki/ 
>> 
>> seems to have gone! :(
>> I'm sure this cam up before, and someone cloned the formula plugin 
>> somewhere (with an update?), but my google groups searches can't seem to 
>> find the thread...
>> The wayback machine has a snapshot from Nov last year.
>> Was just hoping I could get some date examples and usage from the site.
>> Hope your ok Evan!
>>
>> Stephen
>>
>

-- 
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/3705eb9a-09bb-4d88-812c-8f2975956daen%40googlegroups.com.


[tw5] Re: Autoscroll in TW

2020-07-10 Thread Felicia Crow
Eric,

sorry have to say the bug still persists.

[image: autoscroll.png]


I would assume firefox does something differently in the back compared to 
chrome, but I currently can't think of what seeing how start to stop works, 
but pause to stop does not.

Felicia

On Friday, 10 July 2020 09:52:23 UTC+2, Eric Shulman wrote:
>
> On Friday, July 10, 2020 at 12:15:05 AM UTC-7, Felicia Crow wrote:
>>
>> first this is a wonderful tool, especially with the extensions you added.
>>
>
> Thanks.
>  
>
>> One firefox exclusive bug: When using the toolbar the text keeps its 
>> transformed position when pressing pause then stop.
>> I don't think it would really need solving since start then stop resets 
>> it, just thought to let you know.
>>
>
> I think I've fixed it.  The solution is to explicitly reset the CSS using:
> transform:translateY(0px); transition:transform 0s 
> before deleting the styles entirely.  Can you check to see if this does 
> indeed fix it?
>
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aa88cf95-a749-44d8-a9e6-d59aba0475ffo%40googlegroups.com.


[tw5] Re: JSONMangler and nested JSON

2020-07-10 Thread 'Werner' via TiddlyWiki
Hi Tony,

thanks for taking your time and your extensive reply. Perhaps I've made it 
too complicated. Ok, I try to reformulate it. Disclaimer also: I work in a 
corporate environment, so I'm not completely free in the tools I am allowed 
to use (to my surprise, Node.js is ok - ye!) and how much information I 
can disclose.

Let's put it that way: I have set up an internal information repository 
which contains more or less textual information only so far. But now and 
then, I would like to display some figures. And I would have to perform 
some simple arithmetics with that figures (basically summing up).

Let's call the things I am looking at "facilities". A "facility" should be 
displayed in a templated tiddler, displaying textual and quantitative 
information. Each "facility" can feature several "units" (that's the 1:n 
relation), figures for which should also be displayed and/or shown as a 
grand total. 

The data for the facility/unit information should initially come from an 
Excel table. For further use (the CRUD part), I would like to create a 
TW-based interface. As "facility" is a comprehensive entity for my 
purposes, I thought it would be ok to store it in a nested JSON tiddler, 
i.e. store the units per facility in a JSON array. This, of course, breaks 
the RDBMS dogma, but it saves me from having to fiddle with primary keys. 
Mimicking a RDBMS in TW is definitely not a rabbit hole I want to jump 
into. If I needed something like that, I would try if I could connect a DB 
backend via Node.js (in my special environment I would end up with SQLite 
or ODBC), and let this do the grunt work. 

All this being said, here's the core of my question: Accessing nested JSON 
data using Joshua Fontenay's JSONMANGLER plugin works great, as long as the 
index position is known, but I need a way to determine the length of a 
variable-length array in a JSON structure, for not running out-of-bounds 
while looping into the nested data. I understand $:/History is such a 
variable-length array, and thanks for pointing me at this. In that case, 
maybe I need to look up how data are retrieved from there. I know, as a 
workaround, I still could store the number of units as a data field in the 
JSON structure, but then I would have to take care of it programatically, 
which I want to avoid.

Thanks again and apologies for any confusion I caused
Werner

TW Tones schrieb am Freitag, 10. Juli 2020 um 01:19:01 UTC+2:

> Werner,
>
> Despite clearly having a lot in common with an understanding of databases 
> I don't completely follow you need or argument here. However I believe I 
> can offer you some helpful leads.
>
> One part that confuses me is your 1:n or one to many, I have already build 
> one to one, one to many and many to many half a dozen ways without a data 
> tiddler in tiddlywiki. What is the particular issue here?
>
> First look at tiddlywikis existing functionality.
>
>- The history mechanism stores tiddler titles and more during a 
>session in the $:/historyList this may be an analogue
>- The Import and export mechanism extract and package tiddlers as json 
>representations
>- Mohammad's Trash Plugin moves deleted tiddlers into another 
>structure to keep them aside, I think it is JSON as well.
>- In my demo site here 
> the active 
>tiddler process extracts titles from the history list using splitregexp 
> not 
>standard JSON as the key is not unique
>
> However It would not necessarily be too concerned about using tiddlers 
> unless your number will be truly astounding in numbers. We had a 66,000 
> word tiddler example in the last year and that was single file.
>
> Speculation
>
> If you packed more static tiddlers (eg a reference table)  into a plugin 
> and access them as shadow tiddlers you are effectively packing them into a 
> json file and allow yourself to edit exceptions and the database becomes 
> the combination of the packaged and overwritten providing a lot of 
> flexibility to your design. In effect you CRUD will make use of standard 
> tiddlywiki features, just treat the records like standard tiddlers. The D 
> or delete of CRUD could get smart (adding and removing from JSON) or you 
> could simply flag deleted tiddlers as such and treat them as deleted with 
> an occasional rebuild recommended after N tiddlers are flagged as deleted.
>
> I can already foresee a lot of sophisticated features being possible 
> including tracing and logs, difference engines, database snapshot at a 
> point in time and more. I have recently designed an alternative to shadow 
> tiddlers I call ghost tiddlers that may also be a useful algorithm.
>
> Offer
> I as a tiddlywiki superuser, I am investing totally in the TiddlyWiki 
> platform, if you are interested in collaboration to build a database model 
> process, making full use tiddlywiki's unique features I think it will be a 
> good investment in the future.
>
> 

[tw5] Re: Autoscroll in TW

2020-07-10 Thread Eric Shulman
On Friday, July 10, 2020 at 12:15:05 AM UTC-7, Felicia Crow wrote:
>
> first this is a wonderful tool, especially with the extensions you added.
>

Thanks.
 

> One firefox exclusive bug: When using the toolbar the text keeps its 
> transformed position when pressing pause then stop.
> I don't think it would really need solving since start then stop resets 
> it, just thought to let you know.
>

I think I've fixed it.  The solution is to explicitly reset the CSS using:
transform:translateY(0px); transition:transform 0s 
before deleting the styles entirely.  Can you check to see if this does 
indeed fix it?

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d4d1ae0b-e01c-4018-9728-604fdc90701co%40googlegroups.com.


[tw5] Re: Autoscroll in TW

2020-07-10 Thread Adithya B M
Thank you Eric!

Amazing work.  Now to build my song database on TW.

On Friday, July 10, 2020 at 10:45:27 AM UTC+5:30, Eric Shulman wrote:
>
> On Thursday, July 9, 2020 at 9:36:07 AM UTC-7, Adithya B M wrote:
>>
>> Eric, This is beautiful. It solves the problem!
>>
>
> Thanks.  I'm particularly pleased with myself on this one.  CSS tricks are 
> fun!
>  
>
>> This would be my wishlist: Would this scenario be hard to pull off?
>> 1) There is an autoscroll button on the toolbar on each tiddler
>>
>
> DONE!
> AutoScroll/Toolbar adds a button to the toolbar of tiddlers that are 
> tagged with "autoscroll" 
>
> 2) On clicking, the button fires an actionwidget? which:
>>
>>
>>- Launches the Autoscroll Tiddler
>>- Prepopulates the tiddler to be scrolled
>>
>> NOT NEEDED!
> AutoScroll/Template adds the autoscroll display ability directly on 
> tiddlers that are tagged with "autoscroll" 
>
>>
>>- Maybe use a field value from the original tiddler to populate the 
>>duration field. 
>>
>> DONE!
> Just add a field named "scrolltime" to the tiddler tagged with 
> "autoscroll".
>
>>
>>- The Autoscroll tiddler can continue to have a pause,stop and reset 
>>buttons
>>
>> DONE!
> AutoScroll/Toolbar button opens a popup panel with start, pause, and stop 
> buttons
> plus input field for setting the "scrolltime" value
>
> Note that the original "AutoScroll/Viewer" form and display tiddler is 
> also still there, so you
> can use either the AutoScroll/Toolbar item, or the AutoScroll/Viewer, 
> depending upon the
> kind of user experience you want to present.
>
> All these goodies are now posted online at: 
> http://tiddlytools.com/autoscroll.html
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2b1a8fb9-2db0-4d07-a933-34ae5928cf4eo%40googlegroups.com.


[tw5] Re: Autoscroll in TW

2020-07-10 Thread Felicia Crow
Hi Eric,

first this is a wonderful tool, especially with the extensions you added.

One firefox exclusive bug: When using the toolbar the text keeps its 
transformed position when pressing pause then stop.
I don't think it would really need solving since start then stop resets it, 
just thought to let you know.

Regards,
Felicia


On Friday, 10 July 2020 07:15:27 UTC+2, Eric Shulman wrote:
>
> On Thursday, July 9, 2020 at 9:36:07 AM UTC-7, Adithya B M wrote:
>>
>> Eric, This is beautiful. It solves the problem!
>>
>
> Thanks.  I'm particularly pleased with myself on this one.  CSS tricks are 
> fun!
>  
>
>> This would be my wishlist: Would this scenario be hard to pull off?
>> 1) There is an autoscroll button on the toolbar on each tiddler
>>
>
> DONE!
> AutoScroll/Toolbar adds a button to the toolbar of tiddlers that are 
> tagged with "autoscroll" 
>
> 2) On clicking, the button fires an actionwidget? which:
>>
>>
>>- Launches the Autoscroll Tiddler
>>- Prepopulates the tiddler to be scrolled
>>
>> NOT NEEDED!
> AutoScroll/Template adds the autoscroll display ability directly on 
> tiddlers that are tagged with "autoscroll" 
>
>>
>>- Maybe use a field value from the original tiddler to populate the 
>>duration field. 
>>
>> DONE!
> Just add a field named "scrolltime" to the tiddler tagged with 
> "autoscroll".
>
>>
>>- The Autoscroll tiddler can continue to have a pause,stop and reset 
>>buttons
>>
>> DONE!
> AutoScroll/Toolbar button opens a popup panel with start, pause, and stop 
> buttons
> plus input field for setting the "scrolltime" value
>
> Note that the original "AutoScroll/Viewer" form and display tiddler is 
> also still there, so you
> can use either the AutoScroll/Toolbar item, or the AutoScroll/Viewer, 
> depending upon the
> kind of user experience you want to present.
>
> All these goodies are now posted online at: 
> http://tiddlytools.com/autoscroll.html
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a50d1b15-4e30-4781-9fd8-0c2854340154o%40googlegroups.com.