Re: [tw5] GitHub/GitLab saver and external images - how to?

2021-04-15 Thread Mohammad Rahmani
See the recent talk by Soren on publishing to GitHub
https://groups.google.com/d/msgid/tiddlywiki/836c46ea-f0ef-4ba9-adcc-641019205ca9n%40googlegroups.com?utm_medium=email_source=footer



Best wishes
Mohammad


On Fri, Apr 16, 2021 at 6:15 AM da...@bakins-bits.com 
wrote:

> What's the workflow for adding an external image when using the
> github/gitlab saver?  (And, for GitLab, does the `gitlab-ci.yml` file need
> to change?)
>
> (I'm using the GitLab saver and liking it a _lot_.)
>
> -- David
>
> --
> 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/70dee1ca-bac7-4bab-aedb-5a657cfa0521n%40googlegroups.com
> 
> .
>

-- 
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/CAAV1gMB4EDqAUuXEkgLaS573HGKpnC3x9OFGtWAN7Bz0L6%2BmKg%40mail.gmail.com.


Re: [tw5] Re: Tooltips, Infotips and Tiddlywiki: handling of position and issue with off screen flow

2021-04-15 Thread Mohammad Rahmani
On Fri, Apr 16, 2021 at 2:52 AM Joshua Fontany 
wrote:

> Hi guys,
>

Hi Joshua

>
> There is code in the Mentat plugin (the virtual desktop conversion), which
> hacks the core to handle popups going offscreen. The author even has notes
> in his plugin about possibly merging it into the core. This would very much
> be worth doing, in my opinion.
>
> https://thesherwood.github.io/Mentat/
>
> Repopup
> 
>
>- A quick hack of a plugin that attempts to reposition tiddlywiki
>popups so that they don't run off the screen. It's not perfect and it
>doesn't seem to do much to normal dropdowns. But it's an okay fix until the
>popup mechanism can get a comprehensive overhaul. This plugin has been
>designed with the Volant, Engine, and Mentat Plugins in mind. So if you use
>it for something else, your mileage may vary.
>
> https://github.com/theSherwood/Mentat
>
>
> https://github.com/theSherwood/Mentat/blob/master/src/tiddlers/system/plugins/admls/repopup/startup/repopup.js
>
>
Many thanks for this. I remembered in the past there was some discussion on
popups, but I forgot about Mentat and Volant!
 I will go through it to see how I can use it.

Thank you again!




> I hope to wrap up my server experiments soon, and come back to this. Let
> me know if this is useful.
>
> Best,
> Joshua Fontany
>
> On Thursday, April 15, 2021 at 6:42:27 AM UTC-7 Mohammad wrote:
>
>> Hi Mario,
>>
>> The issue with tooltip in TW is
>>
>> When tooltips are used at the edge of the screen, they go off screen
>> simply. As TW has a responsive layout one cannot determine where a text
>> with tooltip will appear!
>> The problem is more when you use this with mobile browser (e.g Chrome on
>> Android)
>>
>> One use case for me is the Refnotes plugin where it uses
>> tooltips/infotips for notes, citations, etc.
>>
>> I did some googling and I see JS code needs to detect the position of the
>> element with tooltip and then decide how to display the tooltip preventing
>> off screen overflow.
>> I saw popper.js is common!
>>
>> I also found a very small solution here
>> https://medium.com/carwow-product-engineering/building-a-simple-tooltip-component-that-never-goes-off-screen-c7039dcab5f9
>> but I did not know how to use it with TW.
>>
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Thu, Apr 15, 2021 at 5:43 PM PMario  wrote:
>>
>>> On Thursday, April 15, 2021 at 1:13:08 PM UTC+2 Mohammad wrote:
>>>
 Is there any good tool for using tooltip and infotip in Tiddlywiki!
 It seems popper is among the common tools but  I cannot find any
 Tiddlywiki integration!

 url: https://github.com/popperjs/popper-core

>>>
>>> Hi,
>>> There is no TW integration.
>>>
>>> It is 20kByte of minified javascript code, just to create a tooltip? I
>>> personally don't want to carry this as a dependency in the core.
>>> It may be a 3rd-party plugin.
>>>
>>> If you would describe the problems you have with the TW tooltips in more
>>> detail, we may be able to fix this.
>>>
>>> -m
>>>
 --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/8ca93a54-86af-4193-be30-cfb2a2db89d1n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/377d355e-97bb-47b0-862f-3c3a6d028d7bn%40googlegroups.com
> 
> .
>

-- 
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/CAAV1gMBhQpN-sgm%2BL_5fNtAAFR2k4q2XS1bEsG9-Zj5cvNP1qA%40mail.gmail.com.


Re: [tw5] Dynamic Table question for Mohammad

2021-04-15 Thread Mohammad Rahmani
On Fri, Apr 16, 2021 at 3:38 AM History Buff 
wrote:

> Hey Mohammad,


Hi Damon,

>
> Once again, I can't say enough about your dynamic tables. I love them!
>
> I would like to tweak the styling a bit and can't figure out how to get
> what I want. I'm using the tbl-expand feature to see the text area and I'd
> like to style that area differently than the rest of the table. I'd
> specifically like to change the background color to set it off from
> everything else. What is the secret sauce that will allow me to do this?
>

Shiraz Dynamic table is highly modular. In this case you can edit the
$:/plugins/kookma/shiraz/macros/dtables/display-extrecord
For example to have the yellow background hack as below

\define display-extended-record()
>  >

to

\define display-extended-record()
> style="background-color:lightgrey;" >


Best wishes
Mohammad



> Thanks so much in advance!
>
> Damon
>
> --
> 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/989618de-9403-434e-9df7-675bdb2673ean%40googlegroups.com
> 
> .
>

-- 
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/CAAV1gMAFQF--bxkYs6SfkdbDtpaxLFeDw4z6BtCct53hSRUJgA%40mail.gmail.com.


[tw5] GitHub/GitLab saver and external images - how to?

2021-04-15 Thread da...@bakins-bits.com
What's the workflow for adding an external image when using the 
github/gitlab saver?  (And, for GitLab, does the `gitlab-ci.yml` file need 
to change?)

(I'm using the GitLab saver and liking it a _lot_.)

-- David

-- 
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/70dee1ca-bac7-4bab-aedb-5a657cfa0521n%40googlegroups.com.


Re: [tw5] Dynamic tables with dynamic filters (Jed Carty)

2021-04-15 Thread 'Mark S.' via TiddlyWiki
In your examples, is "Improved" supposed to be a tag, or the contents of a 
field? If a field, what field?



On Thursday, April 15, 2021 at 3:20:06 PM UTC-7 jorgez...@gmail.com wrote:

> Many thanks Mark. Yes, they are fields. One idea was to use the title of 
> the tiddler to be the same than one of the fields. This would allow to have 
> a template tiddler that I can then use for different symptoms. I'm sure 
> that there could be other ways of achieving the same, but I'm relatively 
> new at this. Many thanks again for your help!
>
>
> 
>  Virus-free. 
> www.avast.com 
> 
>  
> <#m_6777019513061608067_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Thu, 15 Apr 2021 at 18:36, 'Mark S.' via TiddlyWiki <
> tiddl...@googlegroups.com> wrote:
>
>> Back again. In your examples, what is "duration drug1 dose1 drug2 dose2 
>> drug3 dose3"  ? 
>>
>> Are those fields to be used as column headers ??
>>
>> On Thursday, April 15, 2021 at 10:30:32 AM UTC-7 Mark S. wrote:
>>
>>> You might take a look at 
>>> https://kookma.github.io/TW-Shiraz/#Tutorial%20Dynamic%20Tables which 
>>> is possibly better supported.
>>>
>>> In your filters, you can't use [<<__currentTiddler__>>[Improved]] 
>>>
>>> Inside filters, the syntax drops the angle bracket. Also, <__variable__> 
>>> only works inside of macros, So you need something like this:
>>>
>>> [[Improved]]
>>>
>>> Not saying this will work (I would need to study your set up more), but 
>>> the other definitely won't
>>>
>>>
>>> On Thursday, April 15, 2021 at 9:18:48 AM UTC-7 jorgez...@gmail.com 
>>> wrote:
>>>
 Still no joy here. I've tried the different ideas below to generate a 
 dynamic filter. Any help would be appreciated.
 J
 Discarded ideasUsing tags

 Set macro for tag

 \define symptoms(symptom:'suicial_ideation+') $symptom$

 <>

 These fail:

 <>]]""" """duration drug1 dose1 drug2 
 dose2 drug3 dose3""" true>>
 <>]]""" """duration drug1 dose1 drug2 
 dose2 drug3 dose3""" true>>
 <>>> drug3 dose3""" true>>
 <>>> dose2 drug3 dose3""" true>>

 Using title as variable:

 The following fail:

 <>>> drug2 dose2 drug3 dose3""" true>>
 <>[Improved]]""" """duration drug1 dose1 
 drug2 dose2 drug3 dose3""" true>>
 <>[Improved]]""" """duration drug1 
 dose1 drug2 dose2 drug3 dose3""" true>>

 No apostrophes:
 <>[Improved]]" """duration drug1 dose1 
 drug2 dose2 drug3 dose3""" true>>
 <>[Improved]] """duration drug1 dose1 
 drug2 dose2 drug3 dose3""" true>>

 Math symbols
 <>+'[Improved]']""" """duration 
 drug1 dose1 drug2 dose2 drug3 dose3""" true>>
 <>+[Improved]]""" """duration drug1 
 dose1 drug2 dose2 drug3 dose3""" true>>

 Setting variables:

 <$set name=symptom value=<>>
 <>
 

 <>

 (this works so far)

 Then these fail:

 <>[Improved]]" """duration drug1 dose1 drug2 
 dose2 drug3 dose3""" true>>
 <>[Improved]]" """duration drug1 dose1 drug2 
 dose2 drug3 dose3""" true>>
 <>[Improved]]" """duration drug1 dose1 drug2 
 dose2 drug3 dose3""" true>>
 <>>> dose2 drug3 dose3""" true>>
 <>>> dose2 drug3 dose3""" true>>
 <>>> dose2 drug3 dose3""" true>>

 Setting macros:

 \define symptoms(symptom:<>) $symptom$

 <>

 (works)

 Then they fail like the list above. And also:

 <>]" """duration drug1 dose1 drug2 
 dose2 drug3 dose3""" true>>
 <>>> dose2 drug3 dose3""" true>>
 <>>> dose2 drug3 dose3""" true>>
 <>>> dose2 drug3 dose3""" true>>


 On Tue, 6 Apr 2021 at 22:44, J Z  wrote:

> I'm trying to create a database of drug trials that have helped with 
> various different symptoms. I want to display these as dynamic tables 
> (using Jed Carty's at the moment). 
>
> I want to be able to click on a particular symptom and see the trials 
> that have been helpful, not helpful, and harmful for that particular 
> symptom. 
>
> At the moment, the database is organised by having tiddlers with a 
> title (corresponding to the trial reference) and each with fields that 
> correspond to the various symptoms these trials looked at. Each symptom 
> can 
> have the field value: improved, no change, deteriorated, not measured.
>
> I'm trying to create a template tiddler to generate these tables, but 
> I don't want to create a template for each symptom. At present, it looks 
> like this:
>
> < drug2 dose2 drug3 dose3""" true>>
>
> < drug2 dose2 drug3 dose3""" true>>
>
> < drug2 dose2 drug3 dose3""" true>>
>
> This works, but I would like to change the symptom 

Re: [tw5] Help with Comptext Plugin

2021-04-15 Thread Rika Sukenik
Wonderful, thank you. The plugin saq provides works with Streams. It 
doesn't look like he's updated it from the test version, so I sent him a 
message. 
I checked out Code Mirror, but it's a bit too much for me right now. 
Do you know how to bulk remove all plugin content tiddlers? I disabled the 
CodeMirror plugin, but it would be nice to also remove all of the plugin's 
contents. 

On Wednesday, April 14, 2021 at 1:15:34 PM UTC-7 si wrote:

> Saq created a demo that integrated both plugins here: 
> https://groups.google.com/g/tiddlywiki/c/1jTwdmq8cgI/m/gK1kWvFYBwAJ
>
> I'm not sure if anything has happened with this since.
>
> Here is another plugin that includes a similar auto-complete feature: 
> https://groups.google.com/g/tiddlywiki/c/_61Wvbkph9w/m/iKSDyKq3AAAJ
>
> Maybe it is possible to integrate it with Streams?
> On Wednesday, 14 April 2021 at 21:05:05 UTC+1 rika.s...@gmail.com wrote:
>
>> I just deleted the plugin and re-imported it. I learned some new 
>> information! 
>> Autocomplete works on the page, but not on individual blocks (I'm using 
>> the Streams plugin). It should work on individual blocks too because it 
>> works in this Tiddlywiki, that uses both Streams and the Comptext plugin. 
>> Any ideas on where to go from here? 
>>
>> Best,
>> Rika Sukenik 
>>
>>
>> On Fri, Apr 9, 2021 at 4:11 PM Javier Eduardo Rojas Romero <
>> jero...@devnull.li> wrote:
>>
>>> I've just tested adding that plugin to a brand-new, empty wiki, and
>>> completion works as expected (triggered when I type [[ and then a couple
>>> of characters for the title), in regular tiddlers.
>>>
>>> I did have to install the plugin twice, as if I had fumbled the install
>>> the first time, which I feel I didn't...
>>>
>>> Perhaps you should try again, in an empty wiki?
>>>
>>> On Fri, Apr 09, 2021 at 08:52:11AM -0700, Rika Sukenik wrote:
>>> > I know that Comptext  is 
>>> a 
>>> > popular plugin, so I'm hoping someone can help me troubleshoot. I 
>>> added the 
>>> > plugin to my wiki and also changed the text editor to comptext, but 
>>> > completion mode doesn't work. Here's the kicker: completion mode 
>>> works, but 
>>> > only in the tiddlers that came with the plugin e.g, 
>>> > $:/plugins/snowgoon88/edit-comptext and 
>>> > $:/plugins/snowgoon88/edit-comptext/usage 
>>> > 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+...@googlegroups.com.
>>> > To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/3c824818-c8bc-4bfa-a34b-dc31a5be1c73n%40googlegroups.com
>>> .
>>>
>>> -- 
>>>
>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/tiddlywiki/is8-N_aluJ8/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/YHDe97w6mkcsYUsl%40alamut.home.org
>>> .
>>>
>>

-- 
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/deb188e2-b07b-4115-bad9-f8d8ce8f92c9n%40googlegroups.com.


[tw5] Re: [ Streams ] : feedback and issues

2021-04-15 Thread Rika Sukenik
Hey Saq, the test version works great for me too. Is it safe to use it in 
my wiki permanently, or is there an updated plugin available? 

On Friday, September 18, 2020 at 9:38:40 AM UTC-7 saq.i...@gmail.com wrote:

> *Streams and the Edit-CompText plugin.*
>
> There have been several requests for compatibility between Streams and the 
> Edit-CompText plugin which provides autocompletion for tiddler titles. This 
> requires changes in the autocompletion plugin.
>
> I have a test version which requires feedback.
>
> If you are not already accustomed to the Edit-CompText plugin 
>  and the features it 
> provides, please familiarize yourself with it first before proceeding.
>
> Note that any issues or feedback for the features and behaviour of the 
> Edit-CompText plugin itself should be directed towards its github page. The 
> remit of the changes in this test version is only to enable the same 
> features in Streams as are available via this plugin in editing regular 
> tiddlers, and I will not be making any other changes to the autocomplete 
> plugin.
>
> Please back up your wiki and use this version of the plugin for testing 
> only:
>
> https://saqimtiaz.github.io/sq-tw/streams.html#%24%3A%2Fplugins%2Fsnowgoon88%2Fedit-comptext
>
> I would appreciate feedback on whether the plugin works in Streams as it 
> does when used in regular tiddlers.
>
> Cheers,
> Saq
>

-- 
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/36426237-e20e-4124-acb9-cf1104e21c56n%40googlegroups.com.


[tw5] Dynamic Table question for Mohammad

2021-04-15 Thread History Buff
Hey Mohammad,

Once again, I can't say enough about your dynamic tables. I love them!

I would like to tweak the styling a bit and can't figure out how to get 
what I want. I'm using the tbl-expand feature to see the text area and I'd 
like to style that area differently than the rest of the table. I'd 
specifically like to change the background color to set it off from 
everything else. What is the secret sauce that will allow me to do this?

Thanks so much in advance!

Damon

-- 
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/989618de-9403-434e-9df7-675bdb2673ean%40googlegroups.com.


[tw5] Re: Forms for adding sources: Looking for advice on how to structure the data

2021-04-15 Thread Anjar
Hei Sjaak,

I think a similar approach can be useful;

(1) Make tiddlers with
- title starting with "$:/template",
- a field tiddlertype, for example tiddlertype: book, and
- a field standardtext, for example standardtext: {{||$:/view/book}}

(2) This time, the template contains the form you want to use, for example, 
$:/template/book can contain
|Composer: |<$edit-text field="composer" /> |
|Title: |<$edit-text field="musictitle" /> |
|Genre: |<$select 
field="genre">HorrorPoetryScreenplay
 
|

(3) Make a new tiddler with the content:
\define tiddlername() {{!!tiddlertype}}: <>

<$list filter="[title[$:/temp/edit]!has[text]]">
<$list filter="[prefix[$:/template]]">
<$button>
<$wikify name=newtiddlername text=<> >
<$action-createtiddler $basetitle=<> 
tiddlertype={{!!tiddlertype}} text={{!!standardtext}} />
<$action-setfield $tiddler="$:/temp/edit" text=<> />

Create {{!!tiddlertype}} Tiddler



<$list filter="[title[$:/temp/edit]has[text]get[text]]">
<$tiddler tiddler=<> >
<$set name=edittitle 
filter="[prefix[$:/template]tiddlertype{!!tiddlertype}]">
<$transclude tiddler=<> mode="block"/>


<$button>
<$action-deletetiddler $tiddler="$:/temp/edit"/>
Ok



The latter tiddler will be your interface and new tiddlers are added in the 
background. They will have the standardtext as text, and you edit them 
directly from the interface tiddler using the form from the template tiddler

Best,
Anders

torsdag 15. april 2021 kl. 20:55:29 UTC+2 skrev sjaakad...@ziggo.nl:

> Hi Si,
>
> I have been thinking about an approach like yours but have not implemented 
> anything yet. It seems important to me that some fields may be of a 
> different kind than just text to be entered. Like choosing from a list of 
> options (with f.i. the select widget or radio widget). 
> My 2 cts.
>
> Greetings,
> Sjaak
>
> On Thursday, April 15, 2021 at 4:27:48 PM UTC+2 Anjar wrote:
>
>> Hi Si,
>>
>> Have a look at this post: 
>> https://groups.google.com/g/tiddlywiki/c/Q3vU6tnPffI/m/WNguU1p6BwAJ
>>
>> It's about using premade templates to create new tiddlers; you can of 
>> course add a form if you prefer that, instead of editing the new tiddler 
>> directly
>>
>> Best,
>> Anders
>>
>> torsdag 15. april 2021 kl. 16:06:52 UTC+2 skrev si:
>>
>>> @Springer Thanks for your reply.
>>>
>>> >>> The lovely thing is that you can filter on a tag (or any other 
>>> filter condition), to see a column for each of the fields you care about 
>>> for that tag (or filter condition), with a row for each tiddler that fits 
>>> the condition (and the ability to "clone" new rows into existence).
>>>
>>> How do you tell TiddlyWiki which fields to associate with each 
>>> reference-type? So for example you were to add a tiddler with the tag 
>>> "Book", you would want your table to give you the option to add fields like 
>>> "author", "title" etc. If you had a tiddler tagged "Movie" you might want 
>>> "director", "year" etc. My question is about the best way to associate a 
>>> particular type of source with the particular fields that it requires.
>>> On Wednesday, 14 April 2021 at 21:10:07 UTC+1 springer wrote:
>>>
 Si, I highly recommend checking out all the RefNotes resources (active 
 here recently, contributed by Mohammad). 

 My own approach is to use a DYNAMIC TABLE (Mohammad's Shiraz) for each 
 reference-type. The lovely thing is that you can filter on a tag (or any 
 other filter condition), to see a column for each of the fields you care 
 about for that tag (or filter condition), with a row for each tiddler that 
 fits the condition (and the ability to "clone" new rows into existence). 
 Then you don't have a separate challenge of generating forms. Unless you 
 really want to. ;)

 -Springer
 On Wednesday, April 14, 2021 at 3:03:02 PM UTC-4 si wrote:

> I use TiddlyWiki to manage sources (books, movies etc), and I want to 
> create an easy way to add tiddlers for individual sources.
>
> I have decided to add tiddlers that represent a "source-type", and 
> then use it to generate a form that allows me to enter metadata for a new 
> source. For example I might have a source type "Book", which is used to 
> generate a form like this:
>
> Title: ...
> Author: ...
> Year: ...
>
> While "Movie" might have a form like this:
>
> Title: ...
> Director: ...
> Producer: ...
>
> Obviously I need to associate the required metadata-fields with their 
> source-type. I can think of two ways to do this:
>
>- Add a field to each tiddler type called "required-fields" which 
>lists the required metadata-fields.
>- Create separate tiddlers for each possible metadata-field, then 
>tag them with any source-type that requires them.
>
> It's not obvious to me that there is any functional difference between 
> these two options, but if I make a bad choice it will be difficult to 
> change 

Re: [tw5] Re: Listing non existing tags

2021-04-15 Thread Ray Vermey
Yes!! Thank you!
That gives more than expected, so work to do :-)

Ray

Op do 15 apr. 2021 om 23:26 schreef 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com>:

> I think this should do it:
>
> <>
>
> On Thursday, April 15, 2021 at 2:23:10 PM UTC-7 rayv...@gmail.com wrote:
>
>> Hi all
>>
>> sometimes I tage tiddlers and those tags do not yet exist.
>> Later i want to tag those tags and or describe them.
>> Now I would like to list those undefined tags...
>> I don't see them in Missing
>> So how can i find them??
>>
>> Thanks for helping
>>
>> Ray
>>
> --
> 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/39650d88-a570-455d-acc5-e631a301646dn%40googlegroups.com
> 
> .
>

-- 
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/CAAF_p9Cux0Ujj7w4Jn0Gv4kdMNs95zgUnYdBxS0G%2BwtSUxb7HA%40mail.gmail.com.


Re: [tw5] Re: Tooltips, Infotips and Tiddlywiki: handling of position and issue with off screen flow

2021-04-15 Thread Joshua Fontany
Hi guys,

There is code in the Mentat plugin (the virtual desktop conversion), which 
hacks the core to handle popups going offscreen. The author even has notes 
in his plugin about possibly merging it into the core. This would very much 
be worth doing, in my opinion.

https://thesherwood.github.io/Mentat/

Repopup 

   
   - A quick hack of a plugin that attempts to reposition tiddlywiki popups 
   so that they don't run off the screen. It's not perfect and it doesn't seem 
   to do much to normal dropdowns. But it's an okay fix until the popup 
   mechanism can get a comprehensive overhaul. This plugin has been designed 
   with the Volant, Engine, and Mentat Plugins in mind. So if you use it for 
   something else, your mileage may vary.

https://github.com/theSherwood/Mentat

https://github.com/theSherwood/Mentat/blob/master/src/tiddlers/system/plugins/admls/repopup/startup/repopup.js

I hope to wrap up my server experiments soon, and come back to this. Let me 
know if this is useful.

Best,
Joshua Fontany

On Thursday, April 15, 2021 at 6:42:27 AM UTC-7 Mohammad wrote:

> Hi Mario,
>
> The issue with tooltip in TW is
>
> When tooltips are used at the edge of the screen, they go off screen 
> simply. As TW has a responsive layout one cannot determine where a text 
> with tooltip will appear!
> The problem is more when you use this with mobile browser (e.g Chrome on 
> Android)
>
> One use case for me is the Refnotes plugin where it uses tooltips/infotips 
> for notes, citations, etc.
>
> I did some googling and I see JS code needs to detect the position of the 
> element with tooltip and then decide how to display the tooltip preventing 
> off screen overflow.
> I saw popper.js is common!
>
> I also found a very small solution here 
> https://medium.com/carwow-product-engineering/building-a-simple-tooltip-component-that-never-goes-off-screen-c7039dcab5f9
> but I did not know how to use it with TW.
>
>
>
>
> Best wishes
> Mohammad
>
>
> On Thu, Apr 15, 2021 at 5:43 PM PMario  wrote:
>
>> On Thursday, April 15, 2021 at 1:13:08 PM UTC+2 Mohammad wrote:
>>
>>> Is there any good tool for using tooltip and infotip in Tiddlywiki!
>>> It seems popper is among the common tools but  I cannot find any 
>>> Tiddlywiki integration!
>>>
>>> url: https://github.com/popperjs/popper-core
>>>
>>
>> Hi, 
>> There is no TW integration. 
>>
>> It is 20kByte of minified javascript code, just to create a tooltip? I 
>> personally don't want to carry this as a dependency in the core. 
>> It may be a 3rd-party plugin.
>>
>> If you would describe the problems you have with the TW tooltips in more 
>> detail, we may be able to fix this.
>>
>> -m
>>
>>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/8ca93a54-86af-4193-be30-cfb2a2db89d1n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/377d355e-97bb-47b0-862f-3c3a6d028d7bn%40googlegroups.com.


Re: [tw5] Dynamic tables with dynamic filters (Jed Carty)

2021-04-15 Thread J Z
Many thanks Mark. Yes, they are fields. One idea was to use the title of
the tiddler to be the same than one of the fields. This would allow to have
a template tiddler that I can then use for different symptoms. I'm sure
that there could be other ways of achieving the same, but I'm relatively
new at this. Many thanks again for your help!


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Thu, 15 Apr 2021 at 18:36, 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Back again. In your examples, what is "duration drug1 dose1 drug2 dose2
> drug3 dose3"  ?
>
> Are those fields to be used as column headers ??
>
> On Thursday, April 15, 2021 at 10:30:32 AM UTC-7 Mark S. wrote:
>
>> You might take a look at
>> https://kookma.github.io/TW-Shiraz/#Tutorial%20Dynamic%20Tables which is
>> possibly better supported.
>>
>> In your filters, you can't use [<<__currentTiddler__>>[Improved]]
>>
>> Inside filters, the syntax drops the angle bracket. Also, <__variable__>
>> only works inside of macros, So you need something like this:
>>
>> [[Improved]]
>>
>> Not saying this will work (I would need to study your set up more), but
>> the other definitely won't
>>
>>
>> On Thursday, April 15, 2021 at 9:18:48 AM UTC-7 jorgez...@gmail.com
>> wrote:
>>
>>> Still no joy here. I've tried the different ideas below to generate a
>>> dynamic filter. Any help would be appreciated.
>>> J
>>> Discarded ideasUsing tags
>>>
>>> Set macro for tag
>>>
>>> \define symptoms(symptom:'suicial_ideation+') $symptom$
>>>
>>> <>
>>>
>>> These fail:
>>>
>>> <>]]""" """duration drug1 dose1 drug2 
>>> dose2 drug3 dose3""" true>>
>>> <>]]""" """duration drug1 dose1 drug2 dose2 
>>> drug3 dose3""" true>>
>>> <>> drug3 dose3""" true>>
>>> <>> drug3 dose3""" true>>
>>>
>>> Using title as variable:
>>>
>>> The following fail:
>>>
>>> <>> drug2 dose2 drug3 dose3""" true>>
>>> <>[Improved]]""" """duration drug1 dose1 
>>> drug2 dose2 drug3 dose3""" true>>
>>> <>[Improved]]""" """duration drug1 
>>> dose1 drug2 dose2 drug3 dose3""" true>>
>>>
>>> No apostrophes:
>>> <>[Improved]]" """duration drug1 dose1 
>>> drug2 dose2 drug3 dose3""" true>>
>>> <>[Improved]] """duration drug1 dose1 
>>> drug2 dose2 drug3 dose3""" true>>
>>>
>>> Math symbols
>>> <>+'[Improved]']""" """duration drug1 
>>> dose1 drug2 dose2 drug3 dose3""" true>>
>>> <>+[Improved]]""" """duration drug1 
>>> dose1 drug2 dose2 drug3 dose3""" true>>
>>>
>>> Setting variables:
>>>
>>> <$set name=symptom value=<>>
>>> <>
>>> 
>>>
>>> <>
>>>
>>> (this works so far)
>>>
>>> Then these fail:
>>>
>>> <>[Improved]]" """duration drug1 dose1 drug2 dose2 
>>> drug3 dose3""" true>>
>>> <>[Improved]]" """duration drug1 dose1 drug2 
>>> dose2 drug3 dose3""" true>>
>>> <>[Improved]]" """duration drug1 dose1 drug2 
>>> dose2 drug3 dose3""" true>>
>>> <>> dose2 drug3 dose3""" true>>
>>> <>> dose2 drug3 dose3""" true>>
>>> <>> drug3 dose3""" true>>
>>>
>>> Setting macros:
>>>
>>> \define symptoms(symptom:<>) $symptom$
>>>
>>> <>
>>>
>>> (works)
>>>
>>> Then they fail like the list above. And also:
>>>
>>> <>]" """duration drug1 dose1 drug2 
>>> dose2 drug3 dose3""" true>>
>>> <>> dose2 drug3 dose3""" true>>
>>> <>> dose2 drug3 dose3""" true>>
>>> <>> dose2 drug3 dose3""" true>>
>>>
>>>
>>> On Tue, 6 Apr 2021 at 22:44, J Z  wrote:
>>>
 I'm trying to create a database of drug trials that have helped with
 various different symptoms. I want to display these as dynamic tables
 (using Jed Carty's at the moment).

 I want to be able to click on a particular symptom and see the trials
 that have been helpful, not helpful, and harmful for that particular
 symptom.

 At the moment, the database is organised by having tiddlers with a
 title (corresponding to the trial reference) and each with fields that
 correspond to the various symptoms these trials looked at. Each symptom can
 have the field value: improved, no change, deteriorated, not measured.

 I'm trying to create a template tiddler to generate these tables, but I
 don't want to create a template for each symptom. At present, it looks like
 this:

 <>>> drug2 dose2 drug3 dose3""" true>>

 <>>> drug2 dose2 drug3 dose3""" true>>

 <>>> drug2 dose2 drug3 dose3""" true>>

 This works, but I would like to change the symptom (depression) to
 something dynamic. I thought of using the title of the tiddler, but

 <[no change]]""" """duration drug1
 dose1 drug2 dose2 drug3 dose3""" true>>

 doesn't work. I've tried various different syntax variations without
 success.

 Any help would be much appreciated. The resulting website will be free
 and hopefully of use for people with mental health problems. Many thanks!

[tw5] Re: Listing non existing tags

2021-04-15 Thread 'Mark S.' via TiddlyWiki
I think this should do it:

<>

On Thursday, April 15, 2021 at 2:23:10 PM UTC-7 rayv...@gmail.com wrote:

> Hi all
>
> sometimes I tage tiddlers and those tags do not yet exist.
> Later i want to tag those tags and or describe them.
> Now I would like to list those undefined tags...
> I don't see them in Missing
> So how can i find them??
>
> Thanks for helping
>
> Ray
>

-- 
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/39650d88-a570-455d-acc5-e631a301646dn%40googlegroups.com.


[tw5] Listing non existing tags

2021-04-15 Thread Ray Vermey
Hi all

sometimes I tage tiddlers and those tags do not yet exist.
Later i want to tag those tags and or describe them.
Now I would like to list those undefined tags...
I don't see them in Missing
So how can i find them??

Thanks for helping

Ray

-- 
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/a646ec97-7eb1-4f4c-81f7-d306882adf99n%40googlegroups.com.


[tw5] Re: Prepend string to field value in filter list - How?

2021-04-15 Thread Matt Livingston
On Friday, 16 April 2021 at 12:29:17 am UTC+10 Eric Shulman wrote:

> On Thursday, April 15, 2021 at 7:07:52 AM UTC-7 blub...@gmail.com wrote:
>
>> I have a bunch of tiddlers named like "file name with spaces.pdf", 
>> matching a bunch of files in the Papers/ directory.
>> I want to set the _canonical_uri field equal to "Papers/file name with 
>> spaces.pdf"
>>
> ...I can't seem to prepend the "Papers/" part of the path onto the 
>> filename.
>>
>  
> You can use an "inline filter" (aka, "filtered transclusion"), like this:
> <$action-setfield _canonical_uri={{{ [addprefix[Papers/]] 
> }}}/>
>
> enjoy,
> -e  
>
 
Thanks Eric.  That's exactly what I was looking for.

-- 
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/6f49729f-6418-4fe0-a030-77ce26ad9416n%40googlegroups.com.


[tw5] Clone new tidler with unique tag

2021-04-15 Thread paulgilbert2000

Hi All

I am trying to establish a parent child relation ship between an existing 
tiddler and a newly created tiddler , my rationale is giving both of them a 
unique tag derived from the title would make them bound by this unique tag 
value

i have no coding experiencing and i am basically scavenging for and 
existing sample that does this exact same thing.

all i really want is to be able to create a child tiddler from an existing 
tiddler ,in the same fashion of a task subtask kind of relation ship you 
would find in software like JIRA for example



so what i need exactly is a button on a given tiddler which when activated 
would do the following

1-Clone the existing tiddler
2-Create a new Tag and add it to both the existing tiddler and also to the 
newly created tiddler , The tag value should be the same as the title of 
the existing tiddler
3-it would be also great if the newly created tiddler would retain the tags 
, the clone button , but not any other  content of the original tiddler

so basically after hitting the button 

Tiddler 1 with tags a,b and c would then have an extra tag with value " 
tiddler 1"

and newly created Tiddler 2 would have the same tags a,b,c and the new tag 
derived from the title" tiddler 1" and the clone button 



i have this , which creates a new tiddler , but doesn't clone it , also it 
only adds the tag to the newly created tiddler and not the original one as 
well ..

so how can i add to this code to clone the tiddler and also add a tag value 
derived from the title to both the existing tiddler and the newly cloned 
one , and if possible make the button carry over to the newly created 
tiddler without the reset of the content

\define tagme() [[$(tagx)$]]
<$set name=tagx value={{!!title}}>
<$button>
<$action-sendmessage $message="tm-new-tiddler"tags=<> text=/>
New Tiddler





-- 
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/8b03ec7e-9e34-4067-8ac1-3adf6a503e15n%40googlegroups.com.


[tw5] Re: Forms for adding sources: Looking for advice on how to structure the data

2021-04-15 Thread sjaakad...@ziggo.nl
Hi Si,

I have been thinking about an approach like yours but have not implemented 
anything yet. It seems important to me that some fields may be of a 
different kind than just text to be entered. Like choosing from a list of 
options (with f.i. the select widget or radio widget). 
My 2 cts.

Greetings,
Sjaak

On Thursday, April 15, 2021 at 4:27:48 PM UTC+2 Anjar wrote:

> Hi Si,
>
> Have a look at this post: 
> https://groups.google.com/g/tiddlywiki/c/Q3vU6tnPffI/m/WNguU1p6BwAJ
>
> It's about using premade templates to create new tiddlers; you can of 
> course add a form if you prefer that, instead of editing the new tiddler 
> directly
>
> Best,
> Anders
>
> torsdag 15. april 2021 kl. 16:06:52 UTC+2 skrev si:
>
>> @Springer Thanks for your reply.
>>
>> >>> The lovely thing is that you can filter on a tag (or any other filter 
>> condition), to see a column for each of the fields you care about for that 
>> tag (or filter condition), with a row for each tiddler that fits the 
>> condition (and the ability to "clone" new rows into existence).
>>
>> How do you tell TiddlyWiki which fields to associate with each 
>> reference-type? So for example you were to add a tiddler with the tag 
>> "Book", you would want your table to give you the option to add fields like 
>> "author", "title" etc. If you had a tiddler tagged "Movie" you might want 
>> "director", "year" etc. My question is about the best way to associate a 
>> particular type of source with the particular fields that it requires.
>> On Wednesday, 14 April 2021 at 21:10:07 UTC+1 springer wrote:
>>
>>> Si, I highly recommend checking out all the RefNotes resources (active 
>>> here recently, contributed by Mohammad). 
>>>
>>> My own approach is to use a DYNAMIC TABLE (Mohammad's Shiraz) for each 
>>> reference-type. The lovely thing is that you can filter on a tag (or any 
>>> other filter condition), to see a column for each of the fields you care 
>>> about for that tag (or filter condition), with a row for each tiddler that 
>>> fits the condition (and the ability to "clone" new rows into existence). 
>>> Then you don't have a separate challenge of generating forms. Unless you 
>>> really want to. ;)
>>>
>>> -Springer
>>> On Wednesday, April 14, 2021 at 3:03:02 PM UTC-4 si wrote:
>>>
 I use TiddlyWiki to manage sources (books, movies etc), and I want to 
 create an easy way to add tiddlers for individual sources.

 I have decided to add tiddlers that represent a "source-type", and then 
 use it to generate a form that allows me to enter metadata for a new 
 source. For example I might have a source type "Book", which is used to 
 generate a form like this:

 Title: ...
 Author: ...
 Year: ...

 While "Movie" might have a form like this:

 Title: ...
 Director: ...
 Producer: ...

 Obviously I need to associate the required metadata-fields with their 
 source-type. I can think of two ways to do this:

- Add a field to each tiddler type called "required-fields" which 
lists the required metadata-fields.
- Create separate tiddlers for each possible metadata-field, then 
tag them with any source-type that requires them.

 It's not obvious to me that there is any functional difference between 
 these two options, but if I make a bad choice it will be difficult to 
 change down the line. So my question is: *Is there a reason that one 
 of these approaches is better than the other?*

 Thanks in advance for you 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f61b4c8d-33e4-4f10-ade1-7e5191024b19n%40googlegroups.com.


[tw5] Re: A tour through my Zettelkasten

2021-04-15 Thread dieg...@gmail.com
Soren,

You've done it again! I think this is wonderful. I especially liked the 
end, a tour into your Zet philosophy! This should be shared on the 
Tiddlywiki twitter and main site! 

On Wednesday, April 14, 2021 at 10:15:49 PM UTC-5 Soren Bjornstad wrote:

> For those who have been interested in my public Zettelkasten wiki 
>  in the past (or might be 
> interested in it now), I've just put up an extensive discussion of 
> Zettelkasten and how I've implemented it in my TiddlyWiki on my YouTube 
> channel:
>
> https://www.youtube.com/watch?v=GjpjE5pMZMI
>
> Here are the segments if you're curious:
>
> *About Zettelkasten:*
> 0:00 Welcome and introduction
> 1:00 Public and private versions of my Zettelkasten
> 2:08 What is a Zettelkasten?
> 4:16 What idea tiddlers look like and how we navigate through them
> 6:28 Implementation evolves with the content
>
> *Organizing my Zettelkasten and relating ideas:*
> 7:06 Why I use CamelCase names
> 8:12 Expressing relationships by linking
> 9:40 Expressing memberships by tagging
> 10:07 Tags serve in many roles – topics/indexes, publicity level, lists, 
> types, pseudo-types, and maintenance
> 15:42 Index tiddlers provide overviews of a topic area
> 17:33 Transclusion can combine with the ‘description’ field to create 
> overviews
> 18:42 Why I don’t use tags for all overviews
> 19:28 Stretchtext creates interactive, expandable overviews
> 20:42 Subtiddlers aggregate tightly coupled content
> 23:58 Bibliographies aggregate related sources
> 25:38 The Write tab highlights fruitful areas for further work (stubs, 
> missing, needing attention, needing excision, to-dos, open questions)
> 29:58 The Reference Explorer shows related tiddlers (backlinks and forward 
> links) in a concise table
> 34:48 Graph theory and Zettelkästen; link graph
> 37:11 Types of tiddlers; why I include non-idea tiddlers, unlike classic 
> Zettelkasten
>
> *Plugins and custom TiddlyWiki logic:*
> 41:04 Interesting TiddlyWiki plugins I use
> 47:17 Publishing only part of a TiddlyWiki (public/private switch): 
> Marking tiddlers
> 49:05 Public/private: The PrivateChunk
> 51:28 Public/private: The build process (shell script)
> 54:18 Custom copy-title and permalink buttons
> 55:38 GIS (mapping) support for places
> 57:55 The missing-tiddler helper
> 58:36 Quick reading-list import by pasting a URL
> 59:30 Reading inbox
> 1:00:15 Simple Analytics and raw markup snippets
> 1:01:05 Sorting tags by color and putting them in columns
>
> *Philosophy:*
> 1:03:01 Just get started and then continuously improve
> 1:05:20 The Three-Links Heuristic for determining whether ideas are 
> effectively linked together
> 1:07:02 A Zettelkasten never walks backwards: consistency doesn’t matter 
> that much
> 1:08:56 Why I default to open and publish my Zettelkasten
> 1:11:25 Polyspecialize your Zettelkasten, include variety
> 1:13:34 Prioritize; you won’t have time to write about everything
> 1:14:55 Using the flexibility and user-programmability of TiddlyWiki to 
> your advantage
>
>

-- 
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/16544083-026c-404c-8444-76ede8728a5en%40googlegroups.com.


[tw5] Re: Richlnk

2021-04-15 Thread Mat
What system you on? It works for me on Win10 Chrome+FF.

<:-)

On Thursday, April 15, 2021 at 5:38:22 PM UTC+2 Ste wrote:

> Just got a few mins to add a few more bookmarks, but then got sidetracked, 
> obviously, bye richlink by Mat!
>
> I never could get the richlink I-Frame to work...it's the only one which 
> doesn't have demo!
> I'm sure I'm just being slow, but anyone any insight?  Mat?
>
> http://richlinks.tiddlyspot.com/
>
> Ste
>

-- 
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/cd94af39-d30b-4468-ae61-8b1a1077baf6n%40googlegroups.com.


Re: [tw5] Dynamic tables with dynamic filters (Jed Carty)

2021-04-15 Thread 'Mark S.' via TiddlyWiki
Back again. In your examples, what is "duration drug1 dose1 drug2 dose2 
drug3 dose3"  ? 

Are those fields to be used as column headers ??

On Thursday, April 15, 2021 at 10:30:32 AM UTC-7 Mark S. wrote:

> You might take a look at 
> https://kookma.github.io/TW-Shiraz/#Tutorial%20Dynamic%20Tables which is 
> possibly better supported.
>
> In your filters, you can't use [<<__currentTiddler__>>[Improved]] 
>
> Inside filters, the syntax drops the angle bracket. Also, <__variable__> 
> only works inside of macros, So you need something like this:
>
> [[Improved]]
>
> Not saying this will work (I would need to study your set up more), but 
> the other definitely won't
>
>
> On Thursday, April 15, 2021 at 9:18:48 AM UTC-7 jorgez...@gmail.com wrote:
>
>> Still no joy here. I've tried the different ideas below to generate a 
>> dynamic filter. Any help would be appreciated.
>> J
>> Discarded ideasUsing tags
>>
>> Set macro for tag
>>
>> \define symptoms(symptom:'suicial_ideation+') $symptom$
>>
>> <>
>>
>> These fail:
>>
>> <>]]""" """duration drug1 dose1 drug2 
>> dose2 drug3 dose3""" true>>
>> <>]]""" """duration drug1 dose1 drug2 dose2 
>> drug3 dose3""" true>>
>> <> drug3 dose3""" true>>
>> <> drug3 dose3""" true>>
>>
>> Using title as variable:
>>
>> The following fail:
>>
>> <> dose2 drug3 dose3""" true>>
>> <>[Improved]]""" """duration drug1 dose1 
>> drug2 dose2 drug3 dose3""" true>>
>> <>[Improved]]""" """duration drug1 
>> dose1 drug2 dose2 drug3 dose3""" true>>
>>
>> No apostrophes:
>> <>[Improved]]" """duration drug1 dose1 
>> drug2 dose2 drug3 dose3""" true>>
>> <>[Improved]] """duration drug1 dose1 
>> drug2 dose2 drug3 dose3""" true>>
>>
>> Math symbols
>> <>+'[Improved]']""" """duration drug1 
>> dose1 drug2 dose2 drug3 dose3""" true>>
>> <>+[Improved]]""" """duration drug1 
>> dose1 drug2 dose2 drug3 dose3""" true>>
>>
>> Setting variables:
>>
>> <$set name=symptom value=<>>
>> <>
>> 
>>
>> <>
>>
>> (this works so far)
>>
>> Then these fail:
>>
>> <>[Improved]]" """duration drug1 dose1 drug2 dose2 
>> drug3 dose3""" true>>
>> <>[Improved]]" """duration drug1 dose1 drug2 
>> dose2 drug3 dose3""" true>>
>> <>[Improved]]" """duration drug1 dose1 drug2 
>> dose2 drug3 dose3""" true>>
>> <> dose2 drug3 dose3""" true>>
>> <> dose2 drug3 dose3""" true>>
>> <> drug3 dose3""" true>>
>>
>> Setting macros:
>>
>> \define symptoms(symptom:<>) $symptom$
>>
>> <>
>>
>> (works)
>>
>> Then they fail like the list above. And also:
>>
>> <>]" """duration drug1 dose1 drug2 
>> dose2 drug3 dose3""" true>>
>> <> drug3 dose3""" true>>
>> <> dose2 drug3 dose3""" true>>
>> <> dose2 drug3 dose3""" true>>
>>
>>
>> On Tue, 6 Apr 2021 at 22:44, J Z  wrote:
>>
>>> I'm trying to create a database of drug trials that have helped with 
>>> various different symptoms. I want to display these as dynamic tables 
>>> (using Jed Carty's at the moment). 
>>>
>>> I want to be able to click on a particular symptom and see the trials 
>>> that have been helpful, not helpful, and harmful for that particular 
>>> symptom. 
>>>
>>> At the moment, the database is organised by having tiddlers with a title 
>>> (corresponding to the trial reference) and each with fields that correspond 
>>> to the various symptoms these trials looked at. Each symptom can have the 
>>> field value: improved, no change, deteriorated, not measured.
>>>
>>> I'm trying to create a template tiddler to generate these tables, but I 
>>> don't want to create a template for each symptom. At present, it looks like 
>>> this:
>>>
>>> <>> dose2 drug3 dose3""" true>>
>>>
>>> <>> drug2 dose2 drug3 dose3""" true>>
>>>
>>> <>> drug2 dose2 drug3 dose3""" true>>
>>>
>>> This works, but I would like to change the symptom (depression) to 
>>> something dynamic. I thought of using the title of the tiddler, but
>>>
>>> <[no change]]""" """duration drug1 
>>> dose1 drug2 dose2 drug3 dose3""" true>>
>>>
>>> doesn't work. I've tried various different syntax variations without 
>>> success. 
>>>
>>> Any help would be much appreciated. The resulting website will be free 
>>> and hopefully of use for people with mental health problems. Many thanks!
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/tiddlywiki/lotJQdnUMSk/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/908eff40-e687-48e4-8cf4-bd7acf02f7cdn%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

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

Re: [tw5] Dynamic tables with dynamic filters (Jed Carty)

2021-04-15 Thread 'Mark S.' via TiddlyWiki
You might take a look 
at https://kookma.github.io/TW-Shiraz/#Tutorial%20Dynamic%20Tables which is 
possibly better supported.

In your filters, you can't use [<<__currentTiddler__>>[Improved]] 

Inside filters, the syntax drops the angle bracket. Also, <__variable__> 
only works inside of macros, So you need something like this:

[[Improved]]

Not saying this will work (I would need to study your set up more), but the 
other definitely won't


On Thursday, April 15, 2021 at 9:18:48 AM UTC-7 jorgez...@gmail.com wrote:

> Still no joy here. I've tried the different ideas below to generate a 
> dynamic filter. Any help would be appreciated.
> J
> Discarded ideasUsing tags
>
> Set macro for tag
>
> \define symptoms(symptom:'suicial_ideation+') $symptom$
>
> <>
>
> These fail:
>
> <>]]""" """duration drug1 dose1 drug2 
> dose2 drug3 dose3""" true>>
> <>]]""" """duration drug1 dose1 drug2 dose2 
> drug3 dose3""" true>>
> < drug3 dose3""" true>>
> < drug3 dose3""" true>>
>
> Using title as variable:
>
> The following fail:
>
> < dose2 drug3 dose3""" true>>
> <>[Improved]]""" """duration drug1 dose1 
> drug2 dose2 drug3 dose3""" true>>
> <>[Improved]]""" """duration drug1 
> dose1 drug2 dose2 drug3 dose3""" true>>
>
> No apostrophes:
> <>[Improved]]" """duration drug1 dose1 
> drug2 dose2 drug3 dose3""" true>>
> <>[Improved]] """duration drug1 dose1 
> drug2 dose2 drug3 dose3""" true>>
>
> Math symbols
> <>+'[Improved]']""" """duration drug1 
> dose1 drug2 dose2 drug3 dose3""" true>>
> <>+[Improved]]""" """duration drug1 
> dose1 drug2 dose2 drug3 dose3""" true>>
>
> Setting variables:
>
> <$set name=symptom value=<>>
> <>
> 
>
> <>
>
> (this works so far)
>
> Then these fail:
>
> <>[Improved]]" """duration drug1 dose1 drug2 dose2 
> drug3 dose3""" true>>
> <>[Improved]]" """duration drug1 dose1 drug2 dose2 
> drug3 dose3""" true>>
> <>[Improved]]" """duration drug1 dose1 drug2 
> dose2 drug3 dose3""" true>>
> < dose2 drug3 dose3""" true>>
> < drug3 dose3""" true>>
> < drug3 dose3""" true>>
>
> Setting macros:
>
> \define symptoms(symptom:<>) $symptom$
>
> <>
>
> (works)
>
> Then they fail like the list above. And also:
>
> <>]" """duration drug1 dose1 drug2 
> dose2 drug3 dose3""" true>>
> < drug3 dose3""" true>>
> < dose2 drug3 dose3""" true>>
> < dose2 drug3 dose3""" true>>
>
>
> On Tue, 6 Apr 2021 at 22:44, J Z  wrote:
>
>> I'm trying to create a database of drug trials that have helped with 
>> various different symptoms. I want to display these as dynamic tables 
>> (using Jed Carty's at the moment). 
>>
>> I want to be able to click on a particular symptom and see the trials 
>> that have been helpful, not helpful, and harmful for that particular 
>> symptom. 
>>
>> At the moment, the database is organised by having tiddlers with a title 
>> (corresponding to the trial reference) and each with fields that correspond 
>> to the various symptoms these trials looked at. Each symptom can have the 
>> field value: improved, no change, deteriorated, not measured.
>>
>> I'm trying to create a template tiddler to generate these tables, but I 
>> don't want to create a template for each symptom. At present, it looks like 
>> this:
>>
>> <> dose2 drug3 dose3""" true>>
>>
>> <> dose2 drug3 dose3""" true>>
>>
>> <> drug2 dose2 drug3 dose3""" true>>
>>
>> This works, but I would like to change the symptom (depression) to 
>> something dynamic. I thought of using the title of the tiddler, but
>>
>> <[no change]]""" """duration drug1 dose1 
>> drug2 dose2 drug3 dose3""" true>>
>>
>> doesn't work. I've tried various different syntax variations without 
>> success. 
>>
>> Any help would be much appreciated. The resulting website will be free 
>> and hopefully of use for people with mental health problems. Many thanks!
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/lotJQdnUMSk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/908eff40-e687-48e4-8cf4-bd7acf02f7cdn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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/ad65203f-6bd0-4747-bce1-9260ead0b7c7n%40googlegroups.com.


Re: [tw5] Dynamic tables with dynamic filters (Jed Carty)

2021-04-15 Thread J Z
Still no joy here. I've tried the different ideas below to generate a
dynamic filter. Any help would be appreciated.
J
Discarded ideasUsing tags

Set macro for tag

\define symptoms(symptom:'suicial_ideation+') $symptom$

<>

These fail:

<>]]""" """duration drug1 dose1
drug2 dose2 drug3 dose3""" true>>
<>]]""" """duration drug1 dose1 drug2
dose2 drug3 dose3""" true>>
<>
<>

Using title as variable:

The following fail:

<>
<>[Improved]]""" """duration drug1
dose1 drug2 dose2 drug3 dose3""" true>>
<>[Improved]]""" """duration
drug1 dose1 drug2 dose2 drug3 dose3""" true>>

No apostrophes:
<>[Improved]]" """duration drug1
dose1 drug2 dose2 drug3 dose3""" true>>
<>[Improved]] """duration drug1
dose1 drug2 dose2 drug3 dose3""" true>>

Math symbols
<>+'[Improved]']""" """duration
drug1 dose1 drug2 dose2 drug3 dose3""" true>>
<>+[Improved]]""" """duration
drug1 dose1 drug2 dose2 drug3 dose3""" true>>

Setting variables:

<$set name=symptom value=<>>
<>


<>

(this works so far)

Then these fail:

<>[Improved]]" """duration drug1 dose1 drug2
dose2 drug3 dose3""" true>>
<>[Improved]]" """duration drug1 dose1
drug2 dose2 drug3 dose3""" true>>
<>[Improved]]" """duration drug1 dose1
drug2 dose2 drug3 dose3""" true>>
<>
<>
<>

Setting macros:

\define symptoms(symptom:<>) $symptom$

<>

(works)

Then they fail like the list above. And also:

<>]" """duration drug1 dose1
drug2 dose2 drug3 dose3""" true>>
<>
<>
<>


On Tue, 6 Apr 2021 at 22:44, J Z  wrote:

> I'm trying to create a database of drug trials that have helped with
> various different symptoms. I want to display these as dynamic tables
> (using Jed Carty's at the moment).
>
> I want to be able to click on a particular symptom and see the trials that
> have been helpful, not helpful, and harmful for that particular symptom.
>
> At the moment, the database is organised by having tiddlers with a title
> (corresponding to the trial reference) and each with fields that correspond
> to the various symptoms these trials looked at. Each symptom can have the
> field value: improved, no change, deteriorated, not measured.
>
> I'm trying to create a template tiddler to generate these tables, but I
> don't want to create a template for each symptom. At present, it looks like
> this:
>
> < dose2 drug3 dose3""" true>>
>
> < dose2 drug3 dose3""" true>>
>
> < drug2 dose2 drug3 dose3""" true>>
>
> This works, but I would like to change the symptom (depression) to
> something dynamic. I thought of using the title of the tiddler, but
>
> <[no change]]""" """duration drug1 dose1
> drug2 dose2 drug3 dose3""" true>>
>
> doesn't work. I've tried various different syntax variations without
> success.
>
> Any help would be much appreciated. The resulting website will be free and
> hopefully of use for people with mental health problems. Many thanks!
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/lotJQdnUMSk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/908eff40-e687-48e4-8cf4-bd7acf02f7cdn%40googlegroups.com
> 
> .
>

-- 
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/CA%2Bix7dRgh_Qg81bacs7i%3DfwVjM9QiVauYsxpzHL_sX5MG0x8BA%40mail.gmail.com.


[tw5] Richlnk

2021-04-15 Thread Ste
Just got a few mins to add a few more bookmarks, but then got sidetracked, 
obviously, bye richlink by Mat!

I never could get the richlink I-Frame to work...it's the only one which 
doesn't have demo!
I'm sure I'm just being slow, but anyone any insight?  Mat?

http://richlinks.tiddlyspot.com/

Ste

-- 
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/1081a1db-ecfa-4d14-88a1-e1c82873n%40googlegroups.com.


[tw5] Re: The case against in TW?

2021-04-15 Thread Hubert
Hi Saq,

Thanks for sharing your take on this, I appreciate it.

The inputActions parameter sounds interesting. Sounds like it will save me 
a button click in certain scenarios :) Thanks for bringing this up.

Regards,
-Hubert

On Tuesday, 13 April 2021 at 14:57:20 UTC+1 saq.i...@gmail.com wrote:

> Note that the <$edit-text> widget can be used in this form: 
>
> <$edit-text tag="input" type="date" tiddler="test">
>
> The user interface however is widely inconsistent across browsers. Also, 
> if you want to save dates in the same format that TW uses for the modified 
> and created field, you will run into shortcomings for converting the TW 
> format date string into something the browser can understand as a date. 
> Using a button to display the date in an <$edit-text> widget after applying 
> a filter is a potential workaround. Saving it back in the correct format is 
> easily resolved with the inputActions parameter to <$edit-text>. 
>
> I am all for minimal solutions but I cannot recommend this approach due 
> the poor cross browser user experience.
>
>
>
>
>

-- 
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/a6818ede-315c-4fdb-9ec8-1cc326ea7e89n%40googlegroups.com.


[tw5] Re: Prepend string to field value in filter list - How?

2021-04-15 Thread Eric Shulman
On Thursday, April 15, 2021 at 7:07:52 AM UTC-7 blub...@gmail.com wrote:

> I have a bunch of tiddlers named like "file name with spaces.pdf", 
> matching a bunch of files in the Papers/ directory.
> I want to set the _canonical_uri field equal to "Papers/file name with 
> spaces.pdf"
> ...I can't seem to prepend the "Papers/" part of the path onto the 
> filename.
>
 
You can use an "inline filter" (aka, "filtered transclusion"), like this:
<$action-setfield _canonical_uri={{{ [addprefix[Papers/]] 
}}}/>

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0e7e7baa-3107-4042-8ab5-2d0e9b9cbb29n%40googlegroups.com.


[tw5] Re: Forms for adding sources: Looking for advice on how to structure the data

2021-04-15 Thread Anjar
Hi Si,

Have a look at this post: 
https://groups.google.com/g/tiddlywiki/c/Q3vU6tnPffI/m/WNguU1p6BwAJ

It's about using premade templates to create new tiddlers; you can of 
course add a form if you prefer that, instead of editing the new tiddler 
directly

Best,
Anders

torsdag 15. april 2021 kl. 16:06:52 UTC+2 skrev si:

> @Springer Thanks for your reply.
>
> >>> The lovely thing is that you can filter on a tag (or any other filter 
> condition), to see a column for each of the fields you care about for that 
> tag (or filter condition), with a row for each tiddler that fits the 
> condition (and the ability to "clone" new rows into existence).
>
> How do you tell TiddlyWiki which fields to associate with each 
> reference-type? So for example you were to add a tiddler with the tag 
> "Book", you would want your table to give you the option to add fields like 
> "author", "title" etc. If you had a tiddler tagged "Movie" you might want 
> "director", "year" etc. My question is about the best way to associate a 
> particular type of source with the particular fields that it requires.
> On Wednesday, 14 April 2021 at 21:10:07 UTC+1 springer wrote:
>
>> Si, I highly recommend checking out all the RefNotes resources (active 
>> here recently, contributed by Mohammad). 
>>
>> My own approach is to use a DYNAMIC TABLE (Mohammad's Shiraz) for each 
>> reference-type. The lovely thing is that you can filter on a tag (or any 
>> other filter condition), to see a column for each of the fields you care 
>> about for that tag (or filter condition), with a row for each tiddler that 
>> fits the condition (and the ability to "clone" new rows into existence). 
>> Then you don't have a separate challenge of generating forms. Unless you 
>> really want to. ;)
>>
>> -Springer
>> On Wednesday, April 14, 2021 at 3:03:02 PM UTC-4 si wrote:
>>
>>> I use TiddlyWiki to manage sources (books, movies etc), and I want to 
>>> create an easy way to add tiddlers for individual sources.
>>>
>>> I have decided to add tiddlers that represent a "source-type", and then 
>>> use it to generate a form that allows me to enter metadata for a new 
>>> source. For example I might have a source type "Book", which is used to 
>>> generate a form like this:
>>>
>>> Title: ...
>>> Author: ...
>>> Year: ...
>>>
>>> While "Movie" might have a form like this:
>>>
>>> Title: ...
>>> Director: ...
>>> Producer: ...
>>>
>>> Obviously I need to associate the required metadata-fields with their 
>>> source-type. I can think of two ways to do this:
>>>
>>>- Add a field to each tiddler type called "required-fields" which 
>>>lists the required metadata-fields.
>>>- Create separate tiddlers for each possible metadata-field, then 
>>>tag them with any source-type that requires them.
>>>
>>> It's not obvious to me that there is any functional difference between 
>>> these two options, but if I make a bad choice it will be difficult to 
>>> change down the line. So my question is: *Is there a reason that one of 
>>> these approaches is better than the other?*
>>>
>>> Thanks in advance for you 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b28d442d-c285-4fce-b8f8-5ad267d7b8e7n%40googlegroups.com.


[tw5] Google Analytics Plugin and G-Analytics by Sycom

2021-04-15 Thread Ste
Question 1.
I'm trying to get Google Analytics going on a wiki and just filling in the 
G-BLAH code in the plugin box doesn't seem to do anything.

Neither does copying the tag code from the analytics site and dropping it 
in a $:\tags\Rawmarkup tiddler to get it into the header.

Am I missing something (Probably) or has Google tweaked and broken 
something? (It all seems a lot more complicated google side)

Question 2.
Did the extra bits from Sycom's plugin get integrated into the official one 
so google can track tiddler views?

-- 
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/8ce19c1c-c640-4100-a1ce-1daa1dde25ddn%40googlegroups.com.


[tw5] Prepend string to field value in filter list - How?

2021-04-15 Thread Matt Livingston
Hi all,

I have a bunch of tiddlers named like "file name with spaces.pdf", matching 
a bunch of files in the Papers/ directory.
I want to set the _canonical_uri field equal to "Papers/file name with 
spaces.pdf"

Being a TW noob, I'm sure there's something I'm missing, but for the life 
of me I can't seem to prepend the "Papers/" part of the path onto the 
filename.  I can get the tiddler title into the field without the path, but 
whatever I do* to prepend "Papers/" winds up either not transcluding 
{{!!title}} or not prepending the path . 

Here's what I have, which very nicely does only half of what I want what I 
want (uses the tiddler name)
---
<$list filter="[type[application/pdf]]">

<$button>
<$action-setfield $field="_canonical_uri" $value={{!!title}}/>
Update
 
<$link/>


---

I've tried: 
  creating a <> macro, 
  using <$set name="thing" value="Papers/{{!!title}}"/>
  quoting the entire string
  not quoting anything
  quoting the path, but not the transcludifier

None of these worked.

Can someone help please?



Cheers,

Matt L.

-- 
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/4d309267-94ef-4549-9aec-f6ea670b2894n%40googlegroups.com.


[tw5] Re: Forms for adding sources: Looking for advice on how to structure the data

2021-04-15 Thread si
@Springer Thanks for your reply.

>>> The lovely thing is that you can filter on a tag (or any other filter 
condition), to see a column for each of the fields you care about for that 
tag (or filter condition), with a row for each tiddler that fits the 
condition (and the ability to "clone" new rows into existence).

How do you tell TiddlyWiki which fields to associate with each 
reference-type? So for example you were to add a tiddler with the tag 
"Book", you would want your table to give you the option to add fields like 
"author", "title" etc. If you had a tiddler tagged "Movie" you might want 
"director", "year" etc. My question is about the best way to associate a 
particular type of source with the particular fields that it requires.
On Wednesday, 14 April 2021 at 21:10:07 UTC+1 springer wrote:

> Si, I highly recommend checking out all the RefNotes resources (active 
> here recently, contributed by Mohammad). 
>
> My own approach is to use a DYNAMIC TABLE (Mohammad's Shiraz) for each 
> reference-type. The lovely thing is that you can filter on a tag (or any 
> other filter condition), to see a column for each of the fields you care 
> about for that tag (or filter condition), with a row for each tiddler that 
> fits the condition (and the ability to "clone" new rows into existence). 
> Then you don't have a separate challenge of generating forms. Unless you 
> really want to. ;)
>
> -Springer
> On Wednesday, April 14, 2021 at 3:03:02 PM UTC-4 si wrote:
>
>> I use TiddlyWiki to manage sources (books, movies etc), and I want to 
>> create an easy way to add tiddlers for individual sources.
>>
>> I have decided to add tiddlers that represent a "source-type", and then 
>> use it to generate a form that allows me to enter metadata for a new 
>> source. For example I might have a source type "Book", which is used to 
>> generate a form like this:
>>
>> Title: ...
>> Author: ...
>> Year: ...
>>
>> While "Movie" might have a form like this:
>>
>> Title: ...
>> Director: ...
>> Producer: ...
>>
>> Obviously I need to associate the required metadata-fields with their 
>> source-type. I can think of two ways to do this:
>>
>>- Add a field to each tiddler type called "required-fields" which 
>>lists the required metadata-fields.
>>- Create separate tiddlers for each possible metadata-field, then tag 
>>them with any source-type that requires them.
>>
>> It's not obvious to me that there is any functional difference between 
>> these two options, but if I make a bad choice it will be difficult to 
>> change down the line. So my question is: *Is there a reason that one of 
>> these approaches is better than the other?*
>>
>> Thanks in advance for you 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/26356c8a-3237-470e-9a4c-0a9873d37111n%40googlegroups.com.


Re: [tw5] Re: Tooltips, Infotips and Tiddlywiki: handling of position and issue with off screen flow

2021-04-15 Thread Mohammad Rahmani
Hi Mario,

The issue with tooltip in TW is

When tooltips are used at the edge of the screen, they go off screen
simply. As TW has a responsive layout one cannot determine where a text
with tooltip will appear!
The problem is more when you use this with mobile browser (e.g Chrome on
Android)

One use case for me is the Refnotes plugin where it uses tooltips/infotips
for notes, citations, etc.

I did some googling and I see JS code needs to detect the position of the
element with tooltip and then decide how to display the tooltip preventing
off screen overflow.
I saw popper.js is common!

I also found a very small solution here
https://medium.com/carwow-product-engineering/building-a-simple-tooltip-component-that-never-goes-off-screen-c7039dcab5f9
but I did not know how to use it with TW.




Best wishes
Mohammad


On Thu, Apr 15, 2021 at 5:43 PM PMario  wrote:

> On Thursday, April 15, 2021 at 1:13:08 PM UTC+2 Mohammad wrote:
>
>> Is there any good tool for using tooltip and infotip in Tiddlywiki!
>> It seems popper is among the common tools but  I cannot find any
>> Tiddlywiki integration!
>>
>> url: https://github.com/popperjs/popper-core
>>
>
> Hi,
> There is no TW integration.
>
> It is 20kByte of minified javascript code, just to create a tooltip? I
> personally don't want to carry this as a dependency in the core.
> It may be a 3rd-party plugin.
>
> If you would describe the problems you have with the TW tooltips in more
> detail, we may be able to fix this.
>
> -m
>
>> --
> 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/8ca93a54-86af-4193-be30-cfb2a2db89d1n%40googlegroups.com
> 
> .
>

-- 
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/CAAV1gMAyKBhz5jZ9jCFbNYKMDuQ41rkzoQ6BdW-jNMV12npayg%40mail.gmail.com.


[tw5] Re: A tour through my Zettelkasten

2021-04-15 Thread PMario
Hi Soren, 
Very nice work. .. The only thing I saw, which wasn't nice, where the 
scrollbars.

You may have a look at the 
https://wikilabs.github.io/editions/thin-scrollbars/ plugin. It's mainly a 
little bit of CSS. 
So you can copy it [1], or include the plugin [2]. 

have fun!
mario
[1] 
https://wikilabs.github.io/editions/thin-scrollbars/#%24%3A%2Fplugins%2Fwikilabs%2Fthin-scrollbars%2Fstyles
[2] How to include the plugin library configuration 
https://wikilabs.github.io/#GettingStarted

-- 
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/94e915f4-0cd9-4009-aa7d-b5cfbff4179en%40googlegroups.com.


[tw5] Re: Tooltips, Infotips and Tiddlywiki: handling of position and issue with off screen flow

2021-04-15 Thread PMario

On Thursday, April 15, 2021 at 1:13:08 PM UTC+2 Mohammad wrote:

> Is there any good tool for using tooltip and infotip in Tiddlywiki!
> It seems popper is among the common tools but  I cannot find any 
> Tiddlywiki integration!
>
> url: https://github.com/popperjs/popper-core
>

Hi, 
There is no TW integration. 

It is 20kByte of minified javascript code, just to create a tooltip? I 
personally don't want to carry this as a dependency in the core. 
It may be a 3rd-party plugin.

If you would describe the problems you have with the TW tooltips in more 
detail, we may be able to fix this.

-m

>

-- 
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/8ca93a54-86af-4193-be30-cfb2a2db89d1n%40googlegroups.com.


Re: [tw5] A tour through my Zettelkasten

2021-04-15 Thread Mohammad Rahmani
Hi Soren,
 Thank you for clarification!

I watched the video given +1.

It has a lot to learn for the way one can use Tiddlywiki for information
management!

The minimal design, uniformity and consistency is highly appreciated!
One thing I like very much is, how the current design of Tiddlywiki can be
used effectively!

It may be useful to let users download an empty version. I may recommend to
use Flibbles Uglify plugin to minimize the empty-Zettelkasten.html for
distribution.


Best wishes
Mohammad


On Thu, Apr 15, 2021 at 4:32 PM Soren Bjornstad 
wrote:

> On Wednesday, April 14, 2021 at 11:36:17 PM UTC-5 Mohammad wrote:
>
>>
>> Hi Soren,
>>  Very impressive project and one really can learn alot both from
>> Tiddlywiki point of view and also knowledge/information management.
>>   While I always have to change the pallet to something lighter (I cannot
>> read some text or find some icons due to low contrast for me = this is
>> partially because of issues in the official palette),
>>
>
> Yeah, this is definitely an issue with many of the official palettes
> (though I've seen issues with some of the light ones too). The only things
> I can't read clearly the way I have it set up are the modified date, which
> I barely ever use, and body text expanded within the reference explorer,
> which I only look at for a few seconds at a time, so I'm pretty happy with
> this overall.
>
>
>> 23:58 Bibliographies aggregate related sources
>>>
>>
>> You know Refnotes! There we use the Bibtex plus APA7. The benefit is you
>> can import Bibliography for different sources and there is no need to enter
>> them manually (error prone, tedious)
>> ViewTemplates can be used as you did, and one can decide what to show and
>> how to show fields.
>>
>> While I think bibliography on the web and hypertext media can be totally
>> different, do you think sticking to some standards is better or not?
>> I do not have a specific opinion here and I want to see what is the best
>> solution!
>>
>
> I haven't used the ref-management part of Refnotes. I don't think it would
> work with the framework I've set up from what I can see because I want
> sources to be first-class citizens with their own tiddlers. I don't usually
> do inline citations because I tend to paraphrase and generalize quite a bit
> (though there are exceptions). And while I like BibTeX, I don't think I
> read enough articles from sources that provide bibliography downloads to
> make it more efficient than entering the couple of fields I care about
> myself.
>
> Still, thanks for the reminder about this plugin -- I've found the
> footnotes very useful in the past and I could see that bibliography
> mechanism being helpful in the future.
>
>
>> 25:38 The Write tab highlights fruitful areas for further work (stubs,
>>> missing, needing attention, needing excision, to-dos, open questions)
>>> 29:58 The Reference Explorer shows related tiddlers (backlinks and
>>> forward links) in a concise table
>>>
>>
>> Wonderful! While I think not all tiddlers need that! I saw it can be
>> customized
>>
>
> Curious – what tiddlers do you think don't need a link summary?
>
> --
> 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/56770607-6adf-42b5-bf01-74ec46ea6bd0n%40googlegroups.com
> 
> .
>

-- 
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/CAAV1gMBPg%3DpJGKRvBiT2TO%2BKjCjvEKPXjmg%2Bcb7GBvOfipmOsw%40mail.gmail.com.


Re: [tw5] A tour through my Zettelkasten

2021-04-15 Thread Soren Bjornstad
On Wednesday, April 14, 2021 at 11:36:17 PM UTC-5 Mohammad wrote:

>
> Hi Soren,
>  Very impressive project and one really can learn alot both from 
> Tiddlywiki point of view and also knowledge/information management.
>   While I always have to change the pallet to something lighter (I cannot 
> read some text or find some icons due to low contrast for me = this is 
> partially because of issues in the official palette),
>

Yeah, this is definitely an issue with many of the official palettes 
(though I've seen issues with some of the light ones too). The only things 
I can't read clearly the way I have it set up are the modified date, which 
I barely ever use, and body text expanded within the reference explorer, 
which I only look at for a few seconds at a time, so I'm pretty happy with 
this overall.
 

> 23:58 Bibliographies aggregate related sources
>>
>
> You know Refnotes! There we use the Bibtex plus APA7. The benefit is you 
> can import Bibliography for different sources and there is no need to enter 
> them manually (error prone, tedious)
> ViewTemplates can be used as you did, and one can decide what to show and 
> how to show fields.
>
> While I think bibliography on the web and hypertext media can be totally 
> different, do you think sticking to some standards is better or not?
> I do not have a specific opinion here and I want to see what is the best 
> solution!
>

I haven't used the ref-management part of Refnotes. I don't think it would 
work with the framework I've set up from what I can see because I want 
sources to be first-class citizens with their own tiddlers. I don't usually 
do inline citations because I tend to paraphrase and generalize quite a bit 
(though there are exceptions). And while I like BibTeX, I don't think I 
read enough articles from sources that provide bibliography downloads to 
make it more efficient than entering the couple of fields I care about 
myself.

Still, thanks for the reminder about this plugin -- I've found the 
footnotes very useful in the past and I could see that bibliography 
mechanism being helpful in the future.
 

> 25:38 The Write tab highlights fruitful areas for further work (stubs, 
>> missing, needing attention, needing excision, to-dos, open questions)
>> 29:58 The Reference Explorer shows related tiddlers (backlinks and 
>> forward links) in a concise table
>>
>
> Wonderful! While I think not all tiddlers need that! I saw it can be 
> customized
>

Curious – what tiddlers do you think don't need a link summary?

-- 
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/56770607-6adf-42b5-bf01-74ec46ea6bd0n%40googlegroups.com.


[tw5] Tooltips, Infotips and Tiddlywiki: handling of position and issue with off screen flow

2021-04-15 Thread Mohammad Rahmani
Is there any good tool for using tooltip and infotip in Tiddlywiki!
It seems popper is among the common tools but  I cannot find any Tiddlywiki
integration!

url: https://github.com/popperjs/popper-core

I use ballon.css and it is great in Tiddlywiki, but it cannot handle
tooltip in responsive mode and when tooltip goes offscreen.


What do you propose for better handling of tooltip in Tiddlywiki (also on
mobile browser)?
Is there any plugin, tools for using popper.js in tiddlywiki? If not, it
possible to integrate poppers?



Best wishes
Mohammad

-- 
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/CAAV1gMAy4fKSt1QA2FbFHqHTby_4isHR8iqG-_iJ1CsMBp-QRg%40mail.gmail.com.