[tw] Re: Lightweight diagrams (e.g. concept maps)?

2018-04-06 Thread Sean Boyle
I found that sequence diagrammes seem to copy / paste, but DAG and GANTT do 
not.

On Friday, April 6, 2018 at 1:44:16 PM UTC-7, Sean Boyle wrote:
>
> My workaround is to use the online editor: 
> https://mermaidjs.github.io/mermaid-live-editor/#/edit/eyJjb2RlIjoiZ3JhcGggVERcbkFbQ2hyaXN0bWFzXSAtLT58R2V0IG1vbmV5fCBCKEdvIHNob3BwaW5nKVxuQiAtLT4gQ3tMZXQgbWUgdGhpbmt9XG5DIC0tPnxPbmV8IERbTGFwdG9wXVxuQyAtLT58VHdvfCBFW2lQaG9uZV1cbkMgLS0-fFRocmVlfCBGW0Nhcl1cbiIsIm1lcm1haWQiOnsidGhlbWUiOiJkZWZhdWx0In19
>  , 
> save as SVG, import to TW, and transclude.  That seems to work OK for 
> copy/paste to other windows.  It does seem to be a problem for other 
> graphical stuff, like railroad diagrams.
>
> On Friday, April 6, 2018 at 4:39:51 AM UTC-7, @TiddlyTweeter wrote:
>>
>> Ciao Sean
>>
>> I agree that Mermaid for TiddlyWiki is good. Its simple plain text syntax 
>> is excellent and fits TW editing style very well. 
>>
>> Regarding the non-printability. That is a known issue with that type of 
>> graphic rendering. I'm not sure that its easily fixable. The way I get 
>> round it if I need to print a Mermaid diagram is to take a screen capture 
>> save as a file and link to that image in the TW. Its too laborious a method 
>> for other than occasional use, but a work-around for limited cases.
>>
>> You are right: looks like its been basically abandoned. Part of the issue 
>> is I think the author probably concluded that no one was interested. He has 
>> other good graphic tools that equally haven't got much notice.
>>
>> As far as I can see it needs a bit of tweeking -- one issue I sometimes 
>> encountered was getting the text to fit properly. But the core is there and 
>> functional.
>>
>> As far as getting the plugin revised. I dunno. I don't have skill for 
>> that. Its a good tool so maybe in time interest to revisit it will grow?
>>
>> Best wishes
>> Josiah
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/26b90974-f261-4b7d-910e-6dc3d1bfeb30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Lightweight diagrams (e.g. concept maps)?

2018-04-06 Thread Sean Boyle
My workaround is to use the online editor: 
https://mermaidjs.github.io/mermaid-live-editor/#/edit/eyJjb2RlIjoiZ3JhcGggVERcbkFbQ2hyaXN0bWFzXSAtLT58R2V0IG1vbmV5fCBCKEdvIHNob3BwaW5nKVxuQiAtLT4gQ3tMZXQgbWUgdGhpbmt9XG5DIC0tPnxPbmV8IERbTGFwdG9wXVxuQyAtLT58VHdvfCBFW2lQaG9uZV1cbkMgLS0-fFRocmVlfCBGW0Nhcl1cbiIsIm1lcm1haWQiOnsidGhlbWUiOiJkZWZhdWx0In19
 , 
save as SVG, import to TW, and transclude.  That seems to work OK for 
copy/paste to other windows.  It does seem to be a problem for other 
graphical stuff, like railroad diagrams.

On Friday, April 6, 2018 at 4:39:51 AM UTC-7, @TiddlyTweeter wrote:
>
> Ciao Sean
>
> I agree that Mermaid for TiddlyWiki is good. Its simple plain text syntax 
> is excellent and fits TW editing style very well. 
>
> Regarding the non-printability. That is a known issue with that type of 
> graphic rendering. I'm not sure that its easily fixable. The way I get 
> round it if I need to print a Mermaid diagram is to take a screen capture 
> save as a file and link to that image in the TW. Its too laborious a method 
> for other than occasional use, but a work-around for limited cases.
>
> You are right: looks like its been basically abandoned. Part of the issue 
> is I think the author probably concluded that no one was interested. He has 
> other good graphic tools that equally haven't got much notice.
>
> As far as I can see it needs a bit of tweeking -- one issue I sometimes 
> encountered was getting the text to fit properly. But the core is there and 
> functional.
>
> As far as getting the plugin revised. I dunno. I don't have skill for 
> that. Its a good tool so maybe in time interest to revisit it will grow?
>
> Best wishes
> Josiah
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e6d8bda5-bbf9-4813-b3c2-7f953fab21f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Importing plugins on mobile

2018-04-06 Thread Ste Wilson
Just wondering what the best way to import plugins etc is on mobile browsing 
because obviously then drag and drop doesn't work any more. Has anyone 
developed anything for this or has a nice little workflow? 

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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4df69cba-ef92-423e-8137-bc2ea048e57f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Unsaved Changes Warning With MultiUser Plugin

2018-04-06 Thread Jed Carty
The wsserver command should ignore the command line arguments. The 
parameters are taken from the settings.json file in the settings folder. It 
sounds like the web socket connection isn't making it outside the 
container. It sounds like the websocket connection is only going one way, I 
am not sure if the docker container could cause something like that.

If you can see the terminal output it should list the ports being used so 
you can make sure the ports are what you are expecting.

One possible cause may be that the way that the server determines the 
correct ip address to use for the websocket connection may not work from 
inside the container.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5ecbf7ba-87f7-41a2-a17f-b7a09e7133ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-04-06 Thread Silverfox
It's just a proof of concept so far... I still need to debug, improve, 
customize etc, before making a plug-in

Le vendredi 6 avril 2018 20:32:22 UTC+2, @TiddlyTweeter a écrit :
>
> Good stuff!
>
> Small point. On hover I see "Noam" mentioned in the Seth ring but I don't 
> see that name displayed in its sub-circle?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56fae2ce-9773-4bf6-ba10-409ee343b529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-06 Thread Thomas Elmiger
This looks like a cool concept, Stephan, thanks for sharing!

I will try it, when I find some time. 

Cheers!
Thomas 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/edfb5362-4573-41ca-ba78-ff714aad8f04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TiddlyFor a new edition of TiddlyWiki for Fortran programmer

2018-04-06 Thread Thomas Elmiger
Thank you for sharing, Mohammad!

Interesting project, is there a demo site somewhere?

I think I did not see a link to a demo in the readme, only screenshots. 

Best regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d7784575-908d-4c1c-8c95-6c9089df6695%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-04-06 Thread @TiddlyTweeter
Good stuff!

Small point. On hover I see "Noam" mentioned in the Seth ring but I don't 
see that name displayed in its sub-circle?

Silverfox wrote:
>
> It now works with "flat" (non nested) json and also csv tiddler, see the 
> demo here : 
> http://d3jsv5trial.tiddlyspot.com/#D3%20ZCP%20widget%20based%20on%20flat%20csv
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/47833d97-fd60-431c-b86d-76adfac3b8bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: will D3.js plugin be upgraded to version 4.x ?

2018-04-06 Thread Silverfox
It now works with "flat" (non nested) json and also csv tiddler, see the 
demo here 
: 
http://d3jsv5trial.tiddlyspot.com/#D3%20ZCP%20widget%20based%20on%20flat%20csv.

This is done by some d3 methods that can parse and stratify data...




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a368355f-7a51-4438-b5be-e1ef8d82f80a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Unsaved Changes Warning With MultiUser Plugin

2018-04-06 Thread Kevin Kleinfelter
Ah!  You are right.  It *is* just the Recent tab that's missing them.

It is curious that it occurs only when running in a Docker container.  If 
you're not familiar with Docker and 'containers':

   - I'm running the TW node server in a lightweight VM.
   - The VM's network is isolated from the host, where I'm running the 
   browser, except for ports I designate as pass-through.
   - The VM's file system is isolated from the host's file system, except 
   where I permit otherwise.

If nothing else, just pretend I have a firewall which permits only traffic 
between the server and the browser on the ports I specify, and never on IP 
127.0.0.1.

I'm running TW with the following command line:

   - /usr/local/bin/node ./tiddlywiki.js editions/MultiUserWiki  --wsserver 
   8080 ${USERNAME:-user} ${PASSWORD:-'wiki'} 0.0.0.0
   
It is necessary to bind to IP 0.0.0.0 (all IP) because binding to 127.0.0.1 
in the VM is available only within the VM, so I need it to bind to the vNIC 
that connects to the host network.

When I run a browser from another machine, I get similar (but not 
identical) behavior, when Docker is not involved.  Adding a tiddler from 
another machine's browser gets no reference added to Recents, but it does 
show up after a page refresh.

If I had to guess, I'd guess there is something in the plugin which assumes 
127.0.0.1 can be used to connect.

Thanks for your help and thanks for the plugin.  Really nice piece of work.

On Friday, April 6, 2018 at 1:45:37 PM UTC-4, Jed Carty wrote:
>
> Check the 'all' tab, the tiddlers may be created and not listed under 
> 'recent'. There is probably a bug left over from an old way of saving 
> tiddlers I used where the creation fields aren't added to a tiddler if all 
> fields except title are empty when it is made. The solution is for me to 
> use the normal render command to save the tiddlers but I haven't gotten 
> around to it because from what I can tell this is the only problem caused 
> by 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dcdf6318-b2f7-4b11-9aa1-21797042a854%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Unsaved Changes Warning With MultiUser Plugin

2018-04-06 Thread Jed Carty
Check the 'all' tab, the tiddlers may be created and not listed under 
'recent'. There is probably a bug left over from an old way of saving 
tiddlers I used where the creation fields aren't added to a tiddler if all 
fields except title are empty when it is made. The solution is for me to 
use the normal render command to save the tiddlers but I haven't gotten 
around to it because from what I can tell this is the only problem caused 
by 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/94df620a-3b07-4a45-a9ba-4f8229b1faf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: MultiUser Plugin - Relocating the Wiki

2018-04-06 Thread Kevin Kleinfelter
Whoops.  My mistake.  I interpreted your instructions from gihtub:
*cp -r TiddlyWiki5/plugins/OokTech/MultiUser/MultiUserWiki 
TiddlyWiki5/editions/*
*cd TiddlyWiki5*
*node ./tiddlywiki.js editions/MultiUserWiki  --wsserver*

as meaning it was the mandatory location.

Hey!  The up-side of all my questions is that now you know someone is 
definitely trying to use your plugin.
Thanks!


On Friday, April 6, 2018 at 12:42:52 PM UTC-4, Jed Carty wrote:
>
> I don't know what you mean by he first two paragraphs. The wiki files used 
> and edited are in whatever folder you give as the command line argument or 
> in the node settings part of the control panel in the wiki, the files in 
> the editions folder shouldn't ever be edited by the wiki.
>
> For the second part, that is what is done by the single executable 
> version, look at tiddlywiki.js here 
> https://github.com/OokTech/TW5-SingleExecutable/blob/master/tiddlywiki.js
>
> You may not need the special copy function, for some reason the norma file 
> copying didn't work from the virtual file system created by the packaging 
> process.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a0b3679c-b1a2-47fb-b9e5-d73052dd98ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Material Theme for TW5 (sort of)

2018-04-06 Thread BurningTreeC

>
>
> Yeah, a dedicated page for the widgets would surely help with spreading 
> the word around. A concise info page like this tiddler for the 
> ButtonWidget  would make it easier 
> for other users to implement it in their projects, I feel like. 
>
> Oh, and yeah, thanks for pointing me towards the Press widget and 
> tiddlypiano ! I'd play with these in 
> the coming weekend! 
>
> Cheers :)
>
> you're welcome, seeing those widgets being used I want to make them better 
and more user-friendly
I'll make the docs tiddly-like, so everybody knows to read them :P
 

> P.S. can I do a bug report here? Removing the "$targets" parameter on the 
> swipe widget gives me a Red Window when I click the Save-tiddler button. 
> And although the tiddler isn't saved after clicking the Save-tiddler button 
> (without the "$targets" param), I can neither close nor erase the said 
> tiddler... and I have to refresh the wiki to go back in time (so to speak). 
>
> I ran into this problem while learning about the widget and learned how to 
> avoid it, but this might scare first-time users? Let me visualize this with 
> a gif:
>
> 
>   
>
>
>
Yes thanks for pointing this out, all bug reports are welcome, doesn't 
matter how and where
This is because it misses some checks, I think my latest version already 
prevents those errors...

On the hammer-widgets page I'll put the most stable versions possible and 
good docs, I'll post it in a thread and leave a note here


all the best,
BTC

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8c6aa9d5-6404-4139-80b6-13ab720485e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: The Performance At Scale Bummer ... Initial Notes

2018-04-06 Thread Jeremy Ruston
Hi Mark

> My first attempt to import the tiddlers into a pre-release version crashed 
> the browser tab. So I thought that maybe I needed to use node to render out 
> the tiddlers as tids. Now we hit another scalability wall. The process has 
> been running 30 minutes and isn't even a quarter of the way through. Looks 
> like converting to tids will take two hours!

The approach that worked on my ancient laptop was to open James’ original 
TiddlySpot wiki in Chrome and then export a JSON file of all tiddlers. Then on 
the command line I built the new wiki with:

tiddlywiki editions/empty/ --load ~/Downloads/wardjhtrumptweets.json --build 
index

However, I found that performance was drastically *worse* in 5.1.16, which I am 
now investigating...

> Next question, is the entire master branch on github considered the 
> pre-release?

Yes, the prerelease is just the Git master.

Best wishes

Jeremy.

> 
> -- Mark
> 
> On Friday, April 6, 2018 at 7:37:19 AM UTC-7, @TiddlyTweeter wrote:
> BTC
> 
> Good thought. I'll point the author to your suggestion.
> 
> TT
> 
> BurningTreeC wrote:
> For a good comparison I would like to see that big one using the latest 
> prerelease version, where some performance tweaks have been done
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/5e037fd3-3d96-49c8-b006-8072e34f7382%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/139225A2-9B63-4319-B1E7-C2E370236693%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Unsaved Changes Warning With MultiUser Plugin

2018-04-06 Thread Kevin Kleinfelter
Hmmm... Ironically, it appears that sometimes changes aren't fully saved 
for me.

I'm running with node.js inside a Docker container.  I exposed ports 8080 
and 8081.  When I save a title-only tiddler (i.e. click the new-tiddler 
button and immediately save the new tiddler without entering a body):

   - The logger says the file was saved.
   - The file really is saved in the file system.
   - The tiddler does not show up in the Recents list.
   - After reloading the page, the tiddler does not exist.

This behavior only happens when running in a container with the plugin.  It 
looks like it either uses an additional port (maybe briefly) or there's 
something not passing through the exposed ports.  I confirmed that there is 
no issue when running the same version of TW in the same container, without 
the plugin.

I can go to the wiki data folder in file system and execute "touch *" and 
all missing tiddlers immediately show up in the browser.

Any ideas for debugging?


On Friday, April 6, 2018 at 9:11:27 AM UTC-4, Jed Carty wrote:
>
> That message has no meaningful interaction between that message and what 
> needs to be saved by the plugin so turning it off isn't going to cause 
> problems.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f4c610ba-f784-45c5-9dac-69cda6800d57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: MultiUser Plugin - Relocating the Wiki

2018-04-06 Thread Jed Carty
I don't know what you mean by he first two paragraphs. The wiki files used 
and edited are in whatever folder you give as the command line argument or 
in the node settings part of the control panel in the wiki, the files in 
the editions folder shouldn't ever be edited by the wiki.

For the second part, that is what is done by the single executable version, 
look at tiddlywiki.js 
here https://github.com/OokTech/TW5-SingleExecutable/blob/master/tiddlywiki.js

You may not need the special copy function, for some reason the norma file 
copying didn't work from the virtual file system created by the packaging 
process.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0ea3d3b8-8088-4a53-b274-6d5f85b50dbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Work on Spaced Repetition System

2018-04-06 Thread JD
Oh, right, only the Question and Answer fields (plus the tags) are really 
needed. 

I imagine something like the sample custom NewJournalButton on the main 
TiddlyWiki site could make card creation fast and simple. Although it would 
be great if we could quickly create by deck too, not just by card... like 
in Quizlet.com 

Something like a "New Deck" tiddler that will ask for a Deck Name, then 
have a table with rows for cards, and within each row: input area for card 
Question and Answer, something like that? 



On Friday, April 6, 2018 at 1:50:29 AM UTC+9, Diego Mesa wrote:
>
> Forgot to actually answer - All you have to do is make a new tiddler, tag 
> it with the name of the "Deck" it belongs to (it can belong to multiple 
> decks), tag it with "Flash Card", and give it a question and answer field. 
>
> When I finish up some stuff at work, you guys have inspired me to come 
> back and work on this again! 
>
> Best,
> Diego
>
> On Thursday, April 5, 2018 at 11:17:58 AM UTC-5, Diego Mesa wrote:
>>
>> Hey thanks JD,
>>
>> You bring up a great missing feature right now. Cards are just tiddlers 
>> that are tagged "flash card", with a question and answer field. 
>>
>> The other fields are (should be) automatically created, and in the final 
>> plugin version would be hidden from the view template. 
>>
>> On Thursday, April 5, 2018 at 9:23:03 AM UTC-5, JD wrote:
>>>
>>> Hey man, this is amazing work. Is there documentation for creating a new 
>>> card (besides cloning existing ones)? 
>>>
>>> This is really helpful to my Nihongo studies!
>>>
>>> On Friday, February 2, 2018 at 6:58:04 AM UTC+9, Diego Mesa wrote:

 Hey all,

 I mentioned in other places that I would be working on something like 
 this. Instead of polluting other threads, Ill post updates and misc in 
 here 
 (though specific questions related to other things will still leak outside 
 of this thread!).

 So far, I've been reading 

 https://apps.ankiweb.net/docs/manual.html

 and

 https://www.supermemo.com/english/ol/sm2.htm

 And have come up with a *basic* design for now which will evolve. 
 Right now, I have questions as cards tagged with "Flash Card", and when 
 you 
 input a new one, they begin with the following fields:

 question: 3+1
 answer: 4
 repetition: 1

 We then have two major parts:

- Quizzer
   - Shows a question
   - Lets you rate its difficulty
   - Calculate the next minimum time this question should be shown
   - Selector
- When you're ready to begin quizzing, get all questions whos time 
   is up and are ready to be shown
   

 So far I've worked on the quizzer (question/answering), and have a 
 template with the following content:

 \define againQuality() 0
 \define hardQuality() 1
 \define goodQuality() 2
 \define easyQuality() 3
 \define updateActions()
 
 <$formula-vars eq="$(quality)$ + 1">
 <$action-setfield $field="eq" $value=<>/>
 <$formula-vars repetition="{{!!repetition}} + 1">
 <$action-setfield $field="repetition" $value=<>/>
 <$formula-vars due="<> + 20">
 <$action-setfield $field="due" $value=<>/>
  
 
 

 
 <$action-sendmessage $message="tm-remove-field" $param="state"/>

 
 <$action-sendmessage $message="tm-close-tiddler"/>
 \end

 
 <$list filter="[all[current]tag[Flash Card]]">
 <$fieldmangler>
 Question: {{!!question}}
 
 

 
 <$list filter="[all[current]!has:field[state]]">
 <$button>
 Show Answer
 
 <$action-sendmessage $message="tm-add-field" $param="state"
 />
 
 

 
 <$list filter="[all[current]has:field[state]]">
 Answer: {{!!answer}}
 
 
 
 

 <$button>
 Again
 
 <$action-setfield $field="quality" $value=<>
 />
 <>
 
 
 <$button>
 Hard
 
 <$action-setfield $field="quality" $value=<>/>
 <>
 
 
 <$button>
 Good
 
 <$action-setfield $field="quality" $value=<>/>
 <>
 
 
 <$button>
 Easy
 
 <$action-setfield $field="quality" $value=<>/>
 <>
 
 

 
 

 This will at least let you answer a question, and mark how hard/easy it 
 was for you, and calculate the relevant fields for the next time it should 
 be shown. 

 I 

[tw] Re: Work on Spaced Repetition System

2018-04-06 Thread BurningTreeC

>
>
> I agree with you! I would love to work on this with you! Im still very new 
> to TW plugin development. All of Anwiki right now is just a set of simple 
> macros. If you're interested, let me know and we can coordinate in private 
> emails to continue working on this!
>
>  
Yes, I'd like to do that!
I'd like to get your macros and build a little prototyping-interface around 
them to make the direction clear where the content and results should go,
Do you already have ideas on that, which I could use to build on? If else, 
I'd prototype something that can be changed anytime we have something better


Simon

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/17bf289e-3c8f-49b7-9a63-27136f1242d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: The Performance At Scale Bummer ... Initial Notes

2018-04-06 Thread 'Mark S.' via TiddlyWiki
My first attempt to import the tiddlers into a pre-release version crashed 
the browser tab. So I thought that maybe I needed to use node to render out 
the tiddlers as tids. Now we hit another scalability wall. The process has 
been running 30 minutes and isn't even a quarter of the way through. Looks 
like converting to tids will take two hours!

Next question, is the entire master branch on github considered the 
pre-release?

-- Mark

On Friday, April 6, 2018 at 7:37:19 AM UTC-7, @TiddlyTweeter wrote:
>
> BTC
>
> Good thought. I'll point the author to your suggestion.
>
> TT
>
> BurningTreeC wrote:
>>
>> For a good comparison I would like to see that big one using the latest 
>> prerelease version, where some performance tweaks have been done
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5e037fd3-3d96-49c8-b006-8072e34f7382%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Material Theme for TW5 (sort of)

2018-04-06 Thread JD
Oh wow, thanks for noticing, I love your Swipe widget! It has allowed a 
JS-illiterate person like me to get what I wanted out of TW in my mobile 
browser (outside of Noteself's android app 
)

Yeah, a dedicated page for the widgets would surely help with spreading the 
word around. A concise info page like this tiddler for the ButtonWidget 
 would make it easier for other users 
to implement it in their projects, I feel like. 

Oh, and yeah, thanks for pointing me towards the Press widget and 
tiddlypiano ! I'd play with these in 
the coming weekend! 

Cheers :)

P.S. can I do a bug report here? Removing the "$targets" parameter on the 
swipe widget gives me a Red Window when I click the Save-tiddler button. 
And although the tiddler isn't saved after clicking the Save-tiddler button 
(without the "$targets" param), I can neither close nor erase the said 
tiddler... and I have to refresh the wiki to go back in time (so to speak). 

I ran into this problem while learning about the widget and learned how to 
avoid it, but this might scare first-time users? Let me visualize this with 
a gif:


  


On Friday, April 6, 2018 at 10:09:27 PM UTC+9, BurningTreeC wrote:
>
> Hi JD,  I want to express my appreciation of your work, I think it's great 
> - and seeing my hammerjs widgets being used within it is really cool :) !
>
> How's the swipe widget working for you?
> We have put hammerjs to the tiddlywiki plugin library, so that it's enough 
> to drag it from the prerelease page to use it
> In the meantime I've modified the different widgets (swipe, pan, press, 
> rotate and tap) to use that plugin and I've made some modifications that 
> make them work better
> I wanted to make a dedicated page for those widgets only, just haven't 
> found the time til now. But I'll put them online soon!
>
> How I actually want it to be revealed is by long-pressing the main FAB 
>> button, but I think that's a mobile OS feature and can't be properly 
>> implemented in HTML or CSS. Maybe it can happen via JS? 
>>
>
> The press widget I made also uses hammerjs and would do that - on a long 
> press it triggers your actions. The annoying thing is that it also opens 
> the rightclick-caret on desktop browsers when pressing with fingers on a 
> touch screen. it's in use at http://tiddlypiano.tiddlyspot.com/ 
> 
>  
> if you want to get a preview, I think I'll modify it a bit for the 
> hammer-widgets-page later on
>
>
> That said, you're doing really cool work, thank you very much!
>
> BurningTreeC
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/82cb2314-6fb9-462b-804c-ba52c22a02bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: The Performance At Scale Bummer ... Initial Notes

2018-04-06 Thread wardjh

I will have the larger project ported over to the newest version of TW this 
weekend and run it off my personal server. 
For the smaller project I am  going to keep adding 100 more records at a 
time in the spreadsheet until I notice that it starts to slow down. 

Thanks, 



On Friday, April 6, 2018 at 10:37:19 AM UTC-4, @TiddlyTweeter wrote:
BTC

>
> Good thought. I'll point the author to your suggestion.
>
> TT
>
> BurningTreeC wrote:
>>
>> For a good comparison I would like to see that big one using the latest 
>> prerelease version, where some performance tweaks have been done
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a4d1e4e5-0185-490a-8cf2-75308b0b4616%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] MultiUser Plugin - Relocating the Wiki

2018-04-06 Thread Kevin Kleinfelter
After installing the MultiUser plugin, it puts the wiki files in  
node_modules/tiddlywiki/editions.  How would I make it run with the 'live' 
files elsewhere?

As explanation, I'm trying to run my TW in a Docker container.  It would be 
convenient to put all my image setup operations in the Dockerfile, and then 
mount my data directory (enabling data persistence) when I start my 
container.  But creating the image doesn't have access to the 
mounted-at-runtime data directory.

At runtime, I'd like node_modules/tiddlywiki/editions to be read-only, with 
my data reads/write going elsewhere.

So I'd like to install TW and the MultiUser plugin into the node_modules 
directory, and at runtime I'd check for the existence of ~/tw-data, and if 
it doesn't exist, copy whatever from node_modules/tiddlywiki to ~/tw-data.  
Then launch the TW node server.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bfa88f42-a50c-4352-bbb1-5b1289056a9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: The Performance At Scale Bummer ... Initial Notes

2018-04-06 Thread @TiddlyTweeter
BTC

Good thought. I'll point the author to your suggestion.

TT

BurningTreeC wrote:
>
> For a good comparison I would like to see that big one using the latest 
> prerelease version, where some performance tweaks have been done
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2137f815-1ac1-4752-a903-cd36a2386552%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: The Performance At Scale Bummer ... Initial Notes

2018-04-06 Thread BurningTreeC
Hi @TiddlyTweeter 

For a good comparison I would like to see that big one using the latest 
prerelease version, where some performance tweaks have been done

BTC

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6b8394fc-ccfd-41d2-9f81-5fca4c31cbd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] The Performance At Scale Bummer ... Initial Notes

2018-04-06 Thread @TiddlyTweeter
Recently over on the DesignWriteStudio 
 Google Group I 
witnessed very clearly the issue around limits of TW scalability (read 
below).

Its kinda depressing in that TW offers all the tools for innovative 
organisation but often fails once the volume of Tiddlers goes beyond modest 
numbers (a few thousand).

That said, wardjh's 85K Tiddler wiki does function, albeit at the speed of 
a snail with a heavy stone on its back. 

Such performance is unviable for anything public online. BUT its perhaps 
okay for using TW to PREPARE content for transport to another system that 
will do the final publish. 

I don't see much discussion, well, any, discussion of TW as a very useful 
PREPARATION tool. Its flexibility seems to me ideal for positioning between 
inputs for re-arrangement and outputs optimally structured for 
other systems.

I thought some of the comments by Mark S. about performance (from another 
thread) in general were interesting & worth noting too.

Best wishes
Josiah

wardjh wrote ...

> Since my original project of 85,000 tweet records ran too slow to make it 
> pretty much worthless I scaled down the project. 8-(
> Still have some work to do in it. 
>
> You can find the new project - http://wardjhtweets.tiddlyspot.com/ (2,800 
> Tiddlers)
>
> Old project can be found - http://wardjhtrumptweets.tiddlyspot.com/ 
> 
>  
> (85,000 Tiddlers)
>

Mark S. wrote ...

> There's no indexing system in TW, and thus no scalability. Indexed 
> databases were able to handle hundreds of thousands of records even with 
> 1980s hardware. 
>
> There's a way to send empty tiddlers via the server that only get 
> populated on demand. The problem then is that your search will only see the 
> titles and tags (fields ??) for searching. But if what you wanted was link 
> and tag based (without depending on text searches) then it should work OK. 
> You would need a separate (or enhanced) search box to fetch tiddlers from 
> the server directly. 
>
> Or, maybe someone could write a system that would store an index to the 
> current TW's text context. Then a special search would look through the 
> index and use that for creating a list of links of tiddlers. The tiddlers 
> would become populated when clicked on. The index would be updated on 
> saving (harder) or on demand. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bbca81d5-1f81-4f9f-8f06-0c55d2668812%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Work on Spaced Repetition System

2018-04-06 Thread Diego Mesa
Hey Simon,

I agree with you! I would love to work on this with you! Im still very new 
to TW plugin development. All of Anwiki right now is just a set of simple 
macros. If you're interested, let me know and we can coordinate in private 
emails to continue working on this!

Diego


On Friday, April 6, 2018 at 8:18:30 AM UTC-5, BurningTreeC wrote:
>
> Hi Diego, I think AnWiki is a crucial plugin for tiddlywiki
> I was very interested in following your development, because I think it 
> can be done better in tiddlywiki than in the native anki program itself
> especially the handling of media and re-using of text chunks is a real 
> plus for tw
>
> I would try picking up your work if at one point you loose interest. I 
> think it's a feature that should make it to a plugin library, if not the tw 
> library...
>
> all the best,
> Simon
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/888a8957-10cf-4c87-9fd7-69b9b60931ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Work on Spaced Repetition System

2018-04-06 Thread BurningTreeC
Hi Diego, I think AnWiki is a crucial plugin for tiddlywiki
I was very interested in following your development, because I think it can 
be done better in tiddlywiki than in the native anki program itself
especially the handling of media and re-using of text chunks is a real plus 
for tw

I would try picking up your work if at one point you loose interest. I 
think it's a feature that should make it to a plugin library, if not the tw 
library...

all the best,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/41238dce-efbd-4828-8786-6928f31e9fc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Unsaved Changes Warning With MultiUser Plugin

2018-04-06 Thread Jed Carty
That message has no meaningful interaction between that message and what 
needs to be saved by the plugin so turning it off isn't going to cause 
problems.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7726250a-0b2f-40ba-825c-0d75d8317709%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Material Theme for TW5 (sort of)

2018-04-06 Thread BurningTreeC
Hi JD,  I want to express my appreciation of your work, I think it's great 
- and seeing my hammerjs widgets being used within it is really cool :) !

How's the swipe widget working for you?
We have put hammerjs to the tiddlywiki plugin library, so that it's enough 
to drag it from the prerelease page to use it
In the meantime I've modified the different widgets (swipe, pan, press, 
rotate and tap) to use that plugin and I've made some modifications that 
make them work better
I wanted to make a dedicated page for those widgets only, just haven't 
found the time til now. But I'll put them online soon!

How I actually want it to be revealed is by long-pressing the main FAB 
> button, but I think that's a mobile OS feature and can't be properly 
> implemented in HTML or CSS. Maybe it can happen via JS? 
>

The press widget I made also uses hammerjs and would do that - on a long 
press it triggers your actions. The annoying thing is that it also opens 
the rightclick-caret on desktop browsers when pressing with fingers on a 
touch screen. it's in use at http://tiddlypiano.tiddlyspot.com/ if you want 
to get a preview, I think I'll modify it a bit for the hammer-widgets-page 
later on


That said, you're doing really cool work, thank you very much!

BurningTreeC

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/588479a2-d072-41f3-8a25-d81bed3a269f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Material Theme for TW5 (sort of)

2018-04-06 Thread TonyM
JD,

The More I look at it the more I am Tempted to move some key wikis to this 
- thanks for sharing

Tony

On Friday, April 6, 2018 at 10:40:48 PM UTC+10, JD wrote:
>
> Oh yes, that's right. I'm not a big fan of how they work right now. It's 
> is a very simple implementation of an opacity+height transition in CSS. 
>
> When none is set, the "opacity: 0;" hoverable div above the main FAB 
> button is not revealed.
>
> If one or more is set, the div is revealed, but is set to "opacity: 
> 0;" until the area is hovered upon to turn it to full opacity. (please see 
> attached file)
>
> How I actually want it to be revealed is by long-pressing the main FAB 
> button, but I think that's a mobile OS feature and can't be properly 
> implemented in HTML or CSS. Maybe it can happen via JS? 
>
> 
>
> On Friday, April 6, 2018 at 7:58:10 PM UTC+9, @TiddlyTweeter wrote:
>>
>> Ciao TonyM
>>
>> By default the full JD's FAB is off--though the big "+"circle, bottom 
>> right, is a FAB. Visit $:/ControlPanel > Appearance > FAB Buttons. Set 
>> the buttons, see what happens. 
>>
>> They seem to work best on touch-screens? 
>>
>> At the moment the behaviour differs between platforms. I'll try document 
>> this a bit so JD knows more.
>>
>> Best wishes
>> Josiah
>>
>> On Thursday, 5 April 2018 23:58:00 UTC+2, TonyM wrote:
>>>
>>> Josiah,
>>>
>>> I cant see FAB anywhere?
>>>
>>> With respect what are to talking about, it is hard to comment on 
>>> something we cant see?
>>>
>>> Tony
>>>
>>> On Thursday, April 5, 2018 at 2:04:48 AM UTC+10, @TiddlyTweeter wrote:

 No one commented on FAB yet? Its a fab idea!

 I think it may need a little work cross-platform to work relaibly the 
 same, but the design and idea behind it is really excellent.

 Josiah

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b0db0bef-0fc4-4623-81d9-166732111b1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Material Theme for TW5 (sort of)

2018-04-06 Thread JD
Oh yes, that's right. I'm not a big fan of how they work right now. It's is 
a very simple implementation of an opacity+height transition in CSS. 

When none is set, the "opacity: 0;" hoverable div above the main FAB button 
is not revealed.

If one or more is set, the div is revealed, but is set to "opacity: 
0;" until the area is hovered upon to turn it to full opacity. (please see 
attached file)

How I actually want it to be revealed is by long-pressing the main FAB 
button, but I think that's a mobile OS feature and can't be properly 
implemented in HTML or CSS. Maybe it can happen via JS? 



On Friday, April 6, 2018 at 7:58:10 PM UTC+9, @TiddlyTweeter wrote:
>
> Ciao TonyM
>
> By default the full JD's FAB is off--though the big "+"circle, bottom 
> right, is a FAB. Visit $:/ControlPanel > Appearance > FAB Buttons. Set 
> the buttons, see what happens. 
>
> They seem to work best on touch-screens? 
>
> At the moment the behaviour differs between platforms. I'll try document 
> this a bit so JD knows more.
>
> Best wishes
> Josiah
>
> On Thursday, 5 April 2018 23:58:00 UTC+2, TonyM wrote:
>>
>> Josiah,
>>
>> I cant see FAB anywhere?
>>
>> With respect what are to talking about, it is hard to comment on 
>> something we cant see?
>>
>> Tony
>>
>> On Thursday, April 5, 2018 at 2:04:48 AM UTC+10, @TiddlyTweeter wrote:
>>>
>>> No one commented on FAB yet? Its a fab idea!
>>>
>>> I think it may need a little work cross-platform to work relaibly the 
>>> same, but the design and idea behind it is really excellent.
>>>
>>> Josiah
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f2131b3f-9e3c-4683-b3f8-f695d45d3320%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Unsaved Changes Warning With MultiUser Plugin

2018-04-06 Thread TonyM
Kevin,

I get this too, but now I rely on the Save Icon to no longer be red, to 
confirm save.

But it is a little disconcerting.

Regards
Tony 

On Friday, April 6, 2018 at 10:28:16 PM UTC+10, Kevin Kleinfelter wrote:
>
> When using the wonderful MultiUser Plugin, after adding new tiddlers and 
> letting them complete the auto-save, I get the unsaved-edits warning when 
> navigating away from the page.  This happens whether I use the 
> single-executable or the manually-installed plugin.  It doesn't happen with 
> a generic TW5.
>
> Jeremy explained a method to suppress the message 
>  
> entirely.  I'm reluctant to do that because I do want to be notified if 
> auto-save somehow failed, and I need to manually save changes.
>
> Is there a way to get the unsaved-edits message to show up with the 
> MultiUser plugin, only when there are *unsaved* changes?
>
> Thanks!
> ==
> Relevant browser messages:
> Safari: Are you sure you want to leave this page?
> Firefox: This page is asking you to confirm that you want to leave - data 
> you have entered may not be saved.
> Chrome: Do You Want to Leave This Site? Changes you made may not be saved.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f74bc0ca-8fb8-48de-b05f-65702b916268%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Material Theme for TW5 (sort of)

2018-04-06 Thread @TiddlyTweeter
They only appear on hover. Its a way of getting an elegant malleable 
menuing system that is not obtrusive.

I think the "trigger-zone" for the hover activation probably needs a bit of 
tweeking. I need try it a bit more.

I can see how its good for smart phones. But for some desktop apps it could 
be good too.

TonyM wrote:
>
> Thanks The Fab Button is Cool,
>
> I only found the secondaries on hover above the first fab button.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b5e5e5dc-052c-416b-8e25-1a7f45b472af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki and Nextcloud Setup also working on an Android-phone?

2018-04-06 Thread TonyM
Axel,

Only because you were using Nextcloud, and perhaps did not want Termux. I 
was trying to say the behaviour of Termux should work for other apps, not 
trying to tell you to use Termuix.

I will leave you to decide whats best for you :)

Regards
Tony

On Friday, April 6, 2018 at 9:50:42 PM UTC+10, Axel Klein wrote:
>
> Hi *,
>
> Thanks to your ideas and inspiration I've found a solution that works for 
> me at the moment with the Android-app 'FolderSync'. This gives me the 
> possibility to manually or automated sync the folder in which my 
> TiddlyWikis live.
>
> Now I wonder why you, TonyM, say that Termux is not a solution for me?
>
> I suppose you could run a script with rsync that does exactly that what 
> 'FolderSync' does, don't you? I was just too lazy to try this. And 
> FolderSync works, so my attention goes to more urgent things.
>
> Nevertheless thank you everybody for your contributions. I really 
> appreciate this.
>
> Best regards
> Axel
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/643510fd-cfd0-4e43-9f58-0c83d8eb65c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bug when calling a csv tiddler in a javascript

2018-04-06 Thread Silverfox
Finally I could achieve what I wanted to do by using getTiddlerText instead 
of getTiddlerData...

Thanks again

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3e3eb353-5a06-414d-a11b-97c9a7c42a87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Material Theme for TW5 (sort of)

2018-04-06 Thread TonyM
Thanks The Fab Button is Cool,

I only found the secondaries on hover above the first fab button.

Thanks
Tony

On Friday, April 6, 2018 at 8:58:10 PM UTC+10, @TiddlyTweeter wrote:
>
> Ciao TonyM
>
> By default the full JD's FAB is off--though the big "+"circle, bottom 
> right, is a FAB. Visit $:/ControlPanel > Appearance > FAB Buttons. Set 
> the buttons, see what happens. 
>
> They seem to work best on touch-screens? 
>
> At the moment the behaviour differs between platforms. I'll try document 
> this a bit so JD knows more.
>
> Best wishes
> Josiah
>
> On Thursday, 5 April 2018 23:58:00 UTC+2, TonyM wrote:
>>
>> Josiah,
>>
>> I cant see FAB anywhere?
>>
>> With respect what are to talking about, it is hard to comment on 
>> something we cant see?
>>
>> Tony
>>
>> On Thursday, April 5, 2018 at 2:04:48 AM UTC+10, @TiddlyTweeter wrote:
>>>
>>> No one commented on FAB yet? Its a fab idea!
>>>
>>> I think it may need a little work cross-platform to work relaibly the 
>>> same, but the design and idea behind it is really excellent.
>>>
>>> Josiah
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0935bd2f-d8d5-4a56-8714-a9b2118dde9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TiddlyFor a new edition of TiddlyWiki for Fortran programmer

2018-04-06 Thread Mohammad
https://github.com/kookma/TiddlyFor

TiddlyFor is a personal wiki, small and single self-content html file for 
Fortran programmer. It features fortran syntax highlighting, customized 
stylesheets, noteboxes, 

Thank you to TiddlyWiki developer and TW community!


 - Can be used for note taking, code documentation
 - TiddlyFor is an another edition of TiddlyWiki



TiddlyFor is a flavor of TiddlyWiki. It is actually a new edition.

TiddlyFor is a single file, self-content wiki for fortran programmer but 
can be used for any other purposes. Its main feature is:

*Features*


   - Syntax highlighting for modern Fortran
   - Support math formula through katex
   - Colorful notebox (Classic Note, Notebox, Framedbox)
   - Customized stylesheets (Custom Styles, Native TW box)


See:
 https://github.com/kookma/TiddlyFor

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/59a923cf-e00d-4c91-be8f-9fb626d3408c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Unsaved Changes Warning With MultiUser Plugin

2018-04-06 Thread Kevin Kleinfelter
When using the wonderful MultiUser Plugin, after adding new tiddlers and 
letting them complete the auto-save, I get the unsaved-edits warning when 
navigating away from the page.  This happens whether I use the 
single-executable or the manually-installed plugin.  It doesn't happen with 
a generic TW5.

Jeremy explained a method to suppress the message 
 
entirely.  I'm reluctant to do that because I do want to be notified if 
auto-save somehow failed, and I need to manually save changes.

Is there a way to get the unsaved-edits message to show up with the 
MultiUser plugin, only when there are *unsaved* changes?

Thanks!
==
Relevant browser messages:
Safari: Are you sure you want to leave this page?
Firefox: This page is asking you to confirm that you want to leave - data 
you have entered may not be saved.
Chrome: Do You Want to Leave This Site? Changes you made may not be saved.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69a3e50b-4b41-40c0-b52a-bbfe1aa43aed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Faceted search

2018-04-06 Thread TonyM
Brady,

I always agree we need to keep it clear and simple. GenTags helps with that 
but a little more css to delineate the different tag equivalents could help.

Perhaps later I can elaborate in more depth, but the difference between 
"category", "subject", "keyword" is in some ways what you want them to be 
but if you use different solutions, databases and software you get a feel 
for how these differ. But in the list we must include tags.

   - Tags = freely attach one or more tags but often used make multiple 
   sets of things by sharing the same tag eg; giftidea or urgent usualy 
   optional
   - Categories = more often than not something, can belong to one of a set 
   of categories, though multiple are possible, often we want each tiddler to 
   have "a" category
   - Subject = Perhaps a large set of items organised into a limited set of 
   subjects eg; html css javascript 
   - key words = an almost random set of words that are applied to a 
   specific tiddler to add additional words, not in the text already to aid 
   searching. Zero, one or more keywords typical and need not occur on other 
   tiddlers.
   - Others that come to mind is 
   - Domain like Work, Personal, Family - a limited set of large groupings 
   to divide the whole content into say 3 domains.
   - Status = New Workinprogress closed ... However I have designed a 
   "solution" recently that derives the status from other information rather 
   than tagging items with a status.
   

The thing is we are a talking about knowledge and Information management 
and there are many ways to meet the same objective, but if we think hard 
enough we can find the better ways, ways that are often intuitive to users, 
because of there own lived experience of organising things.

In tiddlywiki we usually use tags to do all of the above but this can 
become overwhelming and it is not always easy to separate a category from a 
keyword, or status.  

Regards
Tony

On Friday, April 6, 2018 at 6:35:43 PM UTC+10, Brady77 wrote:
>
> Hi Tony,
>
> I can see your point. And have to admit that I was focused on tags, only. 
> You say that a tag is (technically) just another metadata "field:value" 
> pair. Sure, however there is something special about tags: you can find it 
> on top of tiddlers with distinct graphics. People tend to use them first. 
> If we wanted to add another filtering criteria (beside "keywords" for 
> fulltext search and "tags" for category selection) it will be certainly a 
> benefit. We should be cautious to keep the interface simple and 
> straightforward for regular users (not to discourage them by complexity). 
> So some sort of customization of the user interface regarding the filtering 
> fields will be great (in plugin settings, for instance). We should discuss 
> this with Jed.
>
> Can you elaborate on some of your points? Especially what is the 
> difference between "category", "subject", "keyword"? Maybe some examples 
> will help. What reason do you have for such a structure?
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6ac91a24-bdb2-4879-aa3e-eea8163b31ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bug when calling a csv tiddler in a javascript

2018-04-06 Thread Silverfox

OK, thanks, I understand better now,..



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/54750677-efd1-4575-8682-43110c0bbd8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki and Nextcloud Setup also working on an Android-phone?

2018-04-06 Thread Axel Klein
Hi *,

Thanks to your ideas and inspiration I've found a solution that works for 
me at the moment with the Android-app 'FolderSync'. This gives me the 
possibility to manually or automated sync the folder in which my 
TiddlyWikis live.

Now I wonder why you, TonyM say that Termux is not a solution for me?

I suppose you could run a script with rsync that does exactly that what 
'FolderSync' does, don't you? I was just too lazy to try this. And 
FolderSync works, so my attention goes to more urgent things.

Nevertheless thank you everybody for your contributions. I really 
appreciate this.

Best regards
Axel

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/925dd41c-c070-4f36-97d6-7abd01c0aceb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Faceted search

2018-04-06 Thread Miroslav Kalous
Great discussion! I have been thinking about how to organize tiddlers in my 
TW as well. From the whole folders/tags/links/search debate, I internalized 
that it is the best to use search and rely on links as well, use tags as a 
supporting mechanism and leave folders to the previous centuries. However, 
I also know from before that tags can lose a lot of utility if they become 
way too many. So I decided to keep the amount of tags purposefully very 
limited. However, I find myself often thinking a would like to link-or-tag 
a tiddler to a more general one. What I do now in this situation is that I 
am creating tiddlers with more general topic, if they don't exist, I leave 
them empty and I link my actual tiddler I am working on to them. I also tag 
those more-general tiddlers "hook" just to have them all under one tag for 
review. But the key for my current workflow is to create the link and then 
other more-specific tiddlers related to the topic, if there is no obvious 
case for direct interconnection, are linked through this hook. I am not 
sure if this way is actually a good idea. Recently I have considered using 
sub-tags instead of these hooks. But as I don't want to mix my tags and 
subtags, there is no subtagging in the TW5 core, I was thinking of this 
workaround: just start all subtags with the same specific set of 
characters, say "Z-", so all subtags will list in the list of tags at the 
end and also I will immediately recognize they are subtags. The advantage 
of this is that from TW point of view these will still be tags, and that 
has advantages over using a specific field as mentioned in this debate 
(e.g. you can create a TOC). The disadvantage is that is a bit messy 
workaround, not a proper solution.

TonyM, I would be also interested to hear more about your 
system-under-consideration, e.g. how do you distinguish subjects from 
categories. Or to hear about how does it work for you in the future if you 
apply the system fully.



TonyM

On Thursday, April 5, 2018 at 4:16:26 PM UTC+2, Brady77 wrote:
>
> Dear members,
>
> you may have the same problem: the only way I can remember things is by 
> having some *context*. How such a context is created depends on how 
> people actually think. You may recall a person via a place where you met 
> before. Or a time frame combined with a place. And emotions, maybe. 
> Probably the most popular scheme for creating a context is 
> *classification*. People tend to create "boxes" for things because they 
> need some context (of course, to be able to rule those things later, but it 
> is a different story). What are we forced to use in the IT world are 
> *folders* and *tags*. Folders allow for creating a *hierarchy*, but don't 
> allow to have a thing (a tiddler) to be in more than one folder at the same 
> time - *just one context only*. Tags on the other hand are *flat* in 
> structure, but allow for *more than one context*. Tiddlywiki allows for a 
> combination: *tags hierarchy*. Great! So I developed a system of tags 
> that helps me recall things quickly. Just to show you what I mean by a 
> "system of tags":
>
> 1. Data format
>
> 1.1 Image
>
> 1.2 Webpage
>
> 1.3 Video
>
> 1.4  ...
>
> 2. Message form
>
> 2.1 Report
>
> 2.2 Tutorial
>
> 2.3 Overview
>
> 2.4 Promo
>
> 3. Topic
>
> 3.1 Business
>
>  3.1.1 Marketing
>
> 3.1.1.1 Content marketing
>
> 3.1.1.2 SEO
>
> 3.1.2 Trading
>
> 3.1.2.1 Stock
>
> 3.1.2.2 Cryptocurrency 
>
> 3.2 Art
>
> 3.2.1 Visual
>
> 3.2.1.1 Typography
>
> 3.2.1.2 Photography
>
> 3.2.1.3 Drawing
>
> 3.2.1.4 Architecture
>
> 3.2.2 Performing
>
> 3.2.2.1 Music
>
> 3.2.2.2 Movie 
>
> 4. Subject
>
> 4.1 TiddlyWiki
>
> 4.2 Cisco
>
> 4.3 Donald Trump
>
> 4.4 ...
>
>
> What I created is a kind of faceted classification 
> . Let me describe 
> my ideal workflow, now:
>
> Say I came across an interesting post on Medium: *How to write something 
> that people like to read. * I decided to save it into my TiddlyWiki. With 
> Tiddlyclip I created new tiddler and added some tags, too: ["Webpage", 
> "Tutorial", "Content marketing","Typography"].  
>
> A few weeks later I am writing a blog post to support my business, but I 
> don't know how to write an interesting copy. Is there anything interesting 
> in my TiddlyWiki? Let's have a look: First I would type "marketing" into 
> the *search bar*. Next I want to narrow the fulltext search output to 
> categories, so I choose "*show me tags only"*. By clicking on a 
> "Marketing" keyword it will be added to the *search filter*. Now I have a 
> *list 
> of filtered tiddlers* from the Marketing *category *and all 
> *subcategories*. Beside the list of tiddlers there is a *list of related 
> tags.* What if I want to narrow my search again? I just click on 
> "Tutorial" (from the related tags list) to add the tag to the filter. There 
> are now two tags with a logical AND operator. If my list of tiddlers is 
> still too long, I may narrow 

[tw] Re: Lightweight diagrams (e.g. concept maps)?

2018-04-06 Thread @TiddlyTweeter
Ciao Sean

I agree that Mermaid for TiddlyWiki is good. Its simple plain text syntax 
is excellent and fits TW editing style very well. 

Regarding the non-printability. That is a known issue with that type of 
graphic rendering. I'm not sure that its easily fixable. The way I get 
round it if I need to print a Mermaid diagram is to take a screen capture 
save as a file and link to that image in the TW. Its too laborious a method 
for other than occasional use, but a work-around for limited cases.

You are right: looks like its been basically abandoned. Part of the issue 
is I think the author probably concluded that no one was interested. He has 
other good graphic tools that equally haven't got much notice.

As far as I can see it needs a bit of tweeking -- one issue I sometimes 
encountered was getting the text to fit properly. But the core is there and 
functional.

As far as getting the plugin revised. I dunno. I don't have skill for that. 
Its a good tool so maybe in time interest to revisit it will grow?

Best wishes
Josiah

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1bfea61d-317f-4a64-aa3b-254794de1e41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Material Theme for TW5 (sort of)

2018-04-06 Thread @TiddlyTweeter
Ciao TonyM

By default the full JD's FAB is off--though the big "+"circle, bottom 
right, is a FAB. Visit $:/ControlPanel > Appearance > FAB Buttons. Set the 
buttons, see what happens. 

They seem to work best on touch-screens? 

At the moment the behaviour differs between platforms. I'll try document 
this a bit so JD knows more.

Best wishes
Josiah

On Thursday, 5 April 2018 23:58:00 UTC+2, TonyM wrote:
>
> Josiah,
>
> I cant see FAB anywhere?
>
> With respect what are to talking about, it is hard to comment on something 
> we cant see?
>
> Tony
>
> On Thursday, April 5, 2018 at 2:04:48 AM UTC+10, @TiddlyTweeter wrote:
>>
>> No one commented on FAB yet? Its a fab idea!
>>
>> I think it may need a little work cross-platform to work relaibly the 
>> same, but the design and idea behind it is really excellent.
>>
>> Josiah
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d26b81ff-90fe-445d-b0f2-af950e362541%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: bug when calling a csv tiddler in a javascript

2018-04-06 Thread Stephan Hradek
What's the "type" of your tiddler?

As you seem to understand JavaScript, have a look at the getTiddler 
definition:

exports.getTiddlerData = function(titleOrTiddler,defaultData) {
var tiddler = titleOrTiddler,
data;
if(!(tiddler instanceof $tw.Tiddler)) {
tiddler = this.getTiddler(tiddler); 
}
if(tiddler && tiddler.fields.text) {
switch(tiddler.fields.type) {
case "application/json":
// JSON tiddler
try {
data = JSON.parse(tiddler.fields.text);
} catch(ex) {
return defaultData;
}
return data;
case "application/x-tiddler-dictionary":
return 
$tw.utils.parseFields(tiddler.fields.text);
}
}
return defaultData;
};


Maybe this clarifies why you cannot access CSV data?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/636c25a5-9f19-4727-8e80-e832bb885bb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Faceted search

2018-04-06 Thread Brady77
Another bold idea: what if the *storyview* will be an *intelligent list*, 
that get populated with tiddlers based on the faceted search output? You 
may say:

"Hold on! Tiddlywiki has much more to offer than tags: there are *links* as 
the first-class citizens as well as *fields* to create a structure. If I 
click on link a tiddler gets into the storyview. It will collide with your 
faceted search."

Well, i think it can be work together. Imagine that you add "pin" to the 
top of tiddler. A pinned tidddler will not be affected by the filtering. If 
you don't need it anymore, you just close (or unpin) the tiddler.

What do you think?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ca3e1079-cadb-4872-ab60-23d1ef0fc76f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Faceted search

2018-04-06 Thread Brady77
I would like to discuss another problem that is directly related to the 
search-and-filter topic: I find it difficult to work with hierarchy of 
tags. What i would like to have is a simple and intuitive 
"drag-and-drop" interface, where 
- on the left side will be a tags tree (expandable if you want)
- in the middle there will be the existing storyview
- on the right side the existing info panel (with Tiddlymap if you want)

Say I need to add context by categorizing: I just find my first relevant 
tag in the left tree and just drag-and-drop it on the tiddler in the 
middle. The same should be possible in the other direction (drag a tiddler 
and drop it onto a tag in the tree).

Double-clicking on a tag in the tree will result in adding this tag into 
the above mentioned search-and-filter field (probably on top? - depends on 
Jed's implementation).

Reordering tags within the tree: say I want a subcategory to go one level 
up. Simple drag-and-drop will do.

Regarding the tags tree on the left: what do you think about having a 
"switch" on the top of the tree:

   - If the switch is in the "off" position than all the tags in the tree 
   will be accessible
   - If the switch is "on" than the tree will be show only tags that are 
   used on tiddlers currently listed in the storyview

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e179434b-15f1-4ea4-b787-4a9cb257ca27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-06 Thread Stephan Hradek
I've created a small example for you to reproduce on tiddlywiki.com

Create some paragraph tiddlers. I've called them A, B and C containing some 
Lorem 
Ipsum text .

Example

AA 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eget ex 
nunc. Maecenas blandit efficitur erat a malesuada. Vivamus sit.
AA

Then I creted 2 tiddlers which are the "workhorses":

trans-editor:
<$edit-text tiddler=<>/>

and trans-edit
<$list filter=<> variable="theTiddler">

<$button class="tc-btn-invisible tc-tiddlylink">
<$action-sendmessage $message="tm-modal" $param="trans-editor" 
tiddler2edit=<> />
{{$:/core/images/edit-button}}
 <$transclude tiddler=<> />



Finally create your tiddler which will transclude all your paragraph 
tiddlers:

{{
[[A]]
[[B]]
[[C]]
||
trans-edit
}}












-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f277552e-f04b-4c9c-a4b0-6092b6f58cbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Faceted search

2018-04-06 Thread Brady77
Hi Tony,

I can see your point. And have to admit that I was focused on tags, only. 
You say that a tag is (technically) just another metadata "field:value" 
pair. Sure, however there is something special about tags: you can find it 
on top of tiddlers with distinct graphics. People tend to use them first. 
If we wanted to add another filtering criteria (beside "keywords" for 
fulltext search and "tags" for category selection) it will be certainly a 
benefit. We should be cautious to keep the interface simple and 
straightforward for regular users (not to discourage them by complexity). 
So some sort of customization of the user interface regarding the filtering 
fields will be great (in plugin settings, for instance). We should discuss 
this with Jed.

Can you elaborate on some of your points? Especially what is the difference 
between "category", "subject", "keyword"? Maybe some examples will help. 
What reason do you have for such a structure?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d0989975-2a1b-49a2-b683-a6627b5da171%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] bug when calling a csv tiddler in a javascript

2018-04-06 Thread Silverfox
I try to call data from a *csv *type tiddler in a javascript through the 
following ijnstruction 
var myData = this.wiki.getTiddlerData(this.myDataTiddler);

It works perfectly if the tiddler is a json, but leads to myData being 
"undefined" if it is a csv (or anything else than a json).

Is there a workaround to make it possible ?

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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8b54ecfd-7166-4f62-9caa-c2f408f440c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-06 Thread Stephan Hradek
It is possible to edit the content of a tiddler in the VIEW Window of 
another tiddler.

So if you have one tidler consistiong of transclusions of other tiddlers, 
it could look like this:

{{My first Paraggraph||trans-edit}}


{{My second Paraggraph||trans-edit}}


{{My third Paraggraph||trans-edit}}


And then have a tiddler "trans-edit" which does the transclusion and also 
inserts code for allowing editing of the transcluded tiddler in (for 
example) a popup.


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb1be1c1-93ea-4390-b038-da3ef4ad2cbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.