Re: [tw5] Re: Tinka 0.5.0 - A Plugin to make more Plugins

2020-08-07 Thread 'Andreas Hahn' via TiddlyWiki

Hello,

thank you TWTones, JD, Thomas and Mat for your kind words, I am very 
happy to hear that Tinka has been useful to you. I apologize for the 
late reply, but life has been busy.


@TWTones: If I understand your question correctly, you are mostly 
looking to figure out how to organize the tiddler name(-spaces), is that 
correct?


With plugins, it makes a lot of sense to stick to the TW5 standard 
naming scheme of `$:/plugins/author/name`, which will put listed 
tiddlers, such as a readme, the usage and the license in (for example) 
`$:/plugins/author/name/readme`. Since you already have a naming scheme 
for the actual content of your (future) plugins, I would recommend 
keeping it the way it is and very much only putting plugin metadata 
under the typical `$:/plugins/author/name/...` prefix. That should work 
absolutely fine, as long as you are consistent with your other naming 
scheme ´$:/PSat/...`.


When it comes to differences between normal tiddlers and shadow 
tiddlers: The only thing I am aware of is that sometimes you might need 
a `list-after`or `list-before` entry to make sure that (for example) 
your CSS rules apply in the proper order. Other than that it should be a 
painless experience.


Since you mentioned automatically generating plugins, you should know 
that Tinka might not be the right tool for that, since it is very much 
meant as a hands-on manual way to edit and create plugins. The best way 
to have plugins be automatically created and put into demo wikis is 
probably by using nodejs and a well organized filesystem structure. For 
this, a system called ThirdFlow[1] might be helpful, as well as having a 
look at how people who have put TW5 plugins on github organize the 
repository.


I hope this helps a little bit and I was able to answer some of your 
questions,


Regards,

/Andreas

[1] http://thediveo.github.io/ThirdFlow/  (I believe it will even 
generate nice demo wikis for you too)


--
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/a648b29e-f240-ca16-63d8-4ec88188e9e2%40googlemail.com.


[tw5] Tinka 0.5.0 - A Plugin to make more Plugins

2020-08-02 Thread 'Andreas Hahn' via TiddlyWiki

Hello all,

its already been years again, since I last updated Tinka. However, with 
a lot of help and guidance by Mat, Tinka is now reworked to have an 
easier interface as well as work nicely with newer versions of TW5. You 
can take a look at the new version here:


https://tinkaplugin.github.io/

Feel free to play around with it on the site itself; a few highlights in 
the new version are:


- It should now be much more straightforward to modify plugins

- Backups can now have notes attached to them

- You can select/unselect all search results

Thank you to Mat, who motivated me to make sure that Tinka remains up to 
date and I hope other people also find this useful for creating and 
modifying their own plugins.


/Andreas


--
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/27bd7266-7d6c-b05c-295d-3bd9a66b1227%40googlemail.com.


Re: [tw5] Re: StartupActions: maximise browser window based on screen width?

2019-03-07 Thread 'Andreas Hahn' via TiddlyWiki

Hi Adam,

unfortunately, the simple answer to this is: `tm-full-screen` will never 
work as a startup action, as these actions run before the rootwidget is 
initialized to listen for and handle these messages.


It could work if you figure out a way to delay the action, but I'm not 
sure how one would go about that.


/Andreas

--
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/44ca7e9c-d560-7290-8bda-151901524fd2%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Tinka and TW 5.1.19+ Issue

2019-02-17 Thread 'Andreas Hahn' via TiddlyWiki

Dear Mohammad,

I'm currently debating whether or not its even worth fixing it, since 
the whole issue seems to be caused by a bug in TW itself, which is 
already fixed for the upcoming 5.1.20 (see [1]). So just waiting means 
that things will repair themselves. There is a way to create a 
workaround for older versions, but it would be unfortunate to have that 
be in widespread use.


Did anyone run into any issues in the 5.1.20 prerelease?

/Andreas


[1] 
https://github.com/Jermolene/TiddlyWiki5/commit/95dbdff08a788673f892ce23468c68fbb63a1cc3#diff-8cd38385e5ecdcb70371acfa849ab3e8


--
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/df1ca8f2-9e8c-7ce1-85c9-5760634d2d1c%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Tinka and TW 5.1.19+ Issue

2019-02-16 Thread 'Andreas Hahn' via TiddlyWiki

Hi,

thank you for posting this and looking into it, I'll have a look at it 
soon and see if I can come up with a solution to get it working properly 
and future-poof it for the 5.1.20 release.


/Andreas

--
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/744c4b02-9755-fe6b-f60b-786af3c43f0a%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Interacitve Product tour for TiddlyWiki

2018-09-03 Thread 'Andreas Hahn' via TiddlyWiki

Hi,

pretty cool idea and a nice demo too, I could see it be used by people 
doing more serious things with TW.


I am unsure though why they would need the hopscotchjs thing when 
clearly TW has all the capabilities to do this out of the box?


/Andreas

--
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/ae73cb5c-a0c0-b072-4f80-296f95bb4000%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] webp images

2018-08-11 Thread 'Andreas Hahn' via TiddlyWiki
Currently TW has no explicit support for webp. There is no reason why it 
wouldn't be able to support it though, you can just add "image/webp" to 
the list of registered filetypes in `$:/boot/boot.js` [1] and you should 
be good, assuming you have a browser with webp support.


/Andreas

[1] Hint: just open the tiddler, search for "image/png" and insert a 
similiar looking line for webp.


--
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/fe02b9b7-97d8-491d-47e6-5008ec0ee5e2%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Lazy loaded tiddlers can't be deleted

2018-08-10 Thread 'Andreas Hahn' via TiddlyWiki

Hi,

I want to confirm that this is not an issue on my end. When I use 
`$:/core/save/lazy-all` with the node server, I can't delete any 
tiddlers that have been lazily loaded (as in the server won't delete 
them, the browser will).[1]


Assuming this is a bug, I have already tracked down why this happens, 
however, as far as I can tell, this has always been an issue, yet I 
can't find any mention of it in the issues on github. I was about to 
open a new issue, but I thought I'd ask for confirmation:


Can anyone confirm that lazily loaded tiddlers can indeed not be 
deleted? Your version of TiddlyWiki shouldn't matter.


Thanks,

/Andreas

[1] This is also true for tiddlers coming from external sources that 
have been loaded.


--
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/24916099-1f75-76e2-8765-f5d5c6a7d69a%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: conditional operations

2018-07-02 Thread 'Andreas Hahn' via TiddlyWiki

Hi Tony,

I figured this might be of interest for your collection, there is 
another way to do conditionals within certain limits if one has the 
"Tinka" plugin installed. Specifically, it includes a plugin similiar to 
the reveal widget in its function but also allows you to check for regex 
expressions. An example use (taken straight from the error-checking 
section of Tinka):


| <$tinka-check 
text={{!!create-title-org}} pattern="^[^\s]+$"> <$tinka-filter 
verb="fail"> <$action-setfield $tiddler=<> result="true"/> 
<$action-setfield $tiddler=<> errorTitle="The plugin title is 
not allowed to be empty or contain whitespaces."/>  
<$tinka-filter verb="pass">|


This is entirely undocumented, but I think its a neat way to do a 
conditional entirely with action widgets (all of those are). Note that 
"pattern" could also just be a value of another tiddler field, in which 
case the verbs "pass" and "fail" would correspond to "match" and 
"nomatch" for the reveal widget. It does only work for action widgets 
though, since nothing is rendered.



/Andreas

||

--
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/00a4764d-f331-2602-0e26-9fd032ff1e0d%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Modifying a Cloned Palette Name

2018-05-22 Thread 'Andreas Hahn' via TiddlyWiki

Hi Musical Coder,

the tiddler with your Redline palette will have a 'name' and a 
'description' field which are likely also cloned from the
Contrast (Light) palette. Those are the fields used to display the name 
of the palette, so changing those will also change it in the palette 
listing.


/Andreas

--
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/e7d1abdd-cdd7-de63-bc70-6dc51d5dc93d%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] The Art Of Memory -- Just a few thousand years of thoughts

2018-05-15 Thread 'Andreas Hahn' via TiddlyWiki

Thanks Kalmir,

the Tiddlywiki side of things are easily setup, as its just a simple 
plugin, but it also works with either Jed's MultiUser Version (now 
called Bob or something else?) or with TiddlyServer. (Note, you have to 
run the nodejs version here)


The Minecraft server is fairly tricky, because what you see in the video 
is a PocketMine Server and the Win10 Bedrock Edition of Minecraft. I 
think there are providers out there that can host that specific server 
software for Minecraft, but I'm not sure. Given you somehow get that 
running, it would be a simple drop-in plugin that probably anyone can 
install to connect it up to TW.


So while I did make this work by adding a simple plugin to both sides, 
the overall setup is still fairly involved and certainly not "optimized" 
to be easily used by many others. I think the best way might actually be 
a pre-setup virtual machine for people to install and use.


/Andreas

--
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/05c50758-80ec-2e75-7680-4653d78a7f2e%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] TW Twitter -- Computational Notebooks in TW? ...

2018-05-12 Thread 'Andreas Hahn' via TiddlyWiki

Well,
In my opinion TW is ill-suited as a computational notebook and the 
already established solution in the Form of Jupyter is more than up to 
the task. The only think I can see happen is TW having an interface to 
the Jupyter Kernels, but even then, it doesn't quite fit TW's model.

The main problems seem to be:

- TW has a monolithic design, whereas for a computational notebook, the 
Jupyter kernel <-> Interface divide serves it very well as you can 
detach computation from the code/notes and therefore scale things much 
better and work with different languages. For TW all I could think of 
here would be WebWorkers.


- TW has a limit on data size. Nowadays, most datasets, no matter how 
small are already larger than what TW might be able to handle, so they 
would have to be in an external file/files either way.


So while I can see it being nice to have TW as an interface where your 
results get stored and commands are issued, I don't quite see it play 
out any of its advantages in this field and think TW's architecture puts 
both hurdles and limitations on what you would be able to do.


/Andreas

--
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/922c6a71-5fb1-8ce0-17e8-90b19f4a6abd%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] The Art Of Memory -- Just a few thousand years of thoughts

2018-05-11 Thread 'Andreas Hahn' via TiddlyWiki

Hi,

I hope I am not offtopic with sharing this, but back in February I wrote 
a plugin for a Minecraft server that connects to Tiddlywiki for the 
purposes of exploring memory palaces. The idea was that you could link 
up places within your Minecraft world to tiddlers within your wiki, 
which would help you both remember facts and visualize content from your 
wiki.


After I got an initial version to work, I more or less ran out of ideas 
and put the project aside for a bit, but I thought it might be 
interesting to show it off, so here is a small video of how it works:


https://www.youtube.com/watch?v=VXgcNBXGThs

(Note: I have two monitors, so usually this sort of concept is a lot 
more usable)


/Andreas

--
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/bfaf451d-4ba7-1747-d9ce-402cc577baed%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] A slider which closes itself when clicking elsewhere or closing tiddler

2018-02-21 Thread 'Andreas Hahn' via TiddlyWiki

Hi,

just to add onto all the tips you have already gotten: The info tab uses 
the button popup mechanism to get the behaviour that you want, so an 
example would be this (taken from the documentation at [1]):


|<$button popup="$:/SamplePopupState">Open Answer <$reveal 
type="nomatch" text="" state="$:/SamplePopupState"> ! This is the Answer 
1+1 = 2 most of the time :o |


/Andreas

[1] https://tiddlywiki.com/#RevealWidget

--
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/8000ad7b-9785-f5b4-6548-ec5856dd6f88%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Talky Talky autoplay feature request

2018-01-18 Thread 'Andreas Hahn' via TiddlyWiki

Hi oxydum,

yes, there is: You can use Evan's Timer widget [1] to send the 
appropriate navigate messages. I think you might have to keep track of 
the current/next slide, which you can either use the history/story list 
for or roll your own solution with fields.


/Andreas

[1] 
https://evanbalster.com/tiddlywiki/formulas.html#Timer%20Plugin:%5B%5BTimer%20Plugin%5D%5D%20%5B%5BFormula%20Plugin%5D%5D


--
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/2b49ebff-c10c-6eba-a209-f772e5cb3916%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Building a scraper service for TW5

2018-01-18 Thread 'Andreas Hahn' via TiddlyWiki

Hi Abraham,

that sounds pretty interesting, I've had some thoughts about that in the 
past too, but I've never tried to do it. Are you (planning on) using the 
Browser messaging mechanism that plugin libraries also use to inject the 
scraped tiddlers into the TW? Will the scraping support XPATH requests? 
(that would be really cool)


I look forward to your finished version, I'd definitely use it.

/Andreas

--
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/eafb6239-abac-f648-410d-4bd739a8dafd%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Create tiddlers from an external program?

2017-07-17 Thread 'Andreas Hahn' via TiddlyWiki

Hi TJ,

yes, there is several ways to do this:

1. A few years back I wrote a minimalist example class in python to 
save/load tiddlers into an *active* nodejs TW instance, I've attached it 
to this email.


2. If you don't need/want a nodejs instance to run you could always 
write out '.tid' or '.json' files into the tiddler directory of a nodejs 
TW directly, those are very simple file formats. You could also 
interface with tiddlyweb[1] (written in python) directly if you need 
more advanced features.


3. If you want to write tiddlers into a single-file TW, I don't know of 
any direct way, so I imagine the easiest thing to do is to choose one of 
the options above and then let the nodejs instance render the 
single-file TW.




[1] https://github.com/tiddlyweb/tiddlyweb (API's here: 
https://tank.peermore.com/tanks/tiddlyweb/API)


--
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/38bf0c73-f711-a31c-2d31-017ca569452e%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


twstorage.tar
Description: Binary data


Re: [tw] Bundling - It would help - HOW to do it reliably?

2017-06-01 Thread 'Andreas Hahn' via TiddlyWiki

Hi Josiah,

I fear this is slightly off-topic, but I've got 2 remarks with regards 
to bundles, especially for the ones you seem to be talking about, which 
are the ones which include "comfort features" or content, that you would 
like to have access to across new and old TW's.


So far it has been sufficient for me to use plugins, because it also has 
become very easy to have a local plugin library from which you can pick 
and choose what you need in the current wiki. And while it takes a few 
clicks to get it going, it does give one a nice overview of the plugins 
you use.


When it comes to Tinka, I have tried to make it as easy to use as 
possible and while I agree, that especially adding new tiddlers to a 
plugin still requires one to search for it via the Tinka UI, I think it 
is already a good tool to modify and update plugins very quickly. That 
being said, I can imagine adding even more comfort features in the 
future that integrate into the story river. For quick and easy d of 
entries between wikis though, nothing really beats the export feature as 
PMario said.


/Andreas

--
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/17b30614-4274-1379-cb7e-4fce94ae820b%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Custom list type fields - can these be saved and loaded?

2017-05-16 Thread 'Andreas Hahn' via TiddlyWiki

Hi Martin,

apart from whether its a good idea or not, it is indeed possible, but 
the documentation on how to do it is very scarce. Basically though, I 
think you would need to write a javascript module with `module-type: 
tiddlerfield` that does something (probably very) similiar to what 
boot.js does:


$tw.modules.define("$:/boot/tiddlerfields/tags","tiddlerfield",{
name: "tags",
parse: $tw.utils.parseStringArray,
stringify: $tw.utils.stringifyList
});

I am not 100% sure, but it seems to be what makes TW treat certain 
fields differently from others. I've linked a few source code spots down 
below, maybe those help you in getting this to work.


/Andreas

[1] https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L866
[2] 
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/tiddler.js#L27

[3] https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L828

P.S.: Note that in the sample code from boot.js the module seems to be 
defined in-place .. in a real module you would define the options via 
exports.name or exports.parse etc.


Am 16.05.2017 um 12:57 schrieb Jed Carty:
It sounds like what you want to do is possible but it may not be 
simple. It is certainly not behaviour that is supported out of the 
box, but there is very little in tiddlywiki that could be called 
'unsupported behaviour' because of how flexible it is.


I strongly suggest using the fields as normal text and then having 
whatever is using the information parse the field text appropriately. 
I have been trying to move tiddlywiki away from dedicated single 
purpose fields (like how the tags field always has special handling) 
to using a polymorphic field model.

--
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/eed0481f-efc5-4795-9d36-7c6aacab2ea4%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/38a554b1-5add-86f8-b991-31260ee6be2f%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW as dashboard to multiple internal web resources

2017-03-09 Thread 'Andreas Hahn' via TiddlyWiki

Hello Jasper,

I spent a long time looking for it, but I did in fact find a slightly 
modified dashboard mechanism that I used back then. Unfortunately it is 
not really easy to use and it looks a bit thrown together, even though I 
believe it is still working with newer versions of TW. If you want to 
take a look at it, send me a private email.


The general gist of how it works is as follows though:

* A button attached to the TopRightBar (or wherever you wanna put it) 
toggles visibility of a  with `position:fixed` and `width` and 
`height` set to encompass the whole window. Also the z-level index is 
set to 101 (in my case), so that it really is on top of most other 
things in the wiki.


* Inside that dashboard "pane" is a container object that just 
transcludes all the tiddlers you want to display as the content and a 
little bit of CSS magic to position everything nicely.


When it comes to quickly taking notes and display some important info, I 
actually switched to using my "unibar" plugin, which was heavily 
inspired by Mat's "Fast New Tiddler" and "Side Editor" concepts.


Hope this helps a little bit,
/Andreas


Am 07.03.2017 um 19:20 schrieb Jasper Travers:



On Monday, December 15, 2014 at 10:03:43 AM UTC-8, Andreas Hahn wrote:

Yes, I personally use a Dashboard on top of my tiddlywiki. If you
want, I can give you the CSS/template, but I am not fully sure
that it is what you want. However, it looks like this:


I'd love to see this if you've still got it.  I'm trying to create a 
dashboard in TW5 for taking notes, as most of the specific-use 
TiddlyWiki setups out there have much more functionality than I'm 
looking for, and the default empty with added table of contents tab 
isn't enough for me.


I look forward to your reply!

-- Jasper


--
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/781a6d9f-aeb5-d522-57b6-7a4ed82376f2%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Tinka 0.3.0 release

2017-03-09 Thread 'Andreas Hahn' via TiddlyWiki

Hi Jan,

thank you very much for your kind words!

/Andreas

--
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/1b82d3d0-f8f7-de1e-32ac-79df2aefbeca%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tinka 0.3.0 release

2017-03-09 Thread 'Andreas Hahn' via TiddlyWiki

Hi Ton,

you are completely right. It seems I completely forgot the fact that 
they use different prefixes, which was also true for the 'Help Tab' 
functionality until this release.
Your workaround is, as far as I know, really the easiest way to 
accomplish this at the moment, but I will put it on my ToDo list that 
themes should get their proper prefix when creating one.
Also, since I think its evident that I don't really create themes all 
that often, let me know if there is other 'special' treatment when 
creating and packaging themes that I could add to Tinka. (I know the 
fact that themes have to be active when repackaging might be a potential 
issue too)



Thanks for reporting,
/Andreas


Am 07.03.2017 um 10:40 schrieb Ton Gerner:

Hi all,

... Now it is impossible (or at least difficult) to create a theme
starting with $:/themes/

As an - easy - workaround to create a theme as 
$:/themes// instead of $:/plugins//:


1) Create all payload tiddlers with the correct prefix 
$:/themes///
2) Package the theme/plugin. It creates a theme: 
$:/plugins//

3) Rename $:/plugins// to $:/themes//
4) Save & reload.

Thereafter you can repackage your theme without problems.

Cheers,

Ton
--


--
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/d468eb90-7dae-3730-b493-964e1a9ae87f%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Who/what/where is the Tinka Plugin currently being developed?

2017-03-01 Thread 'Andreas Hahn' via TiddlyWiki
I have moved the Tinka plugin to a new home (see other topic), it is now 
available on github:


Repo: https://github.com/TinkaPlugin/Tinka
Wiki: https://tinkaplugin.github.io/

Let me know if you run into any problems using it,
/Andreas


Am 26.02.2017 um 03:29 schrieb Matthew Lauber:

@Andreas Hahn,

Great to hear from you.  My only planned changes thus far were to 
correct a few typos where you used "$/temp/..." instead of 
"$:/temp/..." since it was cluttering up my All Tiddlers sidebar. 
 Thanks for the incredible plugin!


Matt Lauber

On Saturday, February 25, 2017 at 1:57:14 PM UTC-5, Andreas Hahn wrote:

Hi,

sorry for my late response, I just didn't see the topic on here
sooner.
When it comes to the Tinka plugin, I will setup a github repo
within the next few days containing all files that I have on it
and a proper license[1], so that it is hopefully in an easily
modifiable and forkable state for the future.

@David: I will look into it, but it might just be that you didn't
use TiddlyWiki's versioning format, since I am using the standard
versioning functions that TW already provides for this. (It might
also be that due to changes in TW this is now broken)

@Matt: Since Tinka was developed entirely within the browser at
the time, I am hoping to split up some files and clean up the code
when it comes to the custom action widgets contained within (and
also prefix all their names with 'tinka-'). Please let me know if
I should keep anything in mind with regards to the changes you
intend to make/made.

/Andreas

[1] Quick question: I am thinking to just go with the MIT license
here ... Will that pose any problems in the future? Would BSD be
better?


Am 22.02.2017 um 02:55 schrieb David Szego:

While we're at it... Bug report: Every time you rebuild a package
it resets the version number to 0.0.1!! But, I love the plugin!

On Tuesday, 21 February 2017 19:22:15 UTC-5, PMario wrote:

On Tuesday, February 21, 2017 at 10:39:12 PM UTC+1, Thomas
Elmiger wrote:

Hi Jed, my copy is here:


http://tid.li/tw5/plugins.html#%24%3A%2FControlPanel:%24%3A%2FControlPanel%20%24%3A%2Fplugins%2Fahahn%2Ftinka




I did reach out with a pm to Andreas, and see, if he can
clarify the license. .. Since tinka has none, which is a
problem, if we want to adopt and maintain it.

-mario

-- 
You received this message because you are subscribed to the

Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to tiddlywiki+...@googlegroups.com .
To post to this group, send email to tiddl...@googlegroups.com
.
Visit this group at https://groups.google.com/group/tiddlywiki
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/tiddlywiki/604426e9-2cf9-4b45-b944-9b0bec7d9de1%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/64f0f160-c544-4744-bb90-dd3f0bcd55ff%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/75180e1c-e608-b239-1b73-5dfe1aebbcff%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Tinka 0.3.0 release

2017-03-01 Thread 'Andreas Hahn' via TiddlyWiki

Hi,

I have just pushed the source code to the Tinka plugin to github and 
included a license (MIT license), which hopefully makes it ready to use 
and modify for anyone interested in the future. You can find the 
repository at https://github.com/TinkaPlugin/Tinka and an introductory 
wiki with the typical TW install option at https://tinkaplugin.github.io/.


In addition to making it more available, I am also calling this version 
"0.3.0" since I have made the following changes:


* Packaging success now produces a modal that actively reminds the user 
to refresh the wiki.

* The search tab state is now kept in a temporary system tiddler.
* Added warning when repackaging themes that are not active.
* The 'Help Tab' functionality is now also available for plugins that do 
not follow the `$:/plugins/...` naming convention. In particular this 
applies to themes and core plugins.

* Fixed wrong headings for some modal dialogs.
* Older action widgets remodeled to use the (new) CommonAction widget as 
a base.
* Fixed error check that prevented users to enter a minimal core version 
dependency when creating a new plugin.


/Andreas

--
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/4f363ecb-591e-25e0-f341-97d908c7c86e%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] How to create a basic plugin that bundles some content?

2017-02-26 Thread 'Andreas Hahn' via TiddlyWiki

Hi Jeff,

when TW packages a plugin, the tiddlers get "transformed" into shadow 
tiddlers, which basically means that they will no longer work until the 
wiki is reloaded completely, so that the newly packaged plugin gets 
loaded properly. Therefore, it is completely normal for stylesheets to 
disappear, but they should be incorporated into the plugin just fine and 
should be active again, once the wiki is reloaded.


The "Packaging successful" message that pops up does include a warning 
about this and recommends to reload the wiki in order to prevent 
unwanted or surprising behaviour. Since that means that plugin creation 
also comes with a lot of reloading, which also gets rid of the current 
StoryList (depending on your setup), Tinka includes a "Help Tab" option 
to have a handy way of accessing plugin you're currently working on. You 
can read more about that feature in the documentation that comes with Tinka.


I hope this is the behaviour you're seeing as well and that your 
stylesheet tiddlers aren't disappearing into nothingness.


/Andreas



Am 27.02.2017 um 07:11 schrieb Jeff Vance:
Ah, thanks for the tip!  I did some searching and I found the Tinka 
plugin, although it was a bit hard at first since it is no longer 
available where it was originally posted. I tried it out and it seems 
to be working really well.  I only have one problem so far:  one of my 
tiddlers I want to include is a style sheet tiddler (tagged 
$:/tags/Stylesheet). I noticed that after packaging this into the 
plugin, it no longer applies the style sheet modifications.  For 
example it modifies the color of the site title, changes the font for 
headings, etc.  Any ideas on why this happens?

--


--
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/faf1d0a8-4c79-aa16-ea17-662bc92fd3e7%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Who/what/where is the Tinka Plugin currently being developed?

2017-02-25 Thread 'Andreas Hahn' via TiddlyWiki

Hi,

sorry for my late response, I just didn't see the topic on here sooner.
When it comes to the Tinka plugin, I will setup a github repo within the 
next few days containing all files that I have on it and a proper 
license[1], so that it is hopefully in an easily modifiable and forkable 
state for the future.


@David: I will look into it, but it might just be that you didn't use 
TiddlyWiki's versioning format, since I am using the standard versioning 
functions that TW already provides for this. (It might also be that due 
to changes in TW this is now broken)


@Matt: Since Tinka was developed entirely within the browser at the 
time, I am hoping to split up some files and clean up the code when it 
comes to the custom action widgets contained within (and also prefix all 
their names with 'tinka-'). Please let me know if I should keep anything 
in mind with regards to the changes you intend to make/made.


/Andreas

[1] Quick question: I am thinking to just go with the MIT license here 
... Will that pose any problems in the future? Would BSD be better?



Am 22.02.2017 um 02:55 schrieb David Szego:
While we're at it... Bug report: Every time you rebuild a package it 
resets the version number to 0.0.1!! But, I love the plugin!


On Tuesday, 21 February 2017 19:22:15 UTC-5, PMario wrote:

On Tuesday, February 21, 2017 at 10:39:12 PM UTC+1, Thomas Elmiger
wrote:

Hi Jed, my copy is here:


http://tid.li/tw5/plugins.html#%24%3A%2FControlPanel:%24%3A%2FControlPanel%20%24%3A%2Fplugins%2Fahahn%2Ftinka




I did reach out with a pm to Andreas, and see, if he can clarify
the license. .. Since tinka has none, which is a problem, if we
want to adopt and maintain it.

-mario

--
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/604426e9-2cf9-4b45-b944-9b0bec7d9de1%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/ab1d2c05-2f9d-5874-40a3-a1b314b032f5%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] New TW user, 2 questions

2017-02-10 Thread 'Andreas Hahn' via TiddlyWiki

Hi Christoph,

1) You can use the|list-after|and|list-before|fields on a tiddler to 
influence in which order they are displayed. See [1] for more 
documentation on this.


2) Take a look at|$:/core/macros/toc|... I am not sure how familiar with 
macros and widgets you are (I'm guessing not that much), but 
conceptually all that would be required is to reverse the logic on 
the|<$reveal>|-widgets in the toc macro, so that they are open by 
default. If you are unsure as to how to go about that, let me know and 
I'll help you get that set up when I have a little more time.


I hope I was able to answer some of your questions, let me know if 
something was unclear,


/Andreas

[1]
http://tiddlywiki.com/#How%20to%20add%20a%20new%20tab%20to%20the%20sidebar:%5B%5BHow%20to%20add%20a%20new%20tab%20to%20the%20sidebar%5D%5D%20%5B%5BOrder%20of%20Tagged%20Tiddlers%5D%5D




Am 09.02.2017 um 16:03 schrieb Christoph Ehrlich:

Hey everyone,

new TW user here. Awesome tool. I have spent months to find a suitable
note taking software until I finally found this. :)
I'm currently using the Node.js variant of TW.

I ran into 2 questions so far.

1) I created 2 new page toolbar buttons with their own icon, but I also
want to rearrange those buttons to a different position on the page
toolbar. I haven't found how that's possible yet, it seems to be a fixed
order with my 2 new buttons always being on the far right.

2) I also have a "Contents" tiddler as well as sidebar tab that shows
the tab hierarchy in an expandable menu (toc-selective-expandable).
Which is great. But I would like toc-selective-expandable to be expanded
by default. It's always collapsed by default. Is that possible to change?

Thanks for help.




--
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/0957d7ef-c501-3afb-36f1-5e9f429245c8%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Pesenting: the DragTools concept

2017-02-09 Thread 'Andreas Hahn' via TiddlyWiki

Hello Mat,

that is a cool idea, I do like it... there is however another 
possibility to do this that you might not be aware of:


You can very easily add your own editor buttons in the editor toolbar. 
Just create a tiddler, tag it with|$:/tags/EditorToolbar|and include the 
following fields:


 * condition: filter-like expression to determine if the button should
   be shown in the editor .. for normal tiddlers, this should be set
   to|[!has[type]]
   [type[text/vnd.tiddlywiki]]|
 * icon: if you want an icon
 * caption: if you want a textual caption next to the icon
 * description: to add a tooltip

Furthermore the following widget-message will insert text at the current 
selection, put this as the complete content for the tiddler:


|<$action-sendmessage $message="tm-edit-text-operation" 
$param="replace-selection" text="Hello Mat!" />|


There is more documentation here: 
http://tiddlywiki.com/#WidgetMessage%3A%20tm-edit-text-operation:%24%3A%2Fcore%2Fui%2FEditorToolbar%2Fheading-2%20%5B%5BWidgetMessage%3A%20tm-edit-text-operation%5D%5D


I am not completely sure if this fits your vison for the DragTools 
concept, but I hope this was useful to you, keep coming up with cool ideas!


/Andreas





Am 09.02.2017 um 14:17 schrieb Mat:

The TWaddler proudly presents...

...his fastest creation ever, thrown together over the lunch break...

...it works pretty well but the main point is as a proof-of-concept...

DragTools  - (can be) a palette of 
whateveryouwant to drag'n drop into the editor


I've wanted a much more visual interface for making TW stuff for a 
long time. The new editor toolbar is a step in the right direction but 
I think we've scratched the surface. DragTools is another step. In the 
end we ought to have a UI that lets most TW use be achieved by visual 
manipulation rather than scary curly brackets etc.



<:-)


--
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/6d248a69-1d3e-71f6-f7e4-5bd3bc422987%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Usage plantuml diagrams in a markdown tiddler

2016-11-30 Thread 'Andreas Hahn' via TiddlyWiki

Hi Joachim,

according to the documentation in [1], the tiddler markdown should look 
like:


|## planning [[plantuml [ @startuml{picture.png} start repeat :identify 
the project scope, lifecycle and interfaces; :perform Task estimation 
and planning; stop @enduml ]]]|



Hope that works for you

/Andreas

[1] https://tobibeer.github.io/tw5-plugins/#plantuml


Am 30.11.2016 um 15:14 schrieb Joachim Sparakowski:

Hi there,

I've created a markdown tiddler for some activity descriptions which I 
wanted to create via the plantuml plugin as well.

This doesn't work.

The markdown tiddler looks like this

## planning

@startuml{picture.png}

start

repeat

:identify the project scope, lifecycle and interfaces;

:perform Task estimation and planning;

……

stop

@enduml

…..

End of the tiddler


instead of generating the picture the text is only shown


I appreciate any help on the usage of the markdown and plantuml 
plugins since I'm a newby



Best Regards

Joachim


--
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/9256ab10-d0ba-42d1-9ab5-30a377bde45f%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/25ea0280-d0e9-7093-41d9-b35ce29dcdbb%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [Theme] Moments: A little color won't hurt

2016-11-29 Thread 'Andreas Hahn' via TiddlyWiki

Hello Riz,

it is good to see someone working on new themes for TW, I myself tried 
it once, but I never got this far. I also really like the theme/UI you 
picked out, I think it can fit a wiki pretty nicely. There are two 
things I've noticed though:


 * I can't seem to find how to actually edit an entry .. or close it
   again for that matter. I might be blind though.
 * The "featured post" section might be useful on websites, within a
   wiki I could imagine that one could put something more useful there,
   i.e. tools or at least the contents of the "featured" entry, so that
   one could build something into there.

Other than that however, thanks for doing this, nice work!

/Andreas

--
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/6e1bdd93-0ee2-e508-64ca-1c75c988befd%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Tinka Plugin Packer 0.2.0-beta release

2016-10-16 Thread 'Andreas Hahn' via TiddlyWiki

Hi Greg,

due to me not having the time and money to properly maintain the site 
anymore, I had to close it down about half a year ago. Tinka 0.2.0 is 
still the latest update and as far as I am concerned, it is pretty much 
"feature complete" when it comes to plugin creation in the browser.


/Andreas

Am 15.10.2016 um 04:05 schrieb Greg Davis:

Hi,

What ever happened to Tinka? I was searching to see if there had been 
any updates. Did it move or is gone like http://twguides.org appears 
to be gone?





--
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/d847f148-92e8-132f-40ba-17bc3f219bb5%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Editing TITLE - Is it possible to change editor behaviour?

2016-06-01 Thread 'Andreas Hahn' via TiddlyWiki

Hi Josiah,

I can assure you that previous versions of TW did not have mechanisms 
where [2] is likely to work. In fact I am very confident that [2] does 
indeed work how its supposed to: Whenever you edit the title, the 
tiddler with the old title will not be deleted and the tiddler with the 
new title will be added as a copy. (there will not be an option to not 
do this)


Be sure to include the|action-sendmessage|in the proper 
place,*before*the|tm-save-tiddler| message is sent. 
Since|$:/core/ui/Buttons/save|isn't particularly large, here is the full 
modified version of how it should look:


*$:/core/ui/Buttons/save*

|<$fieldmangler> <$button tooltip={{$:/language/Buttons/Save/Hint}} 
aria-label={{$:/language/Buttons/Save/Caption}} 
class=<>> <$action-sendmessage 
$message="tm-add-tag" $param={{$:/temp/NewTagName}}/> 
<$action-deletetiddler $tiddler="$:/temp/NewTagName"/> 
<$action-sendmessage $message="tm-add-field" 
$name={{$:/temp/newfieldname}} $value={{$:/temp/newfieldvalue}}/> 
<$action-deletetiddler $tiddler="$:/temp/newfieldname"/> 
<$action-deletetiddler $tiddler="$:/temp/newfieldvalue"/> 
<$action-sendmessage $message="tm-add-field" $name="draft.of" 
$value={{!!draft.title}}/> <$action-sendmessage 
$message="tm-save-tiddler"/> <$list 
filter="[prefix[yes]]"> 
{{$:/core/images/done-button}}  <$list 
filter="[prefix[yes]]"> class="tc-btn-text"><$text 
text={{$:/language/Buttons/Save/Caption}}/>   
|


I hope this makes things a little clearer. Also note that the position 
of the action widget would also allow the insertion of another field, 
maybe called|copy-of|, which could track the original tiddler that the 
modified version came from, before the title was altered.


/Andreas



Am 31.05.2016 um 20:14 schrieb Josiah:

Andreas

Unfortunately [2] did not work. Perhaps I should have made clearer 
that I am working in TW5?


Josiah

On Monday, 30 May 2016 19:29:50 UTC+2, Josiah wrote:

Thanks very much. The solution I need is likely [2]. i will try it.

Best wishes
Josiah

On Monday, 30 May 2016 18:23:43 UTC+2, Andreas Hahn wrote:

Hi Josiah,

that specific behaviour is governed by
the|handleSaveTiddlerEvent|method of the navigator widget
which you can see in [1]. To change that, you can either edit
the code over there (which you might not wanna do), or add an
action widget to|$:/core/ui/Buttons/save|which keeps
the|draft.of|and|draft.title|field of the draft in sync,
before invoking the save routine (see [2]). Obviously you can
also get arbitrarily fancy with the UI, like adding a checkbox
that steers that behaviour, but it sounds like a simple change
like that would do the trick for you.

/Andreas


[1]https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/navigator.js#L354-L357



[2] adding|<$action-sendmessage $message="tm-add-field"
$name="draft.of"
$value={{!!draft.title}}/>|to|$:/core/ui/Buttons/save|should
be sufficient.

Am 30.05.2016 um 09:28 schrieb Josiah:

As is, when you edit the TITLE of a tiddler and save it it
overwrites the previous version. How difficult would it be
change that behavior so that /when you change the title of an
existing tiddler it offers the OPTION to SAVE it as a NEW
tiddler?/ My use case: I have hundreds of small tiddlers that
are similar I constantly create variant versions of. Right
now I have to remember to clone. As is, I keep inadvertently
overwriting Tiddlers I want to keep. 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+...@googlegroups.com. To post to this group,
send email to tiddl...@googlegroups.com. Visit this group at
https://groups.google.com/group/tiddlywiki
. To view this
discussion on the web visit

https://groups.google.com/d/msgid/tiddlywiki/0004d98d-1dd2-48a0-8d80-2e81d876f19e%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 

Re: [tw] Editing TITLE - Is it possible to change editor behaviour?

2016-05-30 Thread 'Andreas Hahn' via TiddlyWiki

Hi Josiah,

that specific behaviour is governed by the|handleSaveTiddlerEvent|method 
of the navigator widget which you can see in [1]. To change that, you 
can either edit the code over there (which you might not wanna do), or 
add an action widget to|$:/core/ui/Buttons/save|which keeps 
the|draft.of|and|draft.title|field of the draft in sync, before invoking 
the save routine (see [2]). Obviously you can also get arbitrarily fancy 
with the UI, like adding a checkbox that steers that behaviour, but it 
sounds like a simple change like that would do the trick for you.


/Andreas

[1]https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/navigator.js#L354-L357

[2] adding|<$action-sendmessage $message="tm-add-field" $name="draft.of" 
$value={{!!draft.title}}/>|to|$:/core/ui/Buttons/save|should be sufficient.




Am 30.05.2016 um 09:28 schrieb Josiah:
As is, when you edit the TITLE of a tiddler and save it it overwrites 
the previous version.


How difficult would it be change that behavior so that /when you 
change the title of an existing tiddler it offers the OPTION to SAVE 
it as a NEW tiddler?/


My use case: I have hundreds of small tiddlers that are similar I 
constantly create variant versions of. Right now I have to remember to 
clone. As is, I keep inadvertently overwriting Tiddlers I want to keep.


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/0004d98d-1dd2-48a0-8d80-2e81d876f19e%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/35e2caad-d7c2-841f-e29e-98247b9b65f8%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Running Bash and Python scripts from within TiddlyWiki

2016-01-15 Thread 'Andreas Hahn' via TiddlyWiki

Hi guys,

I have had similiar ideas in the past and gave it a few tries. The (more 
or less) best thing I could come up with is extending the nodejs-server 
command with a CGI interface. That way the execution of an external 
program turns into a http-request, more specifically a tiddler 
load/render event. Furthermore it is just a simple addition to the sever 
command code so it was what I eventually ended up doing.
Note that this does mean, that the external program needs to be either 
CGI capable itself or you have to have a wrapper application of some sorts.


That sort of solution would also work for TiddlyDesktop, but I don't 
really see a good way of making this work for a standalone wiki. There 
are however other options. The ones I found and tested (all 
unsuccessfully, which is why I ended up doing it another way, but it 
would in theory be possible) are:


- Custom protocol handler in Firefox/OS 
(http://kb.mozillazine.org/Register_protocol or in firefox itself in the 
settings menu (note that you need an application runner as a program 
that will take the request and execute the program you want))
- Extend Tiddlyfox to handle a new tw-message 
(https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Running_applications)
- Get an extension that does that for you. (For example: 
https://addons.mozilla.org/en-US/firefox/addon/applauncher/ << Note that 
it looks untrustwhorthy, but it would do the trick, since it can take 
the selected text and incorporate it into the command)


/Andreas

--
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/5699C12A.2050805%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-29 Thread 'Andreas Hahn' via TiddlyWiki

Hi Danielo,

glad it could be of help. Yes the commonAction.js is required (you can 
see the setup method being called in the fireonrender constructor), but 
you are free to (and in fact I would recommend to) change the the name 
to "YOURPLUGINcommonAction", as I (and possibly other people) use this 
little helper widget in other plugins and the naming would ensure that 
it doesn't clash. (Example: I am using the same helper widget in Tinka 
as well, where I use it for regex checker and action filters and there 
it is named TinkaCommonAction)


Also, you can "borrow" (i.e. copy) as many of the styles and 
code/tiddlers as you want. I actually use the unibar plugin everyday as 
it simplifies my workflow immensly, but I haven't gone through the 
trouble of making it presentable or more available to other people. The 
trick with the list-after field is definitely one that should be 
included on tiddlywiki.com, if not already. (I think I only found it 
through googling in an older thread on this group)


/Andreas


Am 29.09.2015 um 19:13 schrieb Danielo Rodríguez:

Hello Andreas,

Thank you very much. I will take a look at your unibar plugin and the 
js file you are pointing. Looks like it depends on 
$:/plugins/ahahn/unibar/commonAction.js. Is commonAction required for 
the basic functionality? I suppose the answer is yes, but sure asking 
does not hurt :P


By the way, the looking is awesome!! I love the look and feel, do you 
mind if I borrow some styles?


Also I saw an awesome trick, that deserves to be on tiddlywiki.com: 
the list after field on the stylesheet tiddler. I was getting crazy 
about it! I was trying to override some styles and they were not being 
applied. Thank you for this also.


Thank you very much!!
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5d64c1f6-72df-4326-9283-abfaec0e88b7%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/560AD4A7.6000803%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-29 Thread 'Andreas Hahn' via TiddlyWiki

Hi Tobias,

Yes, I did suggest and talk about it in this issue here: 
https://github.com/Jermolene/TiddlyWiki5/issues/1903 .
As far as I am concerned, Jeremy did give me a go on that one, which 
means that eventually I am gonna sit down and work out a few more 
concrete things and start a development branch on that. It is quite a 
big undertaking to kinda retroactively apply those simplifications to 
the widgets that are already in the core and I believe before I attempt 
any of that, there should be more tests testing the behaviour of widgets.


/Andreas


Am 29.09.2015 um 20:28 schrieb Tobias Beer:

Hi Andreas,

I didn't take a look at how common the things are that your 
*commonAction.js* provides.

Have you been proposing any of that to the core or considering that?

Best wishes,

— tb
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/691393d6-be58-491a-8b97-22dc09d18b6e%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/560AE49E.1060907%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Action widget execution on tiddler open

2015-09-28 Thread 'Andreas Hahn' via TiddlyWiki

Hi Danielo,

yes there are to the best of my knowledge two things that will 
accomplish that: I think Jed extended his Trigger action daemon to the 
point where a navigation event (i.e. a change to the Story tiddler) can 
trigger actions. The other thing I know of is a widget contained in my 
unibar plugin called fireonrender.


I am not sure about the details of Jed's work, you can take a look at 
the widget I mentioned in the old unibar wiki that I once posted here: 
http://twguides.org/wiki/unibar.html (take a look at 
$:/plugins/ahahn/unibar/fireonrender.js which is also used in the rename 
mechanics, so try renaming a few tiddlers with redirection to test it out).


About Jed's work, you might learn something here: 
http://inmysocks.tiddlyspot.com/#TriggerActions%20Plugin and here: 
https://github.com/Jermolene/TW5-TriggerActions although I am unsure 
about the current status of the project.



/Andreas



Am 28.09.2015 um 11:57 schrieb Danielo Rodríguez:

Hello.

Did I dream about it, or is it possible to "execute" action widgets 
contained in a particular tiddler when that tiddler opens? This would 
be specially useful if a certain configuration is required for a 
particular tiddler.

I think I have read about it, but I am not sure.

Many 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eb083ede-e976-4547-a7af-c47da8108eb1%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5609511B.4070105%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW development best practices question

2015-09-27 Thread 'Andreas Hahn' via TiddlyWiki

Hi Dave,

I have not done larger projects in TW myself so far, but here are a few 
things to give you an idea of what might be a good start.


TW with nodejs works by having a nodejs server in the background which 
delivers a fully funtioning TiddlyWiki to the browser which then has its 
contents synced with the server. The current process however is unsafe 
for more than 1 concurrent user, so either way, unless you make the 
necessary changes, your system will only be safe for 1 concurrent user. 
By that I mean the nodejs-version and a TW that is synced between computers.


If you create a separate TW for each of your clients as a file, then you 
will not have this issue, as now people can edit different client files 
without interfering, as long as they edit different clients. That 
however, as you pointed out, means that the data will also be separate 
and it will be harder to aggregate. So be aware of the limitations to 
the number of concurrent users your system can handle.


I would however use one single TW instance for all the data, because TW 
really only shines, when you put all the data into it (much like 
evernote). The nodejs version is pretty fine for a single user, as it 
also means that the data will be kept in individual files that are more 
likely to be accessible and compatible by other programs you might use 
to work with that data. It also means that it won't be as portable as a 
single TW file.


When it comes to your actual application, I can only advise you to keep 
your data consistent. By that I mean well defined field names with well 
defined definitions as to what data type they contain. TW is actually a 
database application in that sense, but one that doesn't enforce that 
type of consistency by default. You need to have a consistent model if 
you want to work with the data later on. (so make sure there are no 
ambiguous inputs or things you have to do manually everytime, like 
typing out a specific tag, a specific field name and so on)


When it comes to selling, TW is under a BSD license, which as far as I 
know does permit you to sell the final product.
I realize my answer was very broad, if you have any more questions, I 
will be happy to address them in a little more depth.


/Andreas


Am 27.09.2015 um 16:42 schrieb Dave:

I have a project I'm thinking of starting in TW5 having made some progress in 
the past with TWclassic, but I think most of the cool developement is happening 
now and in the future with TW5.

So I'll be kind of starting from scratch.  I have a best practices question:

<<
(having decided that I'll be using TW5 with nodejs) Would it be better to make one TW per client and 
import any design changes from a "master" TW file (that was the plan with the TWc version), or 
would it be better to have one single TW5 (synced between computers) and access the multiple client 
"files" by unique tag in the one system?  And if that were the case would it be better to 
develop it in tiddyweb (accessible only through intranet)?<<

Here's the use case: I'm a chiropractor seeing multiple patients a day, keeping 
track of various symptoms and test results that change gradually over time and 
depending on progress generates the need for various modifications of treatment 
modalities, e.g. exercises, etc, as well as running suggested prioritized 
diagnosis suggestion lists and plans of management options.

Although it would be nice and tidy to have one file per patient, I also at one 
point in the future want to be able to compare findings between patients, like 
for research (how many patients that I treated by method X got better by Y 
points over timespan Z; or, what's the average first measurement of neck range 
of motion between age 30 and 50?)), mainly using fields and tags.

Any time I describe what I want, most people just say I should build a database 
program, but a) I have no experience with them and b) I just really like 
tiddlywiki because its so flexible.

Lastly, I'm an intermediate level user with no formal computer programming 
training, slow but steady learner. I've modified plugins (TW classic) but never 
made one from scratch.


Any suggestions for a scenario like this?



Oh, one last thing... if I ever actually achieve what I'm dreaming of, what are 
the monetization implications given the current licence?  Could I sell this to 
other chiropractors/ companies?  If not, that's fine - I'm going to proceed 
anyway and may just eventually just release it if it passes muster.



--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56081232.609%40googlemail.com.
For more 

Re: [tw] TW development best practices question

2015-09-27 Thread 'Andreas Hahn' via TiddlyWiki

Am 27.09.2015 um 19:42 schrieb Dave:

Thank you for that!  Does that mean if I want to eventually have concurrent 
access and widespread access to all patient data I should seriously consider 
tiddlyweb?

It does mean that by the time you are getting to that, you can only hope 
that there is a good solution to that problem by then or implement it 
yourself, as (afaik) tiddlyweb also does not work as an environment for 
multi-user access. There are people working on that and nmaking progress 
in that area, so that overall it is nearly working.


/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56082D1B.8030006%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Tinka Plugin Packer 0.2.0-beta release

2015-09-26 Thread 'Andreas Hahn' via TiddlyWiki

Hi Mat,

thanks for your feedback, I am also almost positive that you will like 
the Help Tab when navigating between plugin tiddlers ;).
Currently there is no github, therefore the only place to post issues is 
on the Tinka page itself down in the comments and here on the mailing 
list. I might create a github soon, since I also want to create a github 
for the plugin library itself (and those will have to be linked up).


What you say is true, I did originally link the main page of the plugin 
library, as it is a) the actual library and b) it also contains the 
installation instructions. But you are right, that the other link might 
be more helpful to people.
Also it does not do anything except add "http://library.twguides.org; as 
another source for plugins when using the plugin library mechanism, it 
will be just below ... or above the normal standard library in the menu. 
I will add a short description (with some screenshots maybe) to the 
site. Thanks!


/Andreas

Am 26.09.2015 um 16:06 schrieb Mat:
As I've said before; I consider Tinka to be super important because it 
is a piece of key infrastructure as it simplifies for other people to 
make contributions and further improve TW. For instance, I would not 
have been able to create my 
plugins without this.



@Andreas - thank you for continuous work on Tinka!

I have not tried out the new version yet, but am looking at the demo. 
I like it a lot that you've made the meta-info fields easier to 
understand.


Can I ask, is there a github where to post issues? I feel thinks on 
the boards are very easily lost.


BTW, in your post here, you write:

the library version is at
http://library.twguides.org/

.



This link gives a page stating "This is the TWGuides plugin library. 
It is not intended to be opened directly in the browser."  - I'd say 
it is better to link to:

http://twguides.org/pluginLibrary.html#

Also, it would be good to get a little more info before installing a 
"plugin library" - is it only to access things from TWguides? Does it 
add an extra Ctrlpanel tab? Does it extend the functionality of the 
standard plugin library?


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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5606CAE0.4050105%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Tinka Plugin Packer 0.2.0-beta release

2015-09-26 Thread 'Andreas Hahn' via TiddlyWiki

Am 26.09.2015 um 18:37 schrieb Jeremy Ruston:

Hi Andreas

Great stuff. I'm impressed that you've created your own plugin 
library, too.


Best wishes

Jeremy.

Thanks Jeremy, I do have to say that I really really like the browser 
message mechanism and creating my own plugin library was actually 
extremely simple.
It also opens up a few nice possibilites for people (and hereby I mean 
developers who can use that mechanism for private things). Thanks for that!


/Andreas

P.S.: Obviously I was heavily guided by your pluginlibrary plugin, so 
that helped.


--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5606CDAD.70503%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Tinka Plugin Packer 0.2.0-beta release

2015-09-23 Thread 'Andreas Hahn' via TiddlyWiki

Hi Tobias,

thanks for your feedback. I am not sure that it would make a good ad-hoc 
creator, since Tinka is kinda desgined to specifically get all the nice 
things that plugins offer. Of course it does not prevent one from 
creating content-"plugins" (or swarms), but having version control and 
the tiddlers being shadows are central to plugins. For your "swarms" it 
would not be needed in the first place, so a much simpler and easier 
sharing mechanism can be devised for that.


Also, can you perhaps rename the controlpanel tab to just *Tinka*? 
Those who (will) use it know what it is and for those who don't it 
suffices to click a thus much shorter tab.
Yes, that is actually a very good suggestion, I did not think of that. 
Thanks !


/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5602DF42.7010806%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Tinka Plugin Packer 0.2.0-beta release

2015-09-20 Thread 'Andreas Hahn' via TiddlyWiki

Hi,

just a heads up for everyone interested:

I just released a beta version with many new features which hopefully 
make plugin creation both even more simple and more comfortable. Since 
this is a beta release, please do not hesitate to report bugs/typos and 
the likes. It is also recomended to now get the plugin via the plugin 
library, rather via the wiki.
As usual, you can find the plugin site at 
http://twguides.org/tinka.html, the library version is at 
http://library.twguides.org/.


Changes include:

* Added Help-Tab capabilities to quickly navigate between plugin tiddlers.
* Moved Create-Plugin wizard to its own tab.
* Redid Create-Plugin UI to be easier and more accessible.
* Backups can now also be downloaded/exported.
* Added more documentation.

Thank you for testing Tinka and giving me feedback!

/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55FED3C3.70502%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: do you think it's time for a "bare bones" edition?

2015-09-19 Thread 'Andreas Hahn' via TiddlyWiki

Am 19.09.2015 um 13:59 schrieb Jeremy Ruston:
Otherwise, yes, such a split could be done. If you search the 
core/modules directory for the string $:/ you'll see the dependencies 
between the core JS code and actual tiddler and tag names; there's not 
actually that many.


But again, I'd ask for the motivation. If it's about reducing file 
size, then I think there are other options that have less impact on 
the complexity of the project. If it's about being able to ignore the 
core UI then I'd respond that that is already possible.


Just to be clear, my stand on this is that I'll help anyone who wants 
to experiment, but I don't see how I can justify working on this 
(which is quite demanding) for dubious benefit when we've got major 
issues like poor multi-user behaviour to work on.


I was in no way implying that you should work on this, but I was 
interested in how one would go about completely changing the UI (think 
applications on top of the TW core) and which and how many ties would 
have to be kept intact for TW to continue to work. So you answered both 
of those, thanks for taking the time =).


/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55FD55F0.8070407%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: do you think it's time for a "bare bones" edition?

2015-09-19 Thread 'Andreas Hahn' via TiddlyWiki

Hi Jeremy,

I do agree with you and I do not want to spark a long debate, I do 
however have a questions concerning this:


Am 19.09.2015 um 13:21 schrieb Jeremy Ruston:
* If it is to simplify the UI, there's already nothing to stop people 
replacing $:/PageTemplate with their own complete user interface that 
only dips into the "stock" user interface when required


Do you think it would be worth separating the UI (templates) from the 
rest of the core, so that there are then 2 core plugins, namely $:/core 
and $:/ui. I am not certain if the ties between the two are really that 
easy, but might open a way for slimmer and alternative UI "plugins". 
Also people might chose to update the core (due to bugfixes), but not 
the UI (no new fancy features), which in an ideal backwards 
compatability way *might* work (*waving hands, again I don't know how 
interconnected the UI actually is with the rest of the core modules*).


/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55FD4C01.5020402%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Default values for templates

2015-09-19 Thread 'Andreas Hahn' via TiddlyWiki

Am 19.09.2015 um 15:07 schrieb Tobias Beer:

The way do it seems about right.


It does look right, however, an empty string for the filter parameter is 
regarded as no filter parameter, therefore you have to design a filter, 
that is empty when the variable is empty (which is hard) , but is not an 
empty string itself.


/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55FD6394.7030803%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW5: Concatenated TextReferences

2015-09-18 Thread 'Andreas Hahn' via TiddlyWiki

Hi Tobias,

you could define it like this:

|\define changer(old-title) <$set name="currentTiddler" 
value="$(state)$"> <$button> <$action-setfield $tiddler="$old-title$" 
title={{!!new-title}}/> copy   \end|


Please note that it only archieves a copy functionality rather than a 
rename (i.e. the original tiddler will still exist)


/Andreas



Am 18.09.2015 um 22:07 schrieb Tobias Beer:

Mhhh, I'll attribute it to having been away for a while
or maybe it's one of those things that just won't work.

Here's the situation and I can't wrap my head around solving it...

Assume...

  * there's a variable *state *holding the title of a state tiddler
  * this tiddler has field called *new-title*
  * and I'm in the context of a macro that knows of a parameter
*old-title*

Now, here's the issue...

I want to read the field *new-title* from tiddler *state *and assign 
it as the title to tiddler *old-title*.


|
<$button>
<$action-setfield $tiddler="$old-title$" title={{*??WHAT-TO-DO??*}}/>
rename

|

What to do (again)?

Best wishes,

— tb
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8cd3caa-d8e7-4616-9630-bf5a6c9892c1%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55FC77C9.9060607%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW5 How to save code? TW5

2015-08-12 Thread 'Andreas Hahn' via TiddlyWiki

Am 12.08.2015 um 17:49 schrieb Jørn Madsen:


When saving the tiddler, the indentation and new lines is often lost,- 
I've tried the tripple quotes to freeze the text without any luck.


You can always change the type of the tiddler to either text/plain or 
application/x-python, so that the content isn't run through the 
wikitext parser.
You can also use the highlight plugin to get nice syntax highlighting as 
well.


/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55CB736E.4070002%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Populating a SelectWidget with the indexes/values of dataTiddler

2015-08-11 Thread 'Andreas Hahn' via TiddlyWiki

Am 11.08.2015 um 16:39 schrieb Ghislain SILLAUME:

Any ideas?


Hi,

try:

|\define valueFromIndex() [[data]getindex[$(index_key)$]] \end $select 
field=start_date $list filter=[[data]indexes[]sort[title]] 
variable=index_key $list filter=valueFromIndex 
variable=index_value option value=index_value  index_key 
/option /$list /$list /$select|


Also, you can't put a widget as an argument to another widget (and 
HTML-tags are widgets too).



/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55CA0D5C.7070800%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Populating a SelectWidget with the indexes/values of dataTiddler

2015-08-11 Thread 'Andreas Hahn' via TiddlyWiki
Oh, and don't forget to change data back to the name of the tiddler 
you want it to work on. Both in the macro and in the list filter.


Am 11.08.2015 um 16:57 schrieb Andreas Hahn:

Am 11.08.2015 um 16:39 schrieb Ghislain SILLAUME:

Any ideas?


Hi,

try:

|\define valueFromIndex() [[data]getindex[$(index_key)$]] \end $select 
field=start_date $list filter=[[data]indexes[]sort[title]] 
variable=index_key $list filter=valueFromIndex 
variable=index_value option value=index_value  index_key 
/option /$list /$list /$select|
Also, you can't put a widget as an argument to another widget (and 
HTML-tags are widgets too).



/Andreas


--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55CA0DBD.5040600%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Bottom-tabs notes like MagicTabs

2015-08-09 Thread 'Andreas Hahn' via TiddlyWiki

Am 08.08.2015 um 22:20 schrieb magev958:
I love http://magictabs.tiddlyspot.com but it is much more than I need 
so I have tried to copy only the add  show note-function at the 
bottom of every toddler, but it is very much to complex for me to wrap 
my head around and I would appreciate some help


/Magnus



Hi Magnus,

yes, it is indeed a very complex plugin, and it might not be trivial to 
get the note functionality out (I tried, but couldn't find an easy way). 
So my reccomendation would be
to just disable all the other tabs that you don't want to have in the 
MagicTabs dashboard. That way you will only see the tabs that you want 
and need. (For example your note tab)


/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55C74086.3050607%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] My first real working tiddlywiki internet shop.

2015-07-11 Thread 'Andreas Hahn' via TiddlyWiki

Am 10.07.2015 um 20:44 schrieb Siniy-Kit:
Hi! I continue developing TW to make it work as internet shop. some 
time ago I make a little demo, and now I can show a real  shop 
http://magast.ru/magazin/heeg.html
it works without php or any other server code it is very easy and free 
:) Many people from TW group help me with code. Thank you!



Hi,

looks really good and integrates well with the rest of the site, nice 
work! Do you use the same system you mentioned in other topics for your 
order processing ?

Do you have different payment options ? (I can't read russian, I'm afraid)

/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55A0C8B1.8010809%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] reference to template's field

2015-07-11 Thread 'Andreas Hahn' via TiddlyWiki

Am 11.07.2015 um 07:26 schrieb Rustem:
I'd like to have a field in a template tiddler, and use it's value 
when rendering a tiddler via the template. I know I can get 
currentTiddler's fields, or any tiddler's fields using the title of 
that tiddler. But is there a way to get template's fields without 
referring to it by title literally?


Short answer: No

Long answer: Yes, the transclusion widget sets a variable called 
transclusion that (aside some other things) also includes the name of 
the template being used (I am guessing that it would in most cases). So 
if you can write javascript, you may be able to devise a macro that 
extracts the name of the template used that you would then be able to 
use to get the template's fields. I can't think of any other way right now.


Of course, a better way of permanently making this sort of thing easier 
would be to change the tiddler-widget to set an appropriate variable 
containing that information. Maybe you can open a github issue about this ?


/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55A0CF6F.3000802%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: An Easy Way to Create and Modify Plugins

2015-06-09 Thread 'Andreas Hahn' via TiddlyWiki

Hi Mat,

New little discovery; There is a state tiddler missing a colon 
- $/state/popup/tinka-create

Whoops, I never noticed that, thank you !

Maybe user could get a checkbox list for which tiddlers to delete (+a 
select all button).
If I am not mistaken Tinka already has a remove feature to remove 
individual tiddlers from a plugin (there is no select all button 
though). If you want to delete the entire plugin, there is no reason to 
use Tinka, just open the plugin tiddler by clicking on its name and 
delete it like any other tiddler.


To the sidebar? You mean that pops up only when you're in the Tinka 
Controlpanel tab then? (a bit like the Sidebar Search tab 
https://github.com/Jermolene/TiddlyWiki5/issues/1066 idea?)
Possibly, although I was thinking more along the lines of a checkbox for 
each plugin, that enables the tab.


For the latest version, I tried putting in 0.2.0 and it was 
converted into 0.2.1 which I manually had to change in the resulting 
plugin after...
TiddlyWiki increases the version number after each (re-)packaging 
process. Therefore I tend not to care about the last version number, as 
it only serves as a number to distinguish the different packaging 
operations. Before release then, I set the version number to the number 
I want (you can edit the metadata of a plugin without needing to repackage).



Also thanks @Jeremy for the link, things make more sense now =).

/Andreas

--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55774CEA.9040608%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: An Easy Way to Create and Modify Plugins

2015-06-08 Thread 'Andreas Hahn' via TiddlyWiki

Hi Mat,

thank you very much for your feedback, you raise some important points 
and a new Tinka version with quite a few changes is already in the making.

Here are my thoughts:


  * I don't think the Create New Plugin button/content should be
under the tab Installed Plugins but instead warrants a tab
of its own.

Yes, you are correct, it feels better to put it there, so this will be 
changed in the next version.




  * As someone new in the plugin packers business, I am a bit
uncertain what happens to my original tiddlers. It seems they
are fully replaced with the created plugin. This makes it
difficult to make changes and I would strongly prefer that the
original tiddlers were left intact.


  * *Presumption* of how a plugin is made up and how Tinka creates
one: the plugin is created by copying+converting multiple tiddlers
into a json tiddler. At the same time, the original tiddlers are
converted into being shadow tiddlers.
*Feedback*: In creating different /variants /of a plugin, which
I'm just trying to do, I find it would be valuable to access
tiddlers that have previously been converted to shadow tiddlers.
(Specifically, I'm creating a variant of the SideEditor and it
uses all the tiddlers of the current variant but also some new
ones.) If possible, I would like an *option to include shadow
tiddlers* in the Tinka search tool. (...or is a tiddler somehow
critically changed as it is converted into a shadow tiddler,
making it unusable for plugin content?)

*Observation*: When developing my plugin, I need easy access to the 
tiddlers involved so they are not prefixed with $:/. This, however, 
means that when the plugin is created, they are hidded (shadowed) but 
with these titles... which makes them odd in the shadow list and, 
more unfortunate, they get placed (alphasorted) to the very bottom of 
the listing. If someone is looking around for where these tiddlers are 
hiding, then being at the very bottom of a long list is of course not 
good.
*Feedback*: I'm not certain it's a Tinka issue as much as a workflow 
issue, but I would like to use common titles during development but 
have *prefixes $:/ added* as they are converted into shadow tiddlers. 
Maybe this is something Tinka could offer? 



This is partly due to the way plugins work, namely the tiddlers 
belonging to this plugin are stuffed into a JSON tiddler and become 
shadows. Also I am afraid that I would like to do it this way, as 
ideally the tiddlers in the plugin are the ones that get executed on 
loading, as this is necessary to test if the plugin is working. Copying 
those tiddlers and having them both as shadows and as normal tiddlers 
may cause all kinds of problems.


The general philosophy is that all the tiddlers belonging to the plugin 
should be shadow tiddlers, except when you are in the middle of making 
changes, in which case a selected few are overwritten by normal 
tiddlers. Also, you can get a list of all the tiddlers in the plugin by 
just clicking on the plugin name in either the Tinka tab or the normal 
Plugin tab in the Control Panel.


I do however agree with you, that it can be cumbersome to navigate to 
the tiddlers. For that, I would like to add something like an edit-mode, 
where a new tab is attached to the sidebar that displays all the 
relevant tiddlers for the plugin for easy access.


The variants is something I did not think about when I removed the 
capability of the default search to search for shadows. I will have to 
think about this one and maybe add a third tab to the searches that 
enable a search for shadow tiddlers. For now however, the mechanics to 
create variants is via the backup functionality:


- You create your plugin
- Then you back it up
- Make the changes to create a new variant
- Pack the changes into the plugin, maybe add something to the version 
to mark is as a variant (e.g. 0.0.2-variantA)
- Repeat for all the variants. If you want to make one active again, 
simply restore it via the Backup-tab, the currently active one will be 
backed up by default (if not already)


This way you will also only have 1 variant active at any given time 
(which sounds like a good idea).


As for the creation ($:/-prefix) process: Since plugin tiddlers can have 
interdependencies (and these are usually by title), it can get very 
difficult to near impossible to implement a mechanic that changes the 
tiddlers titles automatically while keeping all the links intact. 
Therefore, when making a plugin, the tiddler titles pretty much have to 
be the final titles. Again the above mentioned edit-mode with the 
sidebar tab might make this process easier.



  * /Plugin title/ appeared clear... until I read /(full
path)/. I suggest using the same technique used in the
standard New Tiddler, i.e add a faint gray
disappear-on-type instruction in the text field saying
perhaps