[tw5] Re: Delete confirmation for blank tiddlers

2020-08-19 Thread TW Tones
Kebi,

I agree this is what happens if you create a tiddler, with only its title.

   - A Quick look at the delete tiddler button $:/core/ui/Buttons/delete 
   shows it uses the button message="tm-delete-tiddler 
   "
   - There is no mention of this behaviour and no parameters to override it.
   - Only changing the text stops this behaviour, adding a tag or field 
   with a value does not cause the are you sure warning.

It can be quite common to create tiddlers accidentally and want to simply 
delete them, so I am not surprised at this behaviour. When it is only a 
tiddler with a title then all that is deleted is the title, if there is any 
content what so ever, you may not be able to see it eg; fields, then it 
should trigger the confirmation (in my view).

Perhaps you can submit and *issue* on github for a setting to be provided 
in the control panel settings to change this behaviour?

In the mean time perhaps you could consider either modifying the tiddler, 
even just add space to the text. Another way to do this is to make your own 
"new tiddler button" and modify it to set the text to " " space only, and 
hide the existing one. However new here and other will not be affected?

*Good catch*

Regards
Tones

On Thursday, 20 August 2020 12:22:07 UTC+10, kebi wrote:
>
> Thanks Eric for your testing.
> The delete button I'm talking about is not the one inside the edit tiddler 
> view, but the one in the view toolbar ($:/core/ui/Buttons/delete)
>
> - kebi
>

-- 
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/f8a515f1-9c09-4b55-893c-74efd3b94af3o%40googlegroups.com.


[tw5] Re: [ demo ] Typewriter: (not) a WYSIWYG editor

2020-08-19 Thread Saq Imtiaz

>
> Pasting complete macros into a text/typewriter type tiddler or when just 
> wiki text, seems to work fine.
>

It will work as long as the editor isn't being used in view mode, however 
it is incredibly error prone and best avoided for most users. As an example 
consider what happens when a user selects half of a widget or macro call 
along with some other text and wraps it in a  tag.

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/91b5a7bd-86b0-4082-954a-4289be7421d9o%40googlegroups.com.


[tw5] Re: [ demo ] Editor for lists (Streams)

2020-08-19 Thread Saq Imtiaz
@Clutterstack I'm not surprised, I hammered this out very quickly with no 
regard for error handling or edge cases. I think it illustrates the point 
well enough, i.e. making use of in built facilities for manipulating 
tiddlers even when the end goal is not to work with tiddler.

I also think that extending and using the parser is something that is 
overlooked in TW.

Cheers,
Saq

On Thursday, August 20, 2020 at 12:10:20 AM UTC+2, clutterstack wrote:
>
> Thanks for sharing this interesting hybrid experience, Saq. 
>
> A minor hiccup in my test: I managed to break it by accidentally leaving 
> an empty bullet ("TypeError: list.children[i].children[0] is undefined").
>
> Cheers,
> Chris
>
>
> On Tuesday, August 18, 2020 at 12:43:12 PM UTC-4, Saq Imtiaz wrote:
>>
>> I am going through a busy period at the moment and don't really have time 
>> for discussions, but I wanted to share a demo that may provide inspiration 
>> for others working on solutions similar to Streams.
>>
>> Streams was written specifically for the ability to easily create 
>> multiple tiddlers with a fast workflow while creating content. However I 
>> realize that many people use it just for the fast writing experience for 
>> lists, but do not actually want to create multiple tiddlers. Hopefully some 
>> of those needs are met by the Editor AutoLists solution that was posted 
>> recently.
>>
>> Here is another take on a better writing experience for lists that 
>> leverages the advantages of breaking content into tiddlers in TW, but 
>> doesn't result in multiple tiddlers in the end.
>>
>> https://saqimtiaz.github.io/sq-tw/single-tiddler-streams.html
>>
>> 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/60f4f234-2261-4ca7-ba2f-ce91ba6d4213o%40googlegroups.com.


[tw5] Re: Embed wiki into Microsoft Teams (BOB)

2020-08-19 Thread JD
Hi Ste, I maybe hijacking this thread but I'd like to confirm before I 
invest time in it. Will saving work in a wiki hosted by droppages, when I 
insert it into Teams?

-jd


On Thursday, August 13, 2020 at 9:19:35 AM UTC+9, Ste wrote:
>
> I know this answer kind of ignores the way your working with BOB but I'm 
> just hosting single file wikis from Dropbox (droppages.com) (https!) and 
> then inserting it into teams as a web page tab. I'm sure there must be a 
> better way. 

-- 
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/664a6943-5ed0-4dd6-90db-8d8b3fb7a795o%40googlegroups.com.


[tw5] Re: Simple Wikitext Syntax Highlighting

2020-08-19 Thread JD
Adithya! This is wonderful, especially for people like me who want the 
tiniest degree of separation between View and Edit modes!

Some things I hope you can add:

\define macroMe(name:"teacup")
> I'm a little $name$
> \end


Can macro definitions have a certain color, and the macro name to be bold? 
For example, I wish this whole block to be <>, 
where $name$ is highlighted in another color, maybe <>, sample:

\define *macroMe*(name:"teacup")
> I'm a little $*name*$
> \end

 
As an extension to this thought: can I target this whole text block in CSS? 
This is a desirable workflow for me: on mouse-hover, this whole block of 
text is very visible, to allow no room for mistakes while editing. Then 
with no mouse hover, it assumes the coloring as stated above, or maybe even 
just a lighter opacity (I can do this with CSS of course, if it's a class 
that can be *exposed *to me)

//ddf//
>  __underline__
>   ~~strikethrough~~ 

And some sup^^s^^ and sub,,s,, because I write like this sometimes


I hope you can add the above in the future, especially the *//Italics//*, __
*underlines*__, and ~~strike-throughs~~! (no google groups formatting for 
strikethroughs, so I can't show the visualization)!
 

> <>
> <>


Like [[*]] and {{*}}, can <<* "">> have a color? And within it, can strings 
starting and ending with* "* also be styled? Sample:

 <>

<>


For strings inside back-ticks, 

`monospace me, and color <>?` 
> ```
> monospace me, too?
> ```


I've set my CodeMirror font to *NonSerif*, can it be so that strings within 
back-ticks are monospaced, colored <>?

As for the html links, they're colored already, but can that be extended so 
that maybe clicking on them while CTRL is held down, will result to the 
link opening in another browser tab? Also, I write external links this way 
a lot:

[[title|http://adithyab.tiddlyspot.com/]]
>

can it be treated differently from a normal tiddler [[*]] link ? Sample:

[[*title*|http://adithyab.tiddlyspot.com/]]


 
I'm sorry if these are a hassle to include! I am requesting these from the 
perspective of someone going in and out of wikitext and defining macros, 
who need these visual identifiers in the textarea.

Also from a perspective external to tiddlywiki... In my line of work, there 
is a lot of visual identifiers in "edit mode", before we pass on the work 
to people who will only ever access it in "view mode". This is to help us 
designers in our field to self-correct immediately, reducing the need for 
multiple checks, while the raw form of the work is still exposed to us 
(rarely do we even access the work in "view mode").

Your CodeMirror extension has the potential to really *mirror* my actual 
non-tiddlywiki work setup, and thus I'm really excited! I hope somehow 
these can be implemented in your future plugin. If not, I wish you can 
provide tutorials so I can personally extend the features (I have totally 
no idea how to JS)

Thanks for this, really! It has so much potential! 

-jd




On Wednesday, August 19, 2020 at 11:46:27 PM UTC+9, Adithya B wrote:
>
> Hi Mario,
>
> Thanks for the help.
>
> I have been able to get it working in TW5!
> I have created a new project here: 
> https://github.com/adithya-badidey/TW5-codemirror-plus to start working 
> on it.
>
> JD and others, can you try it out and give feedback?
> This is how it looks
>
> [image: Screen Shot 2020-08-19 at 7.55.10 PM.png]
>
> On Monday, August 17, 2020 at 12:52:35 AM UTC+5:30 PMario wrote:
>
>> On Sunday, August 16, 2020 at 9:02:37 PM UTC+2, Adithya B wrote:
>>>
>>> [...] change the format to x-tiddlywiki but there seem to be a big bug 
>>> (where the formatting breaks when urls have //)
>>
>>
>> Yea, that's a bug. ... The "workaround fix is" put a // at the end of the 
>> line, which will end "italic" formatting.
>>  
>>
>>>
>>> I would happily give some time to work on it if you can help me 
>>> understand this code:  
>>> https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/codemirror-mode-x-tiddlywiki
>>> Its obfuscated and minimized :/
>>>
>>
>> You'd need to work with the source code. 
>> https://github.com/codemirror/CodeMirror/blob/master/mode/tiddlywiki/tiddlywiki.js
>> You'll need to understand the internal working of cm-mode code. .. see: 
>> https://codemirror.net/doc/manual.html#modeapi
>>  
>>
>>>
>>> I would love it it if this plugin
>>> 1) Works with TW5 Wikitext by default (without needing the content-type 
>>> to be changed)
>>>
>>
>> That should be a relatively easy fix.
>>  
>>
>>> 2) highlights the headlines (!)
>>> 3) colours everything within [[ ]], {{}} and << >>
>>>
>>
>> 4) Makes hyperlinks work
>>>
>>
>> I don't  understand this one. May be // as mentioned above. 
>>
>> -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 view this discussion on the web visit 

[tw5] Re: Delete confirmation for blank tiddlers

2020-08-19 Thread kebi
Thanks Eric for your testing.
The delete button I'm talking about is not the one inside the edit tiddler 
view, but the one in the view toolbar ($:/core/ui/Buttons/delete)

- kebi

-- 
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/0c11fb16-8ac9-4fc7-a4bc-aa7245a09e3ao%40googlegroups.com.


[tw5] Re: Delete confirmation for blank tiddlers

2020-08-19 Thread Eric Shulman
On Wednesday, August 19, 2020 at 5:00:46 PM UTC-7, kebi wrote:
>
> by default if a tiddler contains some text in its body TiddlyWiki is gonna 
> ask if you are sure about deleting the tiddler, but it won't ask anything 
> if the body is empty.
>

That is not the experience I get when I try the following at tiddlywiki.com

1) Go to http://tiddlywiki.com
2) press "+" button in the sidebar to start editing "Draft of New Tiddler"
3) press "checkmark" button in the tiddler toolbar to create "New Tiddler" 
(note that the body is empty)
4) press "pencil" button in the tiddler toolbar to edit "New Tiddler"
5) press "trashcan" button in the tiddler toolbar to delete "New Tiddler"

You are prompted to confirm the deletion.

Can you describe the *exact step-by-step actions *that produce the behavior 
you want to change?

-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/c6183036-04db-4bed-b6ee-a379d0548713o%40googlegroups.com.


[tw5] Delete confirmation for blank tiddlers

2020-08-19 Thread kebi
Hello guys,
by default if a tiddler contains some text in its body TiddlyWiki is gonna 
ask if you are sure about deleting the tiddler, but it won't ask anything 
if the body is empty.
How can I change the behavior so that TiddlyWiki always asks me if im sure 
about deleting a 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/e0c48fc7-21cc-4c90-906d-a9b3c8cf8a45o%40googlegroups.com.


[tw5] Re: GSD5 plugin issue with tiddler folding

2020-08-19 Thread TW Tones
Calvino

It is often a design decision or oversight whether the content of a tool 
honors the fold tiddler toggle.

   - The items tagged $:/tags/ViewTemplate may or may not be toggled
   - Use `<>` to see the tiddlers include, and 
   open one which honors the fold toggle 
  - eg $:/core/ui/ViewTemplate/subtitle 
  

  - You will see its wrapped in a reveal widget
   
<$reveal type="nomatch" stateTitle=<> text="hide" tag="div" 
retain="yes" animate="yes">

Content here responds to the fold toggle



If you wrap the contents of a view template addon with this it will exhibit 
the same behaviour.

Regards
Tones


On Thursday, 20 August 2020 07:36:33 UTC+10, Calvino wrote:
>
> Hi,
> I have been starting to use the GSD5 plugin. 
>
> One thing I find is that it interferes with the built-in functions for 
> folding and unfolding tiddlers. That is, they don't work.
>
> Does anyone here remember that issue and what the fix for it is?
>
> All the Best,
> Calvino
>
>

-- 
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/d26fe015-aad6-46d5-b255-3d8614721654o%40googlegroups.com.


[tw5] Re: What is the best approach for renaming a field that is used by multiple tiddlers?

2020-08-19 Thread TW Tones
Si,

I think it fair to say for each occurrence of filedname1 you create 
fieldname2 and populate it with the value of fieldname1 then delete 
fieldname1

<$action-setfield filename2={{!!fieldname1}}/>

<$action-deletefield fieldname1/>


The above can go in a list that locates tiddlers containing fieldname1 and 
wrapped by a button to trigger the action(s) on each tiddler.

Regards
Tony

On Thursday, 20 August 2020 03:45:59 UTC+10, si wrote:
>
> This has probably been asked before but I can't find any info.
>
> For example changing the field "original-field-name" to "new-field-name" 
> in every tiddler, without changing any of the values.
>
> Thanks for your 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/2f513c0d-486a-4447-8dac-e132c6a35827o%40googlegroups.com.


[tw5] Re: [ demo ] Editor for lists (Streams)

2020-08-19 Thread TW Tones
Thanks Eskha, 

That checklist tool is an old favourite. My question is I suppose how do we 
get something similar you work on actual "Streams" items, however in many 
cases this inside a subtiddler will be enough.

Regards
Tones



On Wednesday, 19 August 2020 21:56:15 UTC+10, Eskha wrote:
>
> Hello TW Tones,
>
> For the checkbox, you also have a plugin in TW5:
> https://github.com/tgrosinger/tw5-checklist
> https://grosinger.net/tw5-checklist/
>
> Best regards,
>
> Eskha
>
> Le mercredi 19 août 2020 à 02:43:30 UTC+2, TW Tones a écrit :
>
>> Saq,
>>
>> Beautiful. Lists really are a fundamental element we use, very nice.
>>
>> A common desire for many is to turn them into actions lists, ie add a 
>> checkbox, in TWC we had the addon that used [_] and [X] when checked and 
>> the text was updated.
>>
>> As you have done with Streams and this example, and the inclusion of 
>> checkboxes/status, we are addressing key user needs rather than technical 
>> issues.
>>
>> Nice Work
>> Tones
>>  
>>
>> On Wednesday, 19 August 2020 02:43:12 UTC+10, Saq Imtiaz wrote:
>>>
>>> I am going through a busy period at the moment and don't really have 
>>> time for discussions, but I wanted to share a demo that may provide 
>>> inspiration for others working on solutions similar to Streams.
>>>
>>> Streams was written specifically for the ability to easily create 
>>> multiple tiddlers with a fast workflow while creating content. However I 
>>> realize that many people use it just for the fast writing experience for 
>>> lists, but do not actually want to create multiple tiddlers. Hopefully some 
>>> of those needs are met by the Editor AutoLists solution that was posted 
>>> recently.
>>>
>>> Here is another take on a better writing experience for lists that 
>>> leverages the advantages of breaking content into tiddlers in TW, but 
>>> doesn't result in multiple tiddlers in the end.
>>>
>>> https://saqimtiaz.github.io/sq-tw/single-tiddler-streams.html
>>>
>>> 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/608f9335-92be-4bca-a8eb-9b84dfd10d73o%40googlegroups.com.


[tw5] Re: [ demo ] Typewriter: (not) a WYSIWYG editor

2020-08-19 Thread TW Tones
Saq, 

Thanks for sharing. I expect something like this would be adequate for 90% 
of TiddlyWiki naive users visiting a site where they can compose simple 
content.

FYI: Given the tiddler is rendered ultimately by tiddlywiki, macros etc.. 
will be honoured
! Start

<>

* Items
* More
Pasting complete macros into a text/typewriter type tiddler or when just 
wiki text, seems to work fine.

Personalty I often use html in my tiddlers such as for complex tables, 
there is value making full use of html given its rich environment. I wonder 
if we could have WYSIWYG sections or blocks inside tiddlers. I am currently 
playing with structuring the content of tiddlers around html systematic 
blocks, inside a view template, populated by tiddler fields.

All,

   - What open source WYSIWYG editors do you use?
   - What do end users need

Please provide some info and ideas here so someone is inspired to run with 
Saq's lead on this.

Regards
Tones
 

On Thursday, 20 August 2020 01:58:10 UTC+10, Saq Imtiaz wrote:
>
>  I'm in a busy period at the moment. As a result I haven't had the chance 
> to make further progress for a few weeks on a bunch of ongoing experiments, 
> let alone have time to discuss them. 
>
> So I am sharing some of what I've been fiddling with in the hopes that it 
> may inspire ideas for others to pursue.
>
>
>
> Please read carefully through all the information provided in the demo.
>
> https://saqimtiaz.github.io/sq-tw/typewriter.html
>
> 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/2a888184-1b37-4f78-a5b2-bd11d0500f64o%40googlegroups.com.


[tw5] Re: [ demo ] Editor for lists (Streams)

2020-08-19 Thread clutterstack
Thanks for sharing this interesting hybrid experience, Saq. 

A minor hiccup in my test: I managed to break it by accidentally leaving an 
empty bullet ("TypeError: list.children[i].children[0] is undefined").

Cheers,
Chris


On Tuesday, August 18, 2020 at 12:43:12 PM UTC-4, Saq Imtiaz wrote:
>
> I am going through a busy period at the moment and don't really have time 
> for discussions, but I wanted to share a demo that may provide inspiration 
> for others working on solutions similar to Streams.
>
> Streams was written specifically for the ability to easily create multiple 
> tiddlers with a fast workflow while creating content. However I realize 
> that many people use it just for the fast writing experience for lists, but 
> do not actually want to create multiple tiddlers. Hopefully some of those 
> needs are met by the Editor AutoLists solution that was posted recently.
>
> Here is another take on a better writing experience for lists that 
> leverages the advantages of breaking content into tiddlers in TW, but 
> doesn't result in multiple tiddlers in the end.
>
> https://saqimtiaz.github.io/sq-tw/single-tiddler-streams.html
>
> 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/6a229c4f-c071-405a-a464-6d86e5580059o%40googlegroups.com.


[tw5] GSD5 plugin issue with tiddler folding

2020-08-19 Thread Calvino
Hi,
I have been starting to use the GSD5 plugin. 

One thing I find is that it interferes with the built-in functions for 
folding and unfolding tiddlers. That is, they don't work.

Does anyone here remember that issue and what the fix for it is?

All the Best,
Calvino

-- 
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/7f0da900-c809-48d4-8fc3-c7aade987118o%40googlegroups.com.


[tw5] Re: What is the best approach for renaming a field that is used by multiple tiddlers?

2020-08-19 Thread 'Mark S.' via TiddlyWiki
You might try TW-commander:

https://kookma.github.io/TW-Commander/

On Wednesday, August 19, 2020 at 10:45:59 AM UTC-7, si wrote:
>
> This has probably been asked before but I can't find any info.
>
> For example changing the field "original-field-name" to "new-field-name" 
> in every tiddler, without changing any of the values.
>
> Thanks for your 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/b3492457-4cfe-4313-9648-68f79629bff5o%40googlegroups.com.


[tw5] What is the best approach for renaming a field that is used by multiple tiddlers?

2020-08-19 Thread si
This has probably been asked before but I can't find any info.

For example changing the field "original-field-name" to "new-field-name" in 
every tiddler, without changing any of the values.

Thanks for your 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/efb70d93-8df2-4717-81e6-344bd1be02a9n%40googlegroups.com.


[tw5] Re: Stroll + retroactive linking?

2020-08-19 Thread Duncan
Thanks both, the search and replace plugins are perfect for what I had in 
mind.

On Wednesday, August 19, 2020 at 1:28:58 AM UTC+1 David Gifford wrote:

> Hi Duncan, I am glad you are enjoying Stroll and finding it useful.
>
> 1) To get the freelinks plugin TW Tones mentioned, go to 
> https://tiddlywiki.com/#%24%3A%2FControlPanel, plugins tab, Get more 
> plugins button.
>
> 2) Another option would be to to use one of the search and replace plugins 
> (see at https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM#q=replace) to 
> search for mackerel and replace it with [[mackerel]].
>
> HTH
>
> Dave Gifford
>
> On Tuesday, August 18, 2020 at 6:32:12 PM UTC-5 Duncan wrote:
>
>> Hi,
>>
>> First, thanks so much for making software like Stroll freely available - 
>> it's awesome!
>>
>> I was wondering, is there a way to retroactively create links?
>>
>> For example, say I'm making lots of tiddlers (if that's the right term) 
>> containing research for a new project about Fish.
>>
>> Then 10+ tiddlers into my research I realise that I'm focusing on 
>> mackarel (because they're the funkiest dancers in the sea).
>>
>> Can I then create a [[mackarel]] link that retroactively updates all the 
>> mentions of mackarel in my 10+ tiddlers into links?
>>
>> Or do I need to anticipate what links I will need in a project at the 
>> beginning?
>>
>> I went through the tutorial but couldn't see this functionality.
>>
>> Thanks for any help.
>>
>> And again thank you for making this software freely available!
>> Reply all
>> Reply to author
>> Forward
>>
>>

-- 
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/dea36c2e-ccce-49c8-a26c-6b12e4955833n%40googlegroups.com.


[tw5] Re: [TW5] A small update to rboue's Three.js plugin

2020-08-19 Thread Ste
Ah. Ok. Isn't the stl baked into three.js? I'll have a look. 
Just prodding at the edges of embedding models from onshape.com which 
although it does a good link share won't allow it to be embedded because of 
reasons. Was hoping stl export and tiddlywiki could be a pain free ish 
solution. 
Thanks for the reply. 

On Tuesday, 18 August 2020 at 19:04:36 UTC+1 inmy...@gmail.com wrote:

> I think that you would need to add the stl loader component for 3js to the 
> plugin, or as a separate plugin, but it is certainly possible.
>
>
> On Monday, October 16, 2017 at 10:48:25 PM UTC+2, Jed Carty wrote:
>>
>> For another project I had to use three.js a bit and because everything 
>> goes with TiddlyWiki I started playing around with the Three.js plugin. I 
>> made a small modification to the $view3js widget so that you can now pass 
>> arguments to the three js program from tiddlywiki. You can pass a json 
>> object to the widget as the opts input to be passed to the main function 
>> for the three js program. It is a bit awkward at the moment but I will 
>> hopefully clean it up in the future.
>>
>> It is a small update and the credit still belongs to rboue.
>>
>> I am not sure if many people are going to have use for this but I don't 
>> know how to contact rboue and this may be useful for someone. I made a 
>> quick demo here http://ooktech.com/jed/ExampleWikis/ThreeJS/ if you 
>> change the values on the range widgets it will rotate the object around the 
>> x y or z axis.
>>
>

-- 
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/e77bf031-2a6f-45d2-9c5b-c1704a18457bn%40googlegroups.com.


[tw5] [ demo ] Typewriter: (not) a WYSIWYG editor

2020-08-19 Thread Saq Imtiaz
 I'm in a busy period at the moment. As a result I haven't had the chance 
to make further progress for a few weeks on a bunch of ongoing experiments, 
let alone have time to discuss them. 

So I am sharing some of what I've been fiddling with in the hopes that it 
may inspire ideas for others to pursue.



Please read carefully through all the information provided in the demo.

https://saqimtiaz.github.io/sq-tw/typewriter.html

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/90fc0e83-0fa7-4eae-818f-479f68b90c16o%40googlegroups.com.


[tw5] Re: unable to use edit mode text field TWSingleFile, local copy

2020-08-19 Thread NU
I use File-backups (https://github.com/pmario/file-backups). The issue 
persists after disabling and restarting. Thanks for the hint though, I will 
try disabling other add-ons to see if that resolves the issue.

On Wednesday, August 19, 2020 at 9:50:20 AM UTC-4 Mark S. wrote:

> It works OK for me on FF 79 on Linux. 
>
> By "downloader", which extension do you mean?
>
> It's possible an extension is having an effect even if you disabled, if 
> you didn't restart FF. 
>
>
> On Wednesday, August 19, 2020 at 6:36:03 AM UTC-7, NU wrote:
>>
>> I have the exact same issue with Firefox 79, even occurring with an empty 
>> file downloaded from the main site. It only occurs in Firefox, Chrome still 
>> works okay.
>>
>> Using Firefox 79 64 bit on both Windows and Linux. Occurs with downloader 
>> addon both enabled and disabled.
>>
>> Go to tiddlywiki.com, scroll to the GettingStarted tiddler, click the 
>> big blue "Download empty" button, open the empty.html file in Firefox 79, 
>> click the edit button on the GettingStarted tiddler or make a new tiddler. 
>> Behaviour doesn't change if it's being saved to the Download directory or a 
>> subdirectory.
>>
>> However, I can create and edit tiddlers on tiddlywiki.com. If I 
>> subsequently download (using the tiddlywiki save changes button) and open 
>> the local copy of the tiddlywiki.com site, the issue reappears.
>>
>> I am using Chrome as a workaround for now but this is not ideal as it 
>> lacks key functionality that Firefox offers.
>>
>> [image: tiddlywikiissue.png]
>> On Monday, August 17, 2020 at 4:14:18 PM UTC-4 Mat wrote:
>>
>>> Not hitting any wrong key combos, all mouse clicks during 
 troubleshooting so unless I have a stuck key, keystrokes shouldn't be an 
 issue.

>>>
>>> It is also *possible *to mouse click to save the page, at least in 
>>> chrome. But I'd agree with Mark - it seems like one of those inexplicable 
>>> behaviours and in the past these have often (at least that's my impression) 
>>> been because people have used the browser to save. 
>>> ...but you do say it happens also for new empty wikis. Maybe you should 
>>> describe every step you do to replicate the problem, starting with going to 
>>> tiddlywiki.com and explain how you proceed from there?
>>>
>>> <:-)
>>>
>>

-- 
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/ec91e677-d131-40e0-b26c-0132335a4e8cn%40googlegroups.com.


[tw5] Re: Simple Wikitext Syntax Highlighting

2020-08-19 Thread Adithya B
Hi Mario,

Thanks for the help.

I have been able to get it working in TW5!
I have created a new project here: 
https://github.com/adithya-badidey/TW5-codemirror-plus to start working on 
it.

JD and others, can you try it out and give feedback?
This is how it looks

[image: Screen Shot 2020-08-19 at 7.55.10 PM.png]

On Monday, August 17, 2020 at 12:52:35 AM UTC+5:30 PMario wrote:

> On Sunday, August 16, 2020 at 9:02:37 PM UTC+2, Adithya B wrote:
>>
>> [...] change the format to x-tiddlywiki but there seem to be a big bug 
>> (where the formatting breaks when urls have //)
>
>
> Yea, that's a bug. ... The "workaround fix is" put a // at the end of the 
> line, which will end "italic" formatting.
>  
>
>>
>> I would happily give some time to work on it if you can help me 
>> understand this code:  
>> https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/codemirror-mode-x-tiddlywiki
>> Its obfuscated and minimized :/
>>
>
> You'd need to work with the source code. 
> https://github.com/codemirror/CodeMirror/blob/master/mode/tiddlywiki/tiddlywiki.js
> You'll need to understand the internal working of cm-mode code. .. see: 
> https://codemirror.net/doc/manual.html#modeapi
>  
>
>>
>> I would love it it if this plugin
>> 1) Works with TW5 Wikitext by default (without needing the content-type 
>> to be changed)
>>
>
> That should be a relatively easy fix.
>  
>
>> 2) highlights the headlines (!)
>> 3) colours everything within [[ ]], {{}} and << >>
>>
>
> 4) Makes hyperlinks work
>>
>
> I don't  understand this one. May be // as mentioned above. 
>
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8b6e33c8-2323-4f6c-a5b8-ef4588f6dc38n%40googlegroups.com.


[tw5] Re: unable to use edit mode text field TWSingleFile, local copy

2020-08-19 Thread 'Mark S.' via TiddlyWiki
It works OK for me on FF 79 on Linux. 

By "downloader", which extension do you mean?

It's possible an extension is having an effect even if you disabled, if you 
didn't restart FF. 

On Wednesday, August 19, 2020 at 6:36:03 AM UTC-7, NU wrote:
>
> I have the exact same issue with Firefox 79, even occurring with an empty 
> file downloaded from the main site. It only occurs in Firefox, Chrome still 
> works okay.
>
> Using Firefox 79 64 bit on both Windows and Linux. Occurs with downloader 
> addon both enabled and disabled.
>
> Go to tiddlywiki.com, scroll to the GettingStarted tiddler, click the big 
> blue "Download empty" button, open the empty.html file in Firefox 79, click 
> the edit button on the GettingStarted tiddler or make a new tiddler. 
> Behaviour doesn't change if it's being saved to the Download directory or a 
> subdirectory.
>
> However, I can create and edit tiddlers on tiddlywiki.com. If I 
> subsequently download (using the tiddlywiki save changes button) and open 
> the local copy of the tiddlywiki.com site, the issue reappears.
>
> I am using Chrome as a workaround for now but this is not ideal as it 
> lacks key functionality that Firefox offers.
>
> [image: tiddlywikiissue.png]
> On Monday, August 17, 2020 at 4:14:18 PM UTC-4 Mat wrote:
>
>> Not hitting any wrong key combos, all mouse clicks during troubleshooting 
>>> so unless I have a stuck key, keystrokes shouldn't be an issue.
>>>
>>
>> It is also *possible *to mouse click to save the page, at least in 
>> chrome. But I'd agree with Mark - it seems like one of those inexplicable 
>> behaviours and in the past these have often (at least that's my impression) 
>> been because people have used the browser to save. 
>> ...but you do say it happens also for new empty wikis. Maybe you should 
>> describe every step you do to replicate the problem, starting with going to 
>> tiddlywiki.com and explain how you proceed from there?
>>
>> <:-)
>>
>

-- 
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/58db08b4-507a-4e72-a9ea-0c4c0cd44325o%40googlegroups.com.


[tw5] Re: unable to use edit mode text field TWSingleFile, local copy

2020-08-19 Thread NU
 I have the exact same issue with Firefox 79, even occurring with an empty 
file downloaded from the main site. It only occurs in Firefox, Chrome still 
works okay.

Using Firefox 79 64 bit on both Windows and Linux. Occurs with downloader 
addon both enabled and disabled.

Go to tiddlywiki.com, scroll to the GettingStarted tiddler, click the big 
blue "Download empty" button, open the empty.html file in Firefox 79, click 
the edit button on the GettingStarted tiddler or make a new tiddler. 
Behaviour doesn't change if it's being saved to the Download directory or a 
subdirectory.

However, I can create and edit tiddlers on tiddlywiki.com. If I 
subsequently download (using the tiddlywiki save changes button) and open 
the local copy of the tiddlywiki.com site, the issue reappears.

I am using Chrome as a workaround for now but this is not ideal as it lacks 
key functionality that Firefox offers.

[image: tiddlywikiissue.png]
On Monday, August 17, 2020 at 4:14:18 PM UTC-4 Mat wrote:

> Not hitting any wrong key combos, all mouse clicks during troubleshooting 
>> so unless I have a stuck key, keystrokes shouldn't be an issue.
>>
>
> It is also *possible *to mouse click to save the page, at least in 
> chrome. But I'd agree with Mark - it seems like one of those inexplicable 
> behaviours and in the past these have often (at least that's my impression) 
> been because people have used the browser to save. 
> ...but you do say it happens also for new empty wikis. Maybe you should 
> describe every step you do to replicate the problem, starting with going to 
> tiddlywiki.com and explain how you proceed from there?
>
> <:-)
>

-- 
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/429ebbc6-5e9d-4cb3-8594-456170fbbed2n%40googlegroups.com.


[tw5] Re: [ demo ] Editor for lists (Streams)

2020-08-19 Thread Eskha
Hello TW Tones,

For the checkbox, you also have a plugin in TW5:
https://github.com/tgrosinger/tw5-checklist
https://grosinger.net/tw5-checklist/

Best regards,

Eskha

Le mercredi 19 août 2020 à 02:43:30 UTC+2, TW Tones a écrit :

> Saq,
>
> Beautiful. Lists really are a fundamental element we use, very nice.
>
> A common desire for many is to turn them into actions lists, ie add a 
> checkbox, in TWC we had the addon that used [_] and [X] when checked and 
> the text was updated.
>
> As you have done with Streams and this example, and the inclusion of 
> checkboxes/status, we are addressing key user needs rather than technical 
> issues.
>
> Nice Work
> Tones
>  
>
> On Wednesday, 19 August 2020 02:43:12 UTC+10, Saq Imtiaz wrote:
>>
>> I am going through a busy period at the moment and don't really have time 
>> for discussions, but I wanted to share a demo that may provide inspiration 
>> for others working on solutions similar to Streams.
>>
>> Streams was written specifically for the ability to easily create 
>> multiple tiddlers with a fast workflow while creating content. However I 
>> realize that many people use it just for the fast writing experience for 
>> lists, but do not actually want to create multiple tiddlers. Hopefully some 
>> of those needs are met by the Editor AutoLists solution that was posted 
>> recently.
>>
>> Here is another take on a better writing experience for lists that 
>> leverages the advantages of breaking content into tiddlers in TW, but 
>> doesn't result in multiple tiddlers in the end.
>>
>> https://saqimtiaz.github.io/sq-tw/single-tiddler-streams.html
>>
>> 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/93982361-5d46-4589-b77e-dbd9fe12056en%40googlegroups.com.


[tw5] Re: [dot org] 4/9 Using e-mail to request a new feature

2020-08-19 Thread PMario
On Tuesday, August 18, 2020 at 9:25:34 AM UTC+2, bimlas wrote:
>
> Honestly, I don’t understand the meaning of a feature request open in 
> email: if I need to log in to find out the email address where I need to 
> send the request, why not use the GitLab interface? In addition (if I'm 
> guessing correctly) you can create a template for GitLab feature requests, 
> where the structure of the request is predefined, and the user only needs 
> to fill in the appropriate sections.


You are right. ... There is a possibility for "global" e-mail address. BUT 
we would need to find a way to effectively deal with spam. 
 

> I would only find this mechanism beneficial if the landing page had a 
> "Contact us" form that would not send the email to a mailbox but would open 
> a feature request for it so the visitor would not have to register for 
> GitLab, to be able to submit a request.
>

That's exactly the point I wanted to make. ... BUT as written above I did 
configure it in a way, so I (me alone) don't need to deal with spam. ... 
That's all. 

If someone else wants to deal with spam I'm happy to assign a global e-mail 
address, that forwards to the volunteer. - "Null problemo ;)"

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6e850578-49ab-4b7a-8fc1-120d73829260o%40googlegroups.com.


Re: [tw5] [ demo ] Editor for lists (Streams)

2020-08-19 Thread Atronoush Parsi
I love this!
I myself like to keep one topic in a single tiddler and this lets me to do
so!
I noticed I can even keep separate tiddlers if I like and the subtiddlers
will only be deleted if I click the save button!
Clever solution!

Thank you Saq!

Atro


On Tue, Aug 18, 2020 at 9:13 PM Saq Imtiaz  wrote:

> I am going through a busy period at the moment and don't really have time
> for discussions, but I wanted to share a demo that may provide inspiration
> for others working on solutions similar to Streams.
>
> Streams was written specifically for the ability to easily create multiple
> tiddlers with a fast workflow while creating content. However I realize
> that many people use it just for the fast writing experience for lists, but
> do not actually want to create multiple tiddlers. Hopefully some of those
> needs are met by the Editor AutoLists solution that was posted recently.
>
> Here is another take on a better writing experience for lists that
> leverages the advantages of breaking content into tiddlers in TW, but
> doesn't result in multiple tiddlers in the end.
>
> https://saqimtiaz.github.io/sq-tw/single-tiddler-streams.html
>
> 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/8128e059-39c2-432e-bb12-15c328e2a885o%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/CAKHVXmo%3D2voOW7fR-89j4suC3dDXPpjNTT58PJ%2B-4q8H9PFrEA%40mail.gmail.com.


[tw5] Re: Prior Art? Create tiddler in JSON file?

2020-08-19 Thread TW Tones
Werner,

Thanks for your thoughts. This particular example of 800 tiddlers is not 
necessary the standard case. For example just moving a couple of tiddlers 
into a JSON would be common.

Perhaps I am miss-guided but I was hoping for a simple to use answer, one 
like a version of the actioncreatetiddler that generates the tiddler inside 
a json tiddler, appending if any already there. In fact in this case I only 
want JSON to store tiddlers, which it already does, look inside any plugin 
tiddler.

Although I too, treasure Joshua Fontany's great JSON Mangler as opening 
tiddlywiki to all JSON files.

Another use case I have is generating a project or wiki tiddler from 
various content in the project or wiki and storing it in a JSON (one or 
more tiddlers eg multiple projects) the result can be dropped on a 
directory wiki that can list all wikis and projects and their location 
file/url and tiddlername.

I agree the database versions of tiddlywiki stand to make a lot of 
difference, but that is not what I am looking for here, thanks

Tones

On Wednesday, 19 August 2020 20:16:21 UTC+10, Werner wrote:
>
> Tony, as you may recall, I've experimented a bit with Joshua Fontany's 
> great JSONMangler plugin and (nested) JSON data tiddlers. I think, the 
> plugin provides the tool you need.
>
> But, after a bit of a learning curve, I found I was able to get it to work 
> and to access and retrieve data. I am not fully happy, though.
>
> The main issue I have is that JSON only offers minimum features. It stores 
> data. Period. When you want to retrieve data, they come out in the way you 
> have stored them, unless you want to mimic features in TW normally offered 
> by a *DBMS. E.g. for retrieval in a given sort order, you will need to 
> either use one of the sort functions on the whole data set or create an 
> ISAM feature in TW. As I wrote before, this is a rabbit hole I would be 
> reluctant to jump into. There has been work put into this topic by minds 
> more proficient than me, So I'd rather resort to the work done by them. 
> Also, I don't know, how JSON performs with large datasets, but I would 
> assume at 800 records there won't be too much performance issues.
>
> So, for the time being, I will stick to my TW-based solution, but in the 
> long run I feel tempted to try out PouchDB/CouchDB which seems like the 
> natural complement for this kind of problem.
>
> Best, Werner
>
> Am Mittwoch, 19. August 2020 04:42:56 UTC+2 schrieb TW Tones:
>>
>> Folks,
>>
>> Has anyone developed a method to create multiple tiddlers directly into a 
>> JSON tiddler?
>>
>> *Background*
>>
>> I just built a macro to create color swatch tiddlers, more than 800.
>>
>>- I will share it soon, once I create some tools for color search and 
>>copy tools
>>- I did it Using a button containing a list and the 
>>ActionCreateTiddlerWidget
>>
>> *What?*
>>
>> However I realised since the action create widget is basically handed a 
>> set of field=values it should be easy enough to create such tiddlers in a 
>> JSON file only as JSON tiddlers. 
>>
>>- It would need an append process
>>
>> I will eventually build this myself if there is no response however 
>> please share any previous examples "Prior Art"  of doing this. It seems to 
>> me as deserving of a facility in the core so perhaps others have done it 
>> better than I can hope to.
>>
>> *Why?*
>>
>>- When creating large numbers of reference or data tiddlers they 
>>could be created directly into a json file saving space ?, but permitting 
>>access as shadow tiddlers. While keeping the number of real tiddlers 
>> small. 
>>- It could allow an intermediate step from what you choose to make 
>>into a real tiddler. Then delete the JSON when finished.
>>- It would allow virtual tiddlers to be created from tiddlywiki 
>>content that exist only in the JSON format. 
>>- JSON's are readily converted to drag-able packages, import tiddlers 
>>and plugins.
>>- JSONS can be interrogated as shadow tiddlers or as data-tiddlers.
>>
>> Thanks in Advance
>> Tones
>>
>

-- 
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/383644ec-0a0e-4343-b464-f1ac583f2ba5o%40googlegroups.com.


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

2020-08-19 Thread Saq Imtiaz
Keelan,

Another short reply for now, going to work through the rest of your 
feedback piecemeal as time permits.

Regarding search:

*Search gets confusing.* I've learned to adjust to this, but all of the 
> streams tiddlers show up in search. Most of the time, I only want the 
> parent to show and then I will find what I want on that "main tiddler." 
> However, I periodically have a tiddler created in a stream that rises to 
> the level of a stand alone tiddler, so I would want it to index. I realize 
> the dilemma in all of this. So, I think if we could omit all the children 
> and just index the main parent tiddler for a stream in search, it would be 
> preferrable, since it is possible to just rename a specific stream 
> tiddler and then it could index.


 I thought about putting together a quick search solution for search where 
only the root node is returned in search results, but quickly realized 
there is a conceptual snag. Streams is intentionally written so that it 
doesn't care about the titles of tiddlers for maintaining the relationships 
between them. So for example:

History/1908 is not a subnode of History because of it's title, but rather 
because History/1908 has a field called *parent* with value History.

So it's easily doable to have a custom search only return the root node of 
results by following the parent field back through relationships to the 
end. However, just renaming a tiddler would not make it show up in the 
search results. You would have to delete the "parent" field thereby 
removing it from the Stream.

So this makes a generic and flexible solution quite difficult. However, it 
would be doable to create a custom solution for you where search always 
follows the parent field upwards as long as the parent tiddler title is a 
substring of the tiddler in question.

That is if History/1908 has the field parent pointing to History, we follow 
that field.
If French Revolution has the field parent pointing to History, we do not 
follow it.

 Let me know if this would be helpful, and if so what the value of the 
tiddler $:/config/sq/streams/new-node-title is when you open it for editing.

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/db348b11-44cf-4ec9-83aa-1a6cf87660deo%40googlegroups.com.


[tw5] Re: Prior Art? Create tiddler in JSON file?

2020-08-19 Thread 'Werner' via TiddlyWiki
Tony, as you may recall, I've experimented a bit with Joshua Fontany's 
great JSONMangler plugin and (nested) JSON data tiddlers. I think, the 
plugin provides the tool you need.

But, after a bit of a learning curve, I found I was able to get it to work 
and to access and retrieve data. I am not fully happy, though.

The main issue I have is that JSON only offers minimum features. It stores 
data. Period. When you want to retrieve data, they come out in the way you 
have stored them, unless you want to mimic features in TW normally offered 
by a *DBMS. E.g. for retrieval in a given sort order, you will need to 
either use one of the sort functions on the whole data set or create an 
ISAM feature in TW. As I wrote before, this is a rabbit hole I would be 
reluctant to jump into. There has been work put into this topic by minds 
more proficient than me, So I'd rather resort to the work done by them. 
Also, I don't know, how JSON performs with large datasets, but I would 
assume at 800 records there won't be too much performance issues.

So, for the time being, I will stick to my TW-based solution, but in the 
long run I feel tempted to try out PouchDB/CouchDB which seems like the 
natural complement for this kind of problem.

Best, Werner

Am Mittwoch, 19. August 2020 04:42:56 UTC+2 schrieb TW Tones:
>
> Folks,
>
> Has anyone developed a method to create multiple tiddlers directly into a 
> JSON tiddler?
>
> *Background*
>
> I just built a macro to create color swatch tiddlers, more than 800.
>
>- I will share it soon, once I create some tools for color search and 
>copy tools
>- I did it Using a button containing a list and the 
>ActionCreateTiddlerWidget
>
> *What?*
>
> However I realised since the action create widget is basically handed a 
> set of field=values it should be easy enough to create such tiddlers in a 
> JSON file only as JSON tiddlers. 
>
>- It would need an append process
>
> I will eventually build this myself if there is no response however please 
> share any previous examples "Prior Art"  of doing this. It seems to me as 
> deserving of a facility in the core so perhaps others have done it better 
> than I can hope to.
>
> *Why?*
>
>- When creating large numbers of reference or data tiddlers they could 
>be created directly into a json file saving space ?, but permitting access 
>as shadow tiddlers. While keeping the number of real tiddlers small. 
>- It could allow an intermediate step from what you choose to make 
>into a real tiddler. Then delete the JSON when finished.
>- It would allow virtual tiddlers to be created from tiddlywiki 
>content that exist only in the JSON format. 
>- JSON's are readily converted to drag-able packages, import tiddlers 
>and plugins.
>- JSONS can be interrogated as shadow tiddlers or as data-tiddlers.
>
> Thanks in Advance
> Tones
>

-- 
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/b734e1f6-38b5-43fa-b5d8-97df0dc2432co%40googlegroups.com.


[tw5] Re: Lost in transclusion

2020-08-19 Thread 'Werner' via TiddlyWiki
Thanks so much, Eric and Tony. As usal, this was extremely helpful. And 
<$wikify> actually solved the issue. 

In fact, I was assuming the transclusion chain had to do with it (hence the 
thread title), I am just not literate enough in TW to draw the right 
conclusions and find the remedies. But I keep on working at it.

Which brings me to another point: maybe I've overcomplicated things by 
storing a transclusion in a tiddler where a pointer to an array index in 
the JSON tiddler (i.e. a number) should have done the trick. But that's a 
different story.

So, thanks again, guys, much appreciated.

TW Tones schrieb am Mittwoch, 19. August 2020 um 01:47:32 UTC+2:

> Werner,
>
> I am confident Eric is spot on. It was the correct understanding of this 
> issue and the use of wikify that stopped me getting stuck regularly. I have 
> being trying to get some activity on this because it is a barrier to new 
> users. Perhaps this quick note will help as a rule until you fully 
> understand it.
>
>- If you need a value to be "evaluated" from wikitext to use within 
>subsequent Wikitext logic use the wikify widget at the last possible 
> moment.
>   - This guide suggests trying to use wikify in external macros is a 
>   path to disappointment
>- Make sure you close the wikify appropriately (as with all other 
>widgets) or unusual and broken result will occur
>- Its only at the final render of the tiddler that all things are 
>wikified automatically so a standalone `<>` appears to produce 
>the result you want, but as Eric said the result inside the wikitext 
>(before evaluation) without wikification it is not evaluated at that point.
>- It is fine to use the same name when wikifying to stop code 
>complexity
>
> \define macroname() blah blah
> <$wikify name=macroname text="<>">
>use <> here where it is the wikified version, or pre-
> evaluated
> 
>
> In closing
>
>- If some of our community developers see this what would be better is 
>something like the following;
>   - Allow any variable to be referenced in its "evaluated state" eg 
>   ((macroname)) would effectively wikify inline
>   - Automatically wikify/evaluate variables or macros when used in 
>   filters and other appropriate places.
>
> Regards
> Tones
>
>
> On Wednesday, August 19, 2020 at 7:15:51 AM UTC+10, Eric Shulman wrote:
>>
>> On Tuesday, August 18, 2020 at 10:06:59 AM UTC-7, Werner wrote:
>>>
>>> I am referring to a tiddler called activeDossier whose contents refers 
>>> to a JSON data tiddler. Tiddler content 
>>> is {{$:/data/CI/companyRegister##1/name}}.
>>>
>>> <$set name="theCompany" value={{$:/data/CI/activeDossier}}>
>>> !<$vars tv-wikilinks=no><> 
>>> <$list filter="[!is[system]search]" >
>>> <>
>>> 
>>>  
>>>
>>
>> The problem is that you are doing a "double transclusion".  That is, the 
>> value of <> retrieved via transclusion isn't the actual name of 
>> the company as text, but rather a secondary transclusion from a JSON 
>> tiddler (i.e., {{$:/data/CI/companyRegister##1/name}}).  When you render 
>> <>, TiddlyWiki automatically parses that transclusion and 
>> displays the actual value.  However, when you use search in the 
>> filter, the value isn't parsed any further, and you are literally searching 
>> for the transclusion syntax, not the actual company name as text.
>>
>> To resolve this, use <$wikify> instead of <$set> to fetch theCompany 
>> value, like this:
>> <$wikify name="theCompany" text={{$:/data/CI/activeDossier}}>
>> !<$vars tv-wikilinks=no><> 
>> <$list filter="[!is[system]search]" >
>> <>
>> 
>> 
>> The $wikify gets the value from the activeDossier tiddler AND then also 
>> parses that value, so the result is the desired text value from the 
>> underlying $:/data/CI/companyRegister tiddler.
>>
>> When you use it in the search filter, it's already fully 
>> resolved to be the actual company name as text, so the search should work 
>> as you intend.
>>
>> -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/2a3567a4-b52a-4e8e-81a8-4f0bddec5aben%40googlegroups.com.


[tw5] Re: Use Relink to rename similar tiddlers

2020-08-19 Thread Mat
If you only want the occasional correction, the way to do it is to open 
your wiki in an editor e.g Notepad++ and do a search/replace. Obviously the 
usual caveats; careful, backup.

<:-)

-- 
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/f1ecf83b-9e67-4839-917d-ca5163fe40d2o%40googlegroups.com.


[tw5] Re: Use Relink to rename similar tiddlers

2020-08-19 Thread Saq Imtiaz
That Tiddler refers to handling the updating of the stream-list field in 
the parent when a child node is manually renamed.
This is already implemented using Relink, therefore you won't find this on 
the Roadmap.

As Tony mentions, from a Streams point of view there is no need to rename 
child nodes when the parent is updated.


On Wednesday, August 19, 2020 at 5:26:43 AM UTC+2 strikke...@gmail.com 
wrote:

> TW Tones and Kebi,
>
> Saq mentioned some thoughts about it 
> https://saqimtiaz.github.io/sq-tw/single-tiddler-streams.html#Renaming%20child%20bullets
>
>
> Birthe
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63e880f8-9a84-48a2-9f2d-f32afbedcd0en%40googlegroups.com.


[tw5] Re: [dot org] 2/9 Community TW .org Landing page - proposal

2020-08-19 Thread TiddlyTweeter
Ciao PMario & others interested in "landing page" options.

In another thread you mentioned I hold the address tiddly.wiki. It 
currently redirects to tiddlywiki.com.

I actually got hold of it because ...


   - its a a very good address for TW as the domain name EXACTLY matches 
   the product name
   - and I didn't want chance someone not using TW might get it & it start 
   turning up irrelevant searches in Google
   - and third, the MAIN reason, ... it was a small thankyou to Jeremy & TW 
   other developers for their work

I offered to transfer it to Jeremy's name but he was happy to leave as is 
for the moment just doing simple redirect.


   - He was glad I got hold of it but thought to not do much with it yet to 
   prevent invoking confusion with tiddlywiki.com.


BUT IF there were demand I'm sure we could transfer it for serious 
"Community" usage.

Let me & JR know if you interested.

Best wishes
TT

On Sunday, 16 August 2020 23:52:55 UTC+2, PMario wrote:
>
> Hi,
>
> For those who don't want to read - there is a List of videos 
> 
>  
> about 
>
>
> *Improve Community Communication proposal*
>
> 02 TiddlyWiki Landingpage - proposal
> Transcription of video #2 
> ---
>
> Hi Folks, This is Pietsch Mario again with the second video about How can 
> we improve the community communication. 
>
> The first thing should be a proof of concept how a new tiddlywiki.org 
> page could look like. 
>
> This is a proof of concept, which is the main page. The landing page is 
> manually created. 
>
> But there is also some automatically created stuff which uses TiddlyWiki
>
> and the TiddlyWiki build process to create a static web-page. 
>
> How does it look like. At the top left, there is a link that goes back to 
> page. 
>
> There is a little bit of a menu and 
>
> there is the main area, which talks a little bit about the project 
>
> then there is a GettingStarted button which does nothing at the moment. It 
> just jumps to the page 
>
> Then there is an area which talks a little bit about TiddlyWiki features. 
>
> I'm using them to also show the workflow afterwards, how to create feature 
> requests
>
> and there is some information about the different pages. Or let's say: 
> different languages. 
>
> Language documentations. This page is already automatically created
>
> I made a prototype some time ago already. 
>
> Where all the content are different tiddlers and the layout is a template. 
>
> And TiddlyWiki can create a static page with the different tiddler 
> contents. 
>
> It looks like this
>
> Relatively simple, but as a starting point it should give you an overview, 
> how I think it can look like. 
>
> Then there is some "Call to Action" at the moment which does nothing. 
>
> What did I used to create  the static page. The project is called 
> purecss.io. 
>
> It's a very basic CSS framework which has absolutely no javascript 
> involved. 
>
> That's something I wanted to have. 
>
> There are different layout types. 
>
> There is the landing page
>
> There is a prototype for a photo gallery, which we can use
>
> There is something that looks like a blog
>
> That one I used to display the different languages. 
>
> It can even be used to create something like an e-mail layout
>
> If we would like to create our own e-mail client. 
>
> A pricing table and so on 
>
> There is also one important thing. The whole element is responsive 
>
> So if we use let's say: mobile phones 
> then it works
>
> out of the box. So we go to the language pages ... and so on 
>
> Everything is mobile friendly. 
>
> Yea, that's the first part 
> How a landing page can look like
>
> And I think before I go on 
> I switch of the video recording so I have shorter videos
>
> So the next one will be Feature Requests
>
> See you soon. 
>

-- 
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/54574d8a-0719-43ac-aa77-18c436ec9bf1o%40googlegroups.com.