[tw5] Re: How to make checkboxes persistant in a table.

2019-07-10 Thread TonyM
Sapphireslinger

The sideBar by definition does not have the currentTiddler value set. 
Either you can set it in that tiddler with the tiddlerWidget or when using 
a list to list tiddlers. 

Either that or you use tiddler= in the checkbox and other widgets where 
relevant.

Regards
Tony

On Thursday, July 11, 2019 at 3:15:01 PM UTC+10, Sapphireslinger wrote:
>
> Thank you so much, Mark S.! It worked! I have the table in a tiddler 
> titled "Checkbox Table Journal" which is transcluded in my Habits tiddler 
> thus:
>
>
> <$transclude tiddler="Checkbox Table Journal" mode="block"/>
>
>
> I can check a box in this Journal table with the "Habits" tiddler unopened 
> (in view mode) but showing in the story river, then save and close my whole 
> TiddlyWiki, then reopen it and the box stays checked.
>
>
> HOWEVER, when I click on my Sidebar tab labeled "Habits" and the content 
> of my "Habits" tiddler drops down, I can see all my transcluded tables but 
> they show as blank with no boxes checked, even while they show as checked 
> in the unopened tiddler in the story river.
>
>
> Furthermore, when I check a box in the Journal table showing in this tab 
> drop-down state and then save my whole TiddlyWiki the box does not remain 
> checked.
>
>
> Would you know why this is so?
>
>

-- 
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/93a135c5-7d9d-4094-a8ab-a7fd81968afd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to make checkboxes persistant in a table.

2019-07-10 Thread Sapphireslinger
Thank you so much, Mark S.! It worked! I have the table in a tiddler titled 
"Checkbox Table Journal" which is transcluded in my Habits tiddler thus:


<$transclude tiddler="Checkbox Table Journal" mode="block"/>


I can check a box in this Journal table with the "Habits" tiddler unopened (in 
view mode) but showing in the story river, then save and close my whole 
TiddlyWiki, then reopen it and the box stays checked.


HOWEVER, when I click on my Sidebar tab labeled "Habits" and the content of my 
"Habits" tiddler drops down, I can see all my transcluded tables but they show 
as blank with no boxes checked, even while they show as checked in the unopened 
tiddler in the story river.


Furthermore, when I check a box in the Journal table showing in this tab 
drop-down state and then save my whole TiddlyWiki the box does not remain 
checked.


Would you know why this is so?

-- 
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/cdfb5262-6d89-4168-9d77-c4e591f830df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to make checkboxes persistant in a table.

2019-07-10 Thread Sapphireslinger
Thank you so much, Mark S.! It worked! I have the table in a tiddler titled 
"Checkbox Table Journal" which is transcluded in my Habits tiddler thus:

<$transclude tiddler="Checkbox Table Journal" mode="block"/>

I can check a box in this Journal table with the "Habits" tiddler unopened (in 
view mode) but showing in the story river, then save and close my whole 
TiddlyWiki, then reopen it and the box stays checked. 

HOWEVER, when I click on my Sidebar tab labeled "Habits" and the content of my 
"Habits" tiddler drops down, I can see all my transcluded tables but they show 
as blank with no boxes checked, even while they show as checked in the unopened 
tiddler in the story river.

Furthermore, when I check a box in the Journal table showing in this tab 
drop-down state and then save my whole TiddlyWiki the box does not remain 
checked. 

Would you know why this is so? 

-- 
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/8caf0174-b6e6-4047-9cf3-d5822ca8d8ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: an issue pop(s)up

2019-07-10 Thread BurningTreeC
Hi Stephan,

the problem is that the buttons in tiddlywiki allow setting a popup in a 
field, but the popup mechanism expects the popup-coordinates being stored 
in a tiddler's text field

in your case the popup mechanism tries to delete the tiddler "
$:/SamplePopupState!!editmode"

that's an edge-case which is not handled correctly ...

for you that means that you should avoid using the state reference (!!) for 
the popup

Am Mittwoch, 10. Juli 2019 20:57:26 UTC+2 schrieb Stephan Hradek:
>
>
>
> Am Mittwoch, 10. Juli 2019 10:32:18 UTC+2 schrieb Jeremy Ruston:
>>
>> You can work around it by using a text reference for the reveal widget 
>> instead of separate title and field attributes.
>>
>
> Not quite, as the popup does not go away when clicking outside. 
>

-- 
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/ef8ea975-8366-4700-8009-625a9f02a26c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: New release: Locator 1.2.0 (search by tags, ToC showing related tags)

2019-07-10 Thread Mohammad
Great job bimlas!
I do star your repo on GitHub!

Keep going on

Best
Mohammad

On Monday, July 8, 2019 at 3:24:18 PM UTC+4:30, bimlas wrote:
>
> Dear all,
>
> I'm launching 1.2.0 version of the Locator plugin (discover and search by 
> related tags).
>
> * Add button to create new tiddler in current context
> * Ability to use additional filter on tags
>
> https://bimlas.gitlab.io/tw5-locator/ (please star on 
> https://github.com/bimlas/tw5-locator if you like it)
>
> Add button to create new tiddler in current context: For example, on the 
> demo page you are browsing Larry's cookbook and looking for bread-related 
> breakfast. You realize that the new recipe that you were looking for was 
> not written, so you have to create the tiddler. To avoid having to enter 
> the tags separately, you can use the Locator to pre-tag the tiddler.
>
>
> [image: vivaldi_2019-07-08_12-49-31.png]
>
>

-- 
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/fc083bcc-e29a-41ec-8567-7774eb890fb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to make checkboxes persistant in a table.

2019-07-10 Thread 'Mark S.' via TiddlyWiki
Use the checkbox widget (https://tiddlywiki.com/#CheckboxWidget) and, 
perhaps, set each box to a field in your tiddler. Something like:

<$checkbox field="w1-a" checked="done" unchecked="undone"/> ... 
<$checkbox field="w1-b" checked="done" unchecked="undone"/>

etc.

The problem with this approach is that you will have to constantly add more 
fields as the weeks progress.

A different structure might put one week's worth of values in a single 
tiddler. Then use a list widget to loop and create your checkbox table. 
Then whenever
you need to create a new week, just clone an old one and reset the field 
values.

Good luck!


On Wednesday, July 10, 2019 at 8:36:16 PM UTC-7, Sapphireslinger wrote:
>
> I am trying to make a checkbox table to keep track of a habit. I really 
> like that I can check a checkbox without opening the tiddler. (That way I 
> can click on my sidebar tab marked "Habits" and go down through the list of 
> transcluded tables checking off habits without opening a single  tiddler.) 
> However the checkboxes refuse to stay checked. What am I doing wrong? Here 
> is my example table:
>
> | JOURNAL |<|<|<|<|<|<|<|h
> |W1||| type="checkbox">||| type="checkbox">||
> |W2||| type="checkbox">||| type="checkbox">||
> |W3||| type="checkbox">||| type="checkbox">||
> |W4||| type="checkbox">||| type="checkbox">||
> |W5||| type="checkbox">||| type="checkbox">||
>

-- 
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/df3f9618-5561-4c13-827f-ddd7e2fcea72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to make checkboxes persistant in a table.

2019-07-10 Thread Sapphireslinger
I am trying to make a checkbox table to keep track of a habit. I really like 
that I can check a checkbox without opening the tiddler. (That way I can click 
on my sidebar tab marked "Habits" and go down through the list of transcluded 
tables checking off habits without opening a single  tiddler.) However the 
checkboxes refuse to stay checked. What am I doing wrong? Here is my example 
table:

| JOURNAL |<|<|<|<|<|<|<|h
|W1
|W2
|W3
|W4
|W5

-- 
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/5652b5f7-9888-4821-9eb1-2b98b369a4ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread Mohammad
Watt,
 Thank you for your feedback!
As I know both edit and delete button are available on system and plugin 
tiddlers!
I will elaborate to see if I can do this! But for myself when developing 
plugins there are such system tiddler I like to move to trashbin!

Lets see

Cheers
Mohammad

On Wednesday, July 10, 2019 at 10:59:26 PM UTC+4:30, Watt wrote:
>
> No the trashbin button also appears on system tiddlers. For example I can 
> send $:/core to the trashbin. 
> I could delete $:/core using the existing, traditional, delete button as 
> well I suppose, but it's marginally harder to do on a phone. Just a 'heads 
> up' in case it wasn't what you intended.

-- 
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/f6fe8022-8036-4d6c-9dc6-fc4b41874c1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Error in View tiddler object template selection

2019-07-10 Thread TonyM
*Solved*

The cause of all my grief is the text
''object-template: 

did not close the quotes.

Arh

Tony

On Thursday, July 11, 2019 at 12:52:06 PM UTC+10, TonyM wrote:
>
> Folks,
>
> The following is in a tiddler tagged $:/tags/ViewTemplate
>
> Some may want to use it, it selects a view template according to an 
> object-type field on a tiddler. Change the prefixes to suite your own use
>
> *However:*
>
> I can not determine why it is always displaying at the bottom of each 
> tiddler, displayed using the template;
>
> ? 
>
> I would be grateful if anyone can identify the cause, most likely in this 
> below WikiText because it happens if the template is empty, simple or 
> complex.
>
> <$list filter="[is[current]!is[system]has[object-type]get[object-type]]" 
> variable="object-type">
>   <$set name=object-template value={{{ 
> [addprefix[$:/PSaT/templates/objects/]] 
> }}} >
>   <$set name=object-view-template value={{{ [
> addprefix[$:/PSaT/templates/viewtemplate/]] }}} >
>   ''object-view-template:'' <> 
> ''object-template: <>
>   <$transclude tiddler=<> mode=block/>
>   ?
>  [[Edit View template|$:/PSaT/viewtemplate]]
>
> Note:
>
>- $:/PSaT/WRRef/templates/objects refers to a template for creating 
>new objects like the current one
>- $:/PSaT/templates/viewtemplate/ refers to the template used to 
>display tiddler of the object-type
>
> Thanks in Advance
> Tony
>

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


[tw5] Re: Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread Mohammad
Hello Tony,
Thank you for your feedback and support.

Feel free to modify and reshare trashbin or create a pro version with 
another name!
I really appreciate to have your contribution and I always learn more 
things for such contribution.

Cheers
Mohammad 

On Thursday, July 11, 2019 at 3:47:03 AM UTC+4:30, TonyM wrote:
>
> Mohammad,
>
> looks nice and very neat as always with your work. Thanks so much for your 
> ongoing contributions.
>
> Do you realise you could clone your plugin and change the icons to provide 
> a way to take other tiddlers offline or what I like to call nearline.
>
For example as a designer I may have macros or test data installed as I 
> build the wiki and as I finish designing I can take these tiddlers offline 
> and when I am ready remove them altogether. Such a near line tiddlers could 
> also be designed to be preloaded and made utility tiddlers or components 
> made online as needed
>

Yes, this is great idea I have the same problem at design phase and beta 
release.

 

> A slightly modified version could act like a one off tiddler backup of say 
> a complex macro tiddler before you make changes.
>
> I suppose the question is should I feed these ideas and requirements to 
> you or build my own from your code and share back?
>

Please go ahead and kindly share your result
 

> Thanks again for great work Mohammad.
>

I always enjoy your neat and innovative idea and comments in this forum! 

> Tont
>
>

-- 
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/f92d43cb-770f-41f8-b49e-6c19400d41ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread Mohammad
Hi Tony,
 I like your idea! I will add this to the next beta 2 release.

Cheers
Mohammad

On Thursday, July 11, 2019 at 4:07:53 AM UTC+4:30, TonyM wrote:
>
> Mohammad,
>
> FYI I just modified the last paragraph in as an experiment. Note I 
> reverted to using currentTiddler then transcluded
>
> {{||$:/plugins/kookma/trashbin/viewtoolbar-button}}
>
> To add the restore button to each item in the sidebar trashbin
>
> 
> <$list filter="[tag[trash]search:title[$:/trashbin/]]" emptyMessage="Trash 
> bin is empty">
> <$link to=<> ><$text text={{{ 
> [removeprefix[$:/trashbin/]] 
> }}} /> {{||$:/plugins/kookma/trashbin/viewtoolbar-button}} 
> 
> 
>
>
> Use if you wish
>
> Regards
> Tony
>
> On Thursday, July 11, 2019 at 2:06:28 AM UTC+10, Mohammad wrote:
>>
>> *Announcement: Trashbin Plugin*
>>
>> *Date: July 10, 2019*
>> *Release: 0.1 beta*
>>
>>
>>
>> Following to previous discussion on Trash bin idea, please find below the 
>> beta release of *Trashbin plugin*
>>
>> Trashbin implements the trash application and provide a temporary space 
>> to keep deleted tiddlers and restore them on demand or delete them from 
>> trashbin forever.
>>
>>
>> I highly appreciate to receive your feedback, comments and idea
>>
>>
>> Demo: https://kookma.github.io/TW-Trashbin/
>> Code: https://github.com/kookma/TW-Trashbin
>>
>> 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 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/c1813c74-0752-41a4-a151-d6bfee1db501%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Error in View tiddler object template selection

2019-07-10 Thread TonyM
Folks,

The following is in a tiddler tagged $:/tags/ViewTemplate

Some may want to use it, it selects a view template according to an 
object-type field on a tiddler. Change the prefixes to suite your own use

*However:*

I can not determine why it is always displaying at the bottom of each 
tiddler, displayed using the template;

? 

I would be grateful if anyone can identify the cause, most likely in this 
below WikiText because it happens if the template is empty, simple or 
complex.

<$list filter="[is[current]!is[system]has[object-type]get[object-type]]" 
variable="object-type">
  <$set name=object-template value={{{ 
[addprefix[$:/PSaT/templates/objects/]] 
}}} >
  <$set name=object-view-template value={{{ [
addprefix[$:/PSaT/templates/viewtemplate/]] }}} >
  ''object-view-template:'' <> ''object-template: 
<>
  <$transclude tiddler=<> mode=block/>
  ?
 [[Edit View template|$:/PSaT/viewtemplate]]

Note:

   - $:/PSaT/WRRef/templates/objects refers to a template for creating new 
   objects like the current one
   - $:/PSaT/templates/viewtemplate/ refers to the template used to display 
   tiddler of the object-type
   
Thanks in Advance
Tony

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


[tw5] Re: Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread TonyM
Mohammad,

FYI I just modified the last paragraph in as an experiment. Note I reverted 
to using currentTiddler then transcluded

{{||$:/plugins/kookma/trashbin/viewtoolbar-button}}

To add the restore button to each item in the sidebar trashbin


<$list filter="[tag[trash]search:title[$:/trashbin/]]" emptyMessage="Trash 
bin is empty">
<$link to=<> ><$text text={{{ 
[removeprefix[$:/trashbin/]] 
}}} /> {{||$:/plugins/kookma/trashbin/viewtoolbar-button}} 




Use if you wish

Regards
Tony

On Thursday, July 11, 2019 at 2:06:28 AM UTC+10, Mohammad wrote:
>
> *Announcement: Trashbin Plugin*
>
> *Date: July 10, 2019*
> *Release: 0.1 beta*
>
>
>
> Following to previous discussion on Trash bin idea, please find below the 
> beta release of *Trashbin plugin*
>
> Trashbin implements the trash application and provide a temporary space to 
> keep deleted tiddlers and restore them on demand or delete them from 
> trashbin forever.
>
>
> I highly appreciate to receive your feedback, comments and idea
>
>
> Demo: https://kookma.github.io/TW-Trashbin/
> Code: https://github.com/kookma/TW-Trashbin
>
> 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 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/3c3d4eea-0dbd-4252-ab95-e8c00290694a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread TonyM
Mohammad,

Another thing I would like to see eventually is to be able to "copy" or 
"Move" a set selected tiddlers to a json tiddler that can itself be a 
tiddler bundle and can be dragged and dropped into another wiki, or 
exported as a file.

This would be a way to archive and export tiddlers like completed tasks and 
superseded references.

This is somewhat beyond the scope of your current trashbin but the 
techniques for that could also be used by trashbin.

Regards
Tony


On Thursday, July 11, 2019 at 9:17:03 AM UTC+10, TonyM wrote:
>
> Mohammad,
>
> looks nice and very neat as always with your work. Thanks so much for your 
> ongoing contributions.
>
> Do you realise you could clone your plugin and change the icons to provide 
> a way to take other tiddlers offline or what I like to call nearline.
>
> For example as a designer I may have macros or test data installed as I 
> build the wiki and as I finish designing I can take these tiddlers offline 
> and when I am ready remove them altogether. Such a near line tiddlers could 
> also be designed to be preloaded and made utility tiddlers or components 
> made online as needed
>
> A slightly modified version could act like a one off tiddler backup of say 
> a complex macro tiddler before you make changes.
>
> I suppose the question is should I feed these ideas and requirements to 
> you or build my own from your code and share back?
>
> Thanks again for great work Mohammad.
> Tont
>
>

-- 
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/9fa07c63-2b33-432c-b843-f0ce72b5d8ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread TonyM
Mohammad,

looks nice and very neat as always with your work. Thanks so much for your 
ongoing contributions.

Do you realise you could clone your plugin and change the icons to provide a 
way to take other tiddlers offline or what I like to call nearline.

For example as a designer I may have macros or test data installed as I build 
the wiki and as I finish designing I can take these tiddlers offline and when I 
am ready remove them altogether. Such a near line tiddlers could also be 
designed to be preloaded and made utility tiddlers or components made online as 
needed

A slightly modified version could act like a one off tiddler backup of say a 
complex macro tiddler before you make changes.

I suppose the question is should I feed these ideas and requirements to you or 
build my own from your code and share back?

Thanks again for great work Mohammad.
Tont

-- 
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/07a58359-9ca8-4f4b-bd77-9f78f2ec5bf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Filtering on "subtags"

2019-07-10 Thread Steven Schneider
Yes! (with one small correction: needed another ] on the first $list line).

Thanks, Mat. (And thanks Jeremy; I'll look at your solution next :)

On Tuesday, July 9, 2019 at 1:00:15 PM UTC-4, Mat wrote:
>
> Maybe
>
> <$set name=current value=<>>
> <$list filter="[is[current]tags[]tag[parent]]" variable=parent>
> <$list filter="[tag]">
> This is a child
> 
> 
> 
>
> <:-)
>

-- 
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/223493d3-80d4-4d06-bbd2-53de9ebf74e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filter using tags

2019-07-10 Thread Patrick Gorman
That worked. Thank you very much, Mark!

On Tuesday, July 9, 2019 at 8:34:02 PM UTC-4, Mark S. wrote:
>
> The problem is that you have a separate list widget for every possibility. 
> You can include more than one filter run in a filter expression (look for 
> "filter run" on TiddlyWiki.com).
>
> Here's how you combine two of your tags:
>
> <$list filter="[is[current]tag[ImgDoug]] [is[current]tag[ImgGrey]]">
> [[Back to My Cats|My Cats]]
>
> 
>
> You could repeat for all the tags for which you want to go back to "My 
> Cats". Note that the filter expression
> will collapse the output of the filter runs into just one unique set. 
> Sometimes this is a problem, but in this case it's
> what you want.
>
> Good luck!
>
> On Tuesday, July 9, 2019 at 4:34:40 PM UTC-7, Patrick Gorman wrote:
>>
>> Hi, I'm Patrick...I'm a student of Magenta Ann's design write studio 
>> class. She told me to post this question on here so I can get used to using 
>> this group...
>>
>> I'm trying to link back to a tiddler based on tags, but I only want the 
>> link to appear once. If there are multiple tags on one tiddler that would 
>> cause a link back to the My Cats tiddler, I only want the link to appear 
>> once. 
>>
>> Also, is it possible to put more than one tag in a list filter?
>>
>> http://pgfinalproject.tiddlyspot.com/
>>
>> <$list filter="[is[current]tag[ImgDoug]]">
>> [[Back to My Cats|My Cats]]
>>
>> 
>>
>> Please be gentle, I'm still learning.
>>
>

-- 
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/774b798a-e1c9-4086-a5d7-ab6d350d8dff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: fields operator and macro parameter

2019-07-10 Thread Watt
Thanks again Mohammad, I tweaked it a bit to get the values to show;

<$text text={{{ [<__tid__>get] }}} />

I replaced getindex with just get. (For the benefit of future readers.)

Great stuff 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 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/bd86fc85-2194-480f-aeab-3d790f461a33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: an issue pop(s)up

2019-07-10 Thread Stephan Hradek


Am Mittwoch, 10. Juli 2019 10:32:18 UTC+2 schrieb Jeremy Ruston:
>
> You can work around it by using a text reference for the reveal widget 
> instead of separate title and field attributes.
>

Not quite, as the popup does not go away when clicking outside. 

-- 
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/d00faced-f7f7-412e-a1ef-a733d59d19c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread Watt
No the trashbin button also appears on system tiddlers. For example I can send 
$:/core to the trashbin. 
I could delete $:/core using the existing, traditional, delete button as well I 
suppose, but it's marginally harder to do on a phone. Just a 'heads up' in case 
it wasn't what you intended.

-- 
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/a8bfd755-fa84-4483-826f-6e7dce0e05d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: fields operator and macro parameter

2019-07-10 Thread Mohammad
Hi Watt,
 I would like to refer you to TW-Scripts and Data Tiddler trail at

 file:///G:/TW/TW-Scripts/Scripts%20in%20TW%205.1.20-pre.html#datatiddler

The simple answer is yes! In simple NOT rendered form it is as below

\define mac1(tid)
<$list filter="[<__tid__>fields[]]" variable="fld">
<$text text=<> />
<$text text={{{ [<__tid__>getindex] }}} />


\end

<>


This is another simple example

https://kookma.github.io/TW-Scripts/#Listing%20DataTiddler%20Properties


Cheers
Mohammad


On Wednesday, July 10, 2019 at 7:48:02 PM UTC+4:30, Watt wrote:
>
> Hi Mohammad
> Could this be extended to show the field values as well?

-- 
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/87e31fa9-08a1-424b-b1b3-60b668c4bb75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread Mohammad
Hi Watt,
 I did not understand your request! do you mean not to use $:/trashbin?
I used it to hide trashed tiddlers from search results and also common 
filters.

--Mohammad


On Wednesday, July 10, 2019 at 10:37:34 PM UTC+4:30, Watt wrote:
>
> That is a beautiful thing Mohammad. I really like the mechanism for 
> converting from 'tiddler with fields' to data tiddler and back again. I can 
> see a lot of uses for it besides the trashbin - a slightly easier 'export' 
> method from Quinoid on mobile for example.
> My only suggestion is to prevent the trashbin appearing on system 
> tiddlers. Thanks a lot.

-- 
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/72283315-e1f7-485d-9f55-2e97ca406c37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread Watt
That is a beautiful thing Mohammad. I really like the mechanism for converting 
from 'tiddler with fields' to data tiddler and back again. I can see a lot of 
uses for it besides the trashbin - a slightly easier 'export' method from 
Quinoid on mobile for example.
My only suggestion is to prevent the trashbin appearing on system tiddlers. 
Thanks a lot.

-- 
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/24b921e4-8889-42cc-bf0d-9339bbd12b89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: toc enhancement help needed

2019-07-10 Thread PMario

On Wednesday, July 10, 2019 at 4:52:10 PM UTC+2, Laurent Bonet wrote:
>
> Works perfectly !!! :-)
> Thank you so much.
> The support you are providing is just ... awesome!
>

Thx.
 

> Is there a risk of some side effect on classical toc macros? Will try to 
> spend a little bit of time understanding css.
>

It shouldn't. The CSS is very specific assigned to tc-*tabbed*
-table-of-contents and children. ...  
 

> Is there a place to submit tiddlywiki enhancement proposals: 
>

The problem is, that the TOC is already a very complex piece of wikitext. 
... You could have modified / overwritten the toc-caption() macro, without 
modifying the all of them (maybe). 

 

> I think this idea of template for toc deserves to be implemented in a 
> clean manner by knowledgeable people (an not by a newbie like me).
>

As I wrote: replacing toc-caption() macro would be an easier option. ... 
BUT if you hide the number (0) IMO you need to modify all the macros. :/

IMO there is a lot of room for plugins in the TOC area. We'll see in the 
future. 

have fun!
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/ce98de07-01bd-4b31-9fa7-fc7ad1db71cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: New release: Locator 1.2.0 (search by tags, ToC showing related tags)

2019-07-10 Thread h0p3
Thank you for this mod! Also, thank you for the tagging theory link. I 
speak a bit about that particular link here: 2019.06.07 - Tagging Theory: 
At Last 
. 
I only see part of what your tool can do, but I must gush about it. Please 
ignore at will the autistic schizoid describing what it feels like to use 
it in the following word-salad wall-of-text.

Locator allows me to traverse the some of gunkiness of my wiki with both a 
rich set of ad hoc paths and the means to sanely narrow or grow the search 
space. You've given me an interactive nested-doorway device for 
incrementally unrolling known and unknown structures in my wiki. 
Delightfully, I don't have to know all that much up front to find what I'm 
looking for in many cases. Meaningful hierarchies arise from limited input 
and manual planning on my part via a gradual revelation. To various 
degrees, I don't have to know the boundaries of where I'm going or what I'm 
looking for; you allow me to bootstrap one off the other. Salience has a 
higher chance of emerging from smaller bits of information in your 
plateau-hopping mapper goggles.

In a way, your tool is very fast; it's an exploration hack. I could 
technically explore all of this without your tool, but you lower the 
friction for me to rapidly explore different perspectives, angles, or 
scopes in a rhizome. I wouldn't have the energy to connect all those dots 
by hand; hence this is a powertool. While I may be dead wrong, I suspect 
those who are more diligent in their hard-coded tag-based organization 
practices will not find as much value from your tool as those who have a 
more freeform and carelessly sprawling approach to structuring their wikis 
via tags (like mine) because it picks low-hanging fruit. You turn some 
apparent heaps into stacks. Your tool is a GUI abstraction for rapidly 
stepping back and forth through doorways in my wiki by automating the 
construction of complex filter expressions in stages with minimal effort; 
even someone who doesn't know anything about TW can learn to use your tool.

I visualize my wiki in directory-like hierarchies built into the bodies and 
names of my tiddlers. I am wired to visualize in hierarchies, not tags. You 
make what is hard to remember about the fluid messiness and dimensionality 
of tags easier to visualize; I feel like a flatlander who has another tool 
for testing the nature of the 3D hyperobjects he can't quite perceive. 
Maybe tags are a higher-ordered glue for me, and your tool a lubricant 
which lowers the cognitive load. I think your tool empowers lazier tagging 
for that fluid arbitrary relation construction (since tags also serve as 
functional properties in other cases). I've not built a single tag-based 
TOC in my wiki, and now I can traverse my wiki as if I had written all of 
the intuitive tag-based TOCs I wished I had. I am curious to know if this 
search-force multiplying tool gives rise to tagging strategies only 
feasible in virtue of it.

I have two tangent ideas for hopefully everyone to think about long-term.

First, I'm convinced your tool is a working, scalable, and performant 
example of a broader class of relationship-representation tools for more 
visually reasoning about knowledge so well-suited to wikis. I simply can't 
use real-time mindmapping visualization tools on my wiki because they are 
too slow (for now). I hope to see more graphical tooling like yours which 
abstracts over meaningful yet generalized types of filter/query 
construction. If you play Magic, https://scryfall.com/advanced is a 
fantastic example of what it means to give a user meaningful navigational 
control through without forcing them to write dozens of SQL queries. I'm 
convinced a graphical way to construct First-Order Logic expressions (and 
hence arbitrarily complex filter expressions) will always be a promising 
direction.

Second, I use TW as an ergodic hypertext writing tool. Links are 
green-threaded tags for me. To put it into perspective, I have hundreds of 
tags, but I have tens of thousands of links internally pointing in my wiki 
(and also outside to the web and other networks). Some people think the 
meanings of words are defined in terms of how we use them, and there is 
something to that. Similarly, the meaning of my tiddlers are often in 
virtue of how they are linked to and from each other in my wiki; tags only 
express a portion of the structure I'm trying to construct. Rapid 
navigation of child backlinks in $:/core/ui/TiddlerInfo/References and 
ancestor links stripped out of bodies (perhaps fields as well) might be 
somewhat parallel to what is achieved in your tooling.

Perhaps I've said nothing new or valuable to you, but I've said it just in 
case. Your tool is Leet, sir. Thank you for your work, and you've given me 
a lot to think about.
On Tuesday, July 9, 2019 at 6:27:07 PM UTC-4, bimlas wrote:
>
> Thanks, TonyM, it seems to work 

[tw5] Pallete Tutorial?

2019-07-10 Thread Watt
These might help. Thomas Elmiger is the author and a wizz with the palette and 
theme. Good luck.

https://tid.li/tw5/themes.html

https://tid.li/tw5/test/bricks.html

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/1fe04302-bf86-493c-a7d0-2887a81d8eb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Button margin and size on tiddler view toolbar: extra spaces between buttons, how to adjust

2019-07-10 Thread Mohammad

In Trashbin plugin I have added buttons to tiddler view toolbar! It seems 
these new butons does not follow the style by TW
and cause extra spaces (seems margin or padding). How can I adjust these 
spaces and create buttons look the same as original TW

You can see the below images or directly examine them at 
https://kookma.github.io/TW-Trashbin/


--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 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/89a37e28-c8c1-494d-b8cc-2b4cd52a7a89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Trashbin Pluging: Simply delete your tiddlers and restore them

2019-07-10 Thread Mohammad
*Announcement: Trashbin Plugin*

*Date: July 10, 2019*
*Release: 0.1 beta*



Following to previous discussion on Trash bin idea, please find below the 
beta release of *Trashbin plugin*

Trashbin implements the trash application and provide a temporary space to 
keep deleted tiddlers and restore them on demand or delete them from 
trashbin forever.


I highly appreciate to receive your feedback, comments and idea


Demo: https://kookma.github.io/TW-Trashbin/
Code: https://github.com/kookma/TW-Trashbin

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 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/7c5690a5-e36b-4ebe-b4c9-37f8be8542ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: fields operator and macro parameter

2019-07-10 Thread Watt
Hi Mohammad
Could this be extended to show the field values as well?

-- 
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/cfbf861a-3f17-4469-bad9-3edb36b182ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: [Thought] A difficult Logical Problem...

2019-07-10 Thread 'Mark S.' via TiddlyWiki
Are we talking about modeling relationships, or about portraying them?

Relational databases can model just about anything with a regular, defined 
structure. And TW, in turn, can model anything in a relational database, 
albeit without the tools that prevent conflicts that real relational 
databases have. So it requires discipline. But you may have to abandon hope 
of doing it with just tags, and simple models where everything you need to 
know about Joe (marriages, encounters, offspring, etc.) is contained in a 
single tiddler.

In a relational database I might start with a table of individuals. Then I 
might have a table of biological mates that pair the two. Each pairing has 
a unique id. Then another table of marriages. Each pairing has a unique 
id.  In the individuals table, there might be a field to indicate a link to 
which biological pairing represents parentage, and another to indicate 
which marriage represents parentage. Actually at this point I might check 
out if someone has already produced a data structure, rather than have to 
think of every possible situation myself. But you can see that already you 
can quickly locate biological and acknowledged sibling pairings.

With the right structure, you should be able to produce lists of whatever 
relationships you want to know about.

Portraying the relationships graphically is a different matter, since the 
existing graphing technologies use their own idiosyncratic relationship 
structure. It might be that, after creating the relationship data for 
physical representations, you have to then run a process that produces the 
data (in separate tiddlers) for the graphical representation. Assuming that 
tmap or whatever you use is up to the job.

-- Mark

On Tuesday, July 9, 2019 at 4:08:30 PM UTC-7, @TiddlyTweeter wrote:
>
> Cioa TonyM
>
> Thanks for the positivity! 
>
> I'm slightly skeptical as I been round this issue a few times :-)
>
> It looks easy at Level 1. But at the level of my "Father's Eldest 
> Brother's Youngest Daughter's First Daughter" I'm not so sure. That is a 
> description of a relationship chain. How many tags would that be, just to 
> represent the linkages between "Father" and  "First Daughter"?
>
> Part of the issue with depicting kinship anthropologists solved well was 
> to clear delineation between AFFINITY (roughly, marriage) and DESCENT 
> (roughly, children). If you can figure a way to do that so that each person 
> is BOTH potentailly an AFFINE and a DESCENDENT (but diferentiable) in an 
> economic way I'd be interested. My suspicion is you will rapidly get 
> swamped in tags and not find a solution beyond generation 3 from 
> complexity. :-)
>
> 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/7f97fa7c-09a1-4db2-9097-df66d27b73f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: New plugin: Asciidoctor for TiddlyWiki

2019-07-10 Thread armlet
Hi @bimlas,

I installed your plugin and started to play around by referring to user 
manual. I found something called admonition paragraph doesn't render with 
the icons. 

On Wednesday, September 5, 2018 at 5:22:44 AM UTC-5, bimlas wrote:
>
> Finally I'm done:
>
> Source code: https://gitlab.com/bimlas/tw5-asciidoctor
> Demo page: https://bimlas.gitlab.io/tw5-asciidoctor
> Download as JSON file ("File -> Save as" when loaded): 
> https://bimlas.gitlab.io/tw5-asciidoctor/tw5-asciidoctor.json
>
> @TonyM: I don't know why the demo page not working (Error 404), but can 
> you check it again, please? The JSON should work fine now.
>
> If everything is OK, then please mark this message as answer - I don't 
> know how to do.
>

-- 
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/78a46848-6df8-44c8-9047-831febc2ab25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: toc enhancement help needed

2019-07-10 Thread Laurent Bonet
Works perfectly !!! :-)
Thank you so much.
The support you are providing is just ... awesome!

Is there a risk of some side effect on classical toc macros? Will try to 
spend a little bit of time understanding css.

Is there a place to submit tiddlywiki enhancement proposals: I think this 
idea of template for toc deserves to be implemented in a clean manner by 
knowledgeable people (an not by a newbie like me).

Again thank you so much. 



Le mercredi 10 juillet 2019 10:16:30 UTC+2, PMario a écrit :
>
> Hi, 
>
> It's a CSS problem. try the attachment. 
>
> -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 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/172a037e-62d9-44b1-a308-9b0cdcd9360c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Thought] A difficult Logical Problem...

2019-07-10 Thread PMario
On Wednesday, July 10, 2019 at 12:34:53 AM UTC+2, @TiddlyTweeter wrote:
...

> Of course I can draw them in TW manually. But for the life of me I can't 
> figure out how to *generate* this ...
>
> [image: Annotation 2019-07-10 001829.jpg]
>
>
> The issue at first looks easy. But its difficult. 
>

That's for sure. Since the "names" can change, depending on the viewpoint. 

eg: My mother has a brother, which is my uncle. ... That's not easy for an 
algorithm to create, if it gets this info: 

GrandFather (male) married GrandMother (female)
  Child 1 (male)
  Child 2 (female) married Father (male)
 me \o/ (male)

As you can see. From my point of view "Child 1" is my uncle
>From my Mothers point of view "Child 1" is a brother
>From my Fathers point of view "Child 1" is a brother in law.

And that's a simple relation. .. Just think about relations which contain 
divorce, death and marriage, 2 fathers, 2 mothers + Children in every 
possible combination. 

have fun!
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/0798a208-a9cc-4847-8ee6-7a3697473df4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Thought] A difficult Logical Problem...

2019-07-10 Thread Jed Carty
I think that the most difficult part here would be routing the lines for when a 
group of siblings has more than three parents between them.
It becomes difficult to display the parents on one line with the chilhren below 
them without lines crossing.

-- 
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/e7e5c6f5-a540-4385-b077-87d3f27818d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: fields operator and macro parameter

2019-07-10 Thread PMario
On Wednesday, July 10, 2019 at 9:14:02 AM UTC+2, Mohammad wrote:
>
> Thats quite TRUE!
> I was one hour confusing what happened to TW :-)
>

Yea, Sometimes shi? happens ;)
-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 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/e216a1d2-5eb1-43d0-b3dd-ddb9a79485ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: an issue pop(s)up

2019-07-10 Thread Jeremy Ruston
Hi Stephan

Welcome back!

I'm afraid that's a bug in v5.1.19 that's been fixed in the prerelease 
(see https://github.com/Jermolene/TiddlyWiki5/pull/3848). You can work 
around it by using a text reference for the reveal widget instead of 
separate title and field attributes.

Best wishes

Jeremy

On Wednesday, July 10, 2019 at 8:35:14 AM UTC+1, Stephan Hradek wrote:
>
> I'm wondering: what am I doing wrong?
>
> Paste this into a new tiddler:
>
> <$button popup="$:/SamplePopupState!!editmode">Pop me up!
>
> <$reveal type="popup" stateTitle="$:/SamplePopupState" 
> stateField="editmode">
> 
>
> ! This is the popup
> And this is some text
>
> 
> 
>
> and you'll get
>
> Internal JavaScript Error
>> Well, this is embarrassing. It is recommended that you restart TiddlyWiki 
>> by refreshing your browser
>>
>  
>
>> TypeError: undefined is not an object (evaluating 
>> 'this.wiki.getTiddler(this.stateTitle).getFieldString')
>>
>>  
>  I simply wanted the popup to have its state stored in a field of an 
> existing tiddler.
>
> In the popup I want to enter some data.
>
>
>
>

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


[tw5] Re: an issue pop(s)up

2019-07-10 Thread PMario
Hi, 

On Wednesday, July 10, 2019 at 9:35:14 AM UTC+2, Stephan Hradek wrote:
...

>  I simply wanted the popup to have its state stored in a field of an 
> existing tiddler.
>

As you found out. It's not possible to define a field. It has to be a 
tiddler. 

-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 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/3181ccc6-6096-4379-be4f-0c90c1b30d6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: toc enhancement help needed

2019-07-10 Thread PMario
Hi, 
I think element counters with (0) shouldn't be shown. 
-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 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/f79610ec-2176-4f8b-af74-8d1458695d1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: toc enhancement help needed

2019-07-10 Thread PMario
Hi, 

It's a CSS problem. try the attachment. 

-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 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/a006cf04-7d6a-45b3-8048-92de6d733b6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


xtoc-styles.json
Description: application/json


[tw5] Re: toc enhancement help needed

2019-07-10 Thread PMario
Hi, 
your attachment doesn't contain the template. 
-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 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/71ec47ae-1c90-41b9-bf93-ffc5b4c3430b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: toc enhancement help needed

2019-07-10 Thread Stephan Hradek
Hi Laurent.

I do not completely understand your issue and I also haven't looked into 
your macro.

Is the issue the linebreak before the numbers?

In that case I'd suggest you try to get rid of all linebreaks in your macro 
and the call of your macro. My experience with TW is that this whitespace 
is important. Just give it a try. maybe it works.

-- 
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/2a6211de-3d3f-48a7-bbd2-497ae1a4f2da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] an issue pop(s)up

2019-07-10 Thread Stephan Hradek
I'm wondering: what am I doing wrong?

Paste this into a new tiddler:

<$button popup="$:/SamplePopupState!!editmode">Pop me up!

<$reveal type="popup" stateTitle="$:/SamplePopupState" 
stateField="editmode">


! This is the popup
And this is some text




and you'll get

Internal JavaScript Error
> Well, this is embarrassing. It is recommended that you restart TiddlyWiki 
> by refreshing your browser
>
 

> TypeError: undefined is not an object (evaluating 
> 'this.wiki.getTiddler(this.stateTitle).getFieldString')
>
>  
 I simply wanted the popup to have its state stored in a field of an 
existing tiddler.

In the popup I want to enter some data.



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


[tw5] Re: conditional filtering

2019-07-10 Thread vpl
Hi Tony

Thanks a lot for your answer
I'm not sure I follow you ... sorry
*This is incorrect because the result comes from either the filter OR the 
value*

In my code I want to set *myFilter * to a given filter depending on the 
radio selection
That why I try to filter this way 
*filter="[searchType[Categ]]"*
hopping that depending on the local field *SearchType *which should be = to 
*Categ* or *FreeT *depending on the radio choice I will have 
*myFilter = *"[search:tags{!!sortfield}sort[tags]]" OR
  ="[search:title{!!searchval}reverse[]]">

Then I apply the subfilter in the $list ..

Please explain me again what is wrong in this filter. I've tried also 
*filter="[{{!!searchType}}[Categ]]" 
but same result ..*

*Thanks again for your help*

*Vpl*


<$radio field="searchType" value="Categ">Category
<$radio field="searchType" value="FreeT">Free Text

<$select field="sortfield">
Standards Jazz
Celtic
Chansons Francais
Autres
All


<$set name="myFilter" filter="[searchType[Categ]]" 
value="[search:tags{!!sortfield}sort[tags]]" 
emptyValue="[search:title{!!searchval}reverse[]]">
<$text text=<>/>


<$list filter="[all[tiddlers]subfilter]">


Le mercredi 10 juillet 2019 00:50:15 UTC+2, TonyM a écrit :
>
> Vincent,
>
> In you set widget you have 
> filter="[searchType[Categ]]" value="[search:tags{!!sortfield}sort[tags]]"
>
> *This is incorrect because the result comes from either the filter OR the 
> value*. Once you correct that try again.
>
> Regards
> Tony
>
> On Wednesday, July 10, 2019 at 7:18:59 AM UTC+10, vpl wrote:
>>
>> Hi,
>>
>> I've tried this direction but block ...
>>
>> Here is where I am
>>
>> I want to perform a list on either the Category of the free text
>>
>> WHen I run the bolow code, even if I click on the different radio button 
>> the <> does not change ...
>>
>> Any help ...
>> Regards
>>
>>
>> <$radio field="searchType" value="Categ">Category
>> <$radio field="searchType" value="FreeT">Free Text
>>
>> <$select field="sortfield">
>> Standards Jazz
>> Celtic
>> Chansons Francais
>> Autres
>> All
>> 
>>
>> <$set name="myFilter" filter="[searchType[Categ]]" 
>> value="[search:tags{!!sortfield}sort[tags]]" 
>> emptyValue="[search:title{!!searchval}reverse[]]">
>> <$text text=<>/>
>> 
>>
>>
>> Le mardi 9 juillet 2019 09:42:44 UTC+2, TonyM a écrit :
>>>
>>>
>>> Vincent,
>>>
>>> See The https://tiddlywiki.com/#subfilter%20Operator and note how 
>>> myFilter is defined in the set widget. Others include a filter from a 
>>> tiddler
>>> filter="{tiddlerwithfilter}" or the whoile filter 
>>> filter={{tiddlerwithfilter}}
>>>
>>> However you could use the select widget and one of those options is your 
>>> tiddler="StdSearchInput" field="searchval" or {{StdSearchInput!!searchval}}
>>>
>>> The select will modify its state tiddler/field lets say select-state
>>>
>>> <$list filter="{select-state}">
>>>
>>> More details on request.
>>>
>>> Regards
>>> Tony
>>>
>>>
>>> On Tuesday, July 9, 2019 at 5:27:45 PM UTC+10, vpl wrote:

 Hi,

 I would like to define a filter for listing values in a table which 
 would be based on radio button value
 I explain
 I want to have 2 mode of selecting the filter criteria: 
-  Either a $select which provides a list of preconfigured 
 categories or
-  <$edit-text tiddler="StdSearchInput" field="searchval"/> which 
 allows entering a free text
 then I would like to set a radio button to choose between these 2 
 options

 My problem is that I don't know howw to position conditional filtering 
 (based on the radio value) into the tiddlywiki filter expression ..

 Any idea where I should start from ?

 VIncent

>>>

-- 
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/640b6171-5092-48d5-bfbb-6ee0a19d1ff1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: fields operator and macro parameter

2019-07-10 Thread Mohammad
Thats quite TRUE!
I was one hour confusing what happened to TW :-)

--Mohammad

On Wednesday, July 10, 2019 at 8:37:48 AM UTC+4:30, Mark S. wrote:
>
> You're going to laugh ...
>
> <>
>
> On Tuesday, July 9, 2019 at 8:57:39 PM UTC-7, Mohammad wrote:
>>
>> Why fields operator in the below code does not work
>>
>>
>> \define mac1(tid)
>> <$list filter="[<__tid__>fields[]]" variable="fld">
>> <$text text=<> />
>> 
>>
>> \end
>>
>> <>
>>
>>
>> Where tesTid is
>>
>>
>> created: 20190710030221986
>> field1: Hi
>> field2: 123
>> modified: 20190710030313066
>> revision: 0
>> tags: [[tag 22]] tag1
>> title: testTid
>> type: text/vnd.tiddlywiki
>>
>> This is a test
>>
>> --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 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/5d4e541c-c1c0-46c4-84ea-b66beb5112f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.