Re: [tw] Re: [TW5] Creating editable HistoryView of opened tiddlers

2017-03-20 Thread wimm
Or read the post for more details about my bread crumbs / history / 
fullhistory plugin

https://groups.google.com/forum/#!searchin/TiddlyWiki/history%7Csort:relevance/tiddlywiki/u4lN-olqnPc/ZelgtYJHAwAJ

If you want the newly opened tiddler at the bottom (end) you probably want 
the following 

{{{[fullhistory[]!prefix[Draft]unique[]]}}} 


Of course when you remove the curly braces you can use the filter in a list 
something like

<$list filter="[fullhist]"><$view field="title">

-- 
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/22682bd4-f9ed-46cc-bc93-618db6fbf47d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: apply macro to outer tiddler of transcluded pair?

2017-03-20 Thread Eric Shulman
On Monday, March 20, 2017 at 8:47:46 PM UTC-7, Dave wrote:
>
> Sorry if this is complicated (seems that way to me), but I have a question 
> about using macros in remote tiddlers that are transcluded to change field 
> content locally.  
>
> ... 
>
In it I have this transclusion: {{Lumbar Kemps}} which has this content:
>
> <>
>
> What I want to happen is for the $(currentTiddler)$ in the select widget 
> to be "2017-3-20", not "Lumbar Kemps", but that's not what's happening (the 
> results are being recorded in [[Lumbar Kemps]]).  Is there a way to make 
> this work the way I want it to?
>

Instead of {{TiddlerName}}, use {{||TiddlerName}}.  This will apply the 
indicated tiddler as a *template* for the values from the current tiddler 
and leaves the value of $(currentTiddler)$ unchanged when the template is 
transcluded (i.e., it will remain [[2017-03-20]], rather being set to 
[[Lumbar Kemps]])

see http://tiddlywiki.com/#Transclusion%20with%20Templates

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/f0c090cf-b933-40fa-a27c-2d155e550ce8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Do I need to convert all my TW5's to version 5.1.13 ?

2017-03-20 Thread Birthe C

You mention Eric Shulman's TiddlyTools ImportTiddlersPlugin. Problem being 
that it is for Tiddlywiki Classic, but you are having problem with TW5.

Not sure... I wanted to merge several disparate TW5 files, thinking that I 
> would have a lot of cleanup regarding tags, duplicate tiddler names, etc. I 
> liked the description of Eric Shulman's TiddlyTools ImportTiddlersPlugin - 
> but I can't figure out how to load any of his great sounding stuff (I just 
> keep reloading the page that talks about the plugin) 
>

-- 
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/1d6bbfdd-8fe7-4a0b-b9f2-1a2bebf366c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] apply macro to outer tiddler of transcluded pair?

2017-03-20 Thread Dave


Sorry if this is complicated (seems that way to me), but I have a question 
about using macros in remote tiddlers that are transcluded to change field 
content locally.  


There are three layers: the macro tiddler, the test tiddler which calls 
upon the macro, and the date tiddler that want's to record the test, but 
uniquely in today's tiddler.

Lets say I have a tiddler just named as today's date: [[2017-03-20]]


In it I have this transclusion: {{Lumbar Kemps}} which has this content:

<>

which refers to this macro pair in another macro tiddler tagged with 
$:/tags/Macro

\define s.test.result(mytestname,myresult) 
<$transclude tiddler="$mytestname$ Dxs" index="$myresult$"/> 
\end 

\define s.test(testname,testfield) 
<$select tiddler="""$(currentTiddler)$""" field="""$testname$-$testfield$"""
> 
<$list filter="[list[testDictionary##$testname$]]"> 
>><$text text=<>/> 
 
 
<$set name="result" value={{$(currentTiddler)$!!$testname$-$testfield$}}> 
<$macrocall $name=s.test.result myresult=<> mytestname="$testname$" 
/> 
 
\end 

What I want to happen is for the $(currentTiddler)$ in the select widget to 
be "2017-3-20", not "Lumbar Kemps", but that's not what's happening (the 
results are being recorded in [[Lumbar Kemps]]).

Is there a way to make this work the way I want it to?


Thanks,

- Dave

-- 
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/d69dd966-12ae-43cb-9b08-203979b22190%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Do I need to convert all my TW5's to version 5.1.13 ?

2017-03-20 Thread JWHoneycutt
Thank you Jed, 

It sounds like you may have a few things mixed up. Agreed, more than a few 
> things.
>
> JSON is a way to represent data and is in no way specific to tiddlywiki. I 
> believe that what you are referring to as JSON is the node version of 
> tiddlywiki.
>

Not sure... I wanted to merge several disparate TW5 files, thinking that I 
would have a lot of cleanup regarding tags, duplicate tiddler names, etc. I 
liked the description of Eric Shulman's TiddlyTools ImportTiddlersPlugin - 
but I can't figure out how to load any of his great sounding stuff (I just 
keep reloading the page that talks about the plugin) 

Then I started with another idea that starts by loading Node.js (which is 
distinct from TiddlyWiki5 and may or may not be JSON) - getting surprising 
results - because I can see my TW5 file in a loopback server at 
127.0.0.1:8080 - and it creates a bunch of .TID files in a folder.

>
> Are the pre-5.1.13 wiki single file html files? In what way will they not 
> load? Would they load before?
>

So my TW5 files are HTML files. If I create a new TW5.HTML - it does the 
above, splitting up into .TID files and displaying in the loopback server 
(as long as Terminal is going, until I type Control-C in Terminal)

But this only works for new HTML files created under 5.1.13 - all my 
"regular TW5.HTML files are older, or "polluted" by plugins that I was 
experimenting with (I can't figure out which) - too many variables makes it 
hard for me to know why they aren't accepted. One thing I found is that the 
"--password " can't accept some special characters.

>
> I think that what you want to do is to split up all of your existing singe 
> file tiddlywikis into .tid files and then share these files between 
> separate wikis when running under nodejs, but that isn't very clear from 
> what you are saying.
>

I am showing my soft underbelly - I think what you are suggesting here 
sounds like it would be a good way to access information from numerous 
growing TW5 HTML files, and allow me to be able to work with them using my 
IPhone too. 

Do you think I am going in the right direction?  

-- 
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/9a593d2b-3af6-4b76-9c8f-586baee4935d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Core drag-and-drop improvements

2017-03-20 Thread David Szego
Thrilled to hear this, great work!

-- 
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/1a32989f-bc26-4341-b976-2ee411fea241%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: force set width on multi-line edit-text widget

2017-03-20 Thread Mat
I have previously brought this to attention here; 
https://github.com/Jermolene/TiddlyWiki5/issues/2367

<:-)

-- 
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/edf87a46-e798-49be-9de3-ddf5849d5793%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Core drag-and-drop improvements

2017-03-20 Thread Mat
@Jeremy - thanks for updates!

Some new issues though:
The very thing you show in the animation in your last post does not seem to 
work in (Win10) FF, Edge or IE. (In chrome it does work.)
Further, I get the red JS error in Edge when attempting to relocate an item 
within tab Open.

<:-)

-- 
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/d738a28f-2509-4d16-af2d-b3e5f0e594e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to set the height and width of edit-text input boxes?

2017-03-20 Thread Dave
FYI, this question is answered here if anyone tagged here is still 
interested:

https://groups.google.com/forum/?utm_medium=email_source=footer#!topic/tiddlywiki/NrbkLandFP4


-- 
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/ae6d3a29-a7de-451d-850f-4dbbc00b3dbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: force set width on multi-line edit-text widget

2017-03-20 Thread Dave
Yes! that's it (both)

Actually this is a bonus value:  Eric's gives a situation where the height 
is strictly enforced (i.e. the resize handle doesn't even work) - sometimes 
you want that,
and Thomas's version gives a specified initial state, but you can resize if 
you want.


Thank you Eric and Thomas!

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


Re: [tw] [TW5] User interface for copy by value (vs reference) operations on singleton tiddlers

2017-03-20 Thread Jeremy Ruston
Hi Daniel

> On 20 Mar 2017, at 18:48, Daniel Cunningham  wrote:
> 
> To import the one tiddler from the source wiki took about 120 clicks, as I 
> had to disable all the tiddlers that I did not want to copy over.  That's a 
> lot of clickity-clicking!  I did not see any "select/deselect all", which 
> could have made it take only 2 or 3 clicks.  

Thanks for reminding me; I’ve added a new select all/none checkbox in the 
heading of the $:/Import tiddler for 5.1.14. There’s a prerelease you can try 
at:

http://tiddlywiki.com/prerelease 

Best wishes

Jeremy

-- 
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/2D72087C-A465-486D-A521-CC0D2B998169%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] User interface for copy by value (vs reference) operations on singleton tiddlers

2017-03-20 Thread Thomas Elmiger
Hi

It is also possible to perform a search and drag a title from the search 
results (the list in the popup) directly. 

As Eric noted, you can drag any LINK pointing to the tiddler you want to copy 
(no visible URL needed). 

All the best! 
Thomas 

(In Firefox I can drag from one tab to another tab in the same window.)

-- 
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/a41b0352-c9e4-42b1-8d6a-9cbd79b6d433%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: force set width on multi-line edit-text widget

2017-03-20 Thread Thomas Elmiger
Hi Dave and Eric

There is a minHeight attribute according to 
http://tiddlywiki.com/#EditTextWidget

Did you try this minHeight?

It worked for me like this: 

<$edit-text tiddler="$:/plugins/telmiger/Clipboard/cb" placeholder="Clipboard" 
default="This is your clipboard." rows="2" minHeight="2em" 
class="te-cb-edittext"/>

Maybe you will have to specify an adequate number of rows (lines) too. See 
https://www.w3schools.com/tags/att_textarea_rows.asp

Good luck!
Thomas 

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


[tw] Re: [TW5] User interface for copy by value (vs reference) operations on singleton tiddlers

2017-03-20 Thread Eric Shulman
On Monday, March 20, 2017 at 12:21:54 PM UTC-7, BJ wrote:
>
> Hi Daniel,
> you can drag tiddlers from the 'open' tab on the right hand side - just 
> open the tiddler you want to copy, then drag it from the list in the 'open' 
> tab to the destination tiddlywiki
>

Step by step:

1) Open both the "source" TW and "target" TW in separate browser windows
2) In the source TW, find a link to the desired tiddler (e.g., in the 
sidebar, or in any other content where there is a link to the tiddler)
3) Drag that link from the source window to the target window
4) Move near the TOP of the target window, a green "drop here" bar will 
appear
5) Drop the link
6) A core-generated $:/Import tiddler will appear, listing ONLY the tiddler 
you dropped.
7) Press the Import button

Note: if you want to import a few tiddlers at once, you can drag/drop each 
of them, one at a time, to the target TW.  This adds them to the $:/Import 
list.  When you have all the tiddler you want listed, press Import once to 
complete the action.

enjoy,
-e
Eric Shulman
TiddlyTools: "Small Tools for Big Ideas" (tm)
InsideTiddlyWiki: The Missing Manuals

-- 
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/efd99656-3fec-4d13-bfad-a5dfe3ee9cd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: force set width on multi-line edit-text widget

2017-03-20 Thread Eric Shulman
On Monday, March 20, 2017 at 10:55:14 AM UTC-7, Dave wrote:
>
>
>> Is it maybe browser dependent?  I mainly use firefox.
>>
>> Nope, same thing on Chrome :'( 
>

hmm it turns out that the TWCore is setting the height of the textarea 
element explicitly (i.e., not through a CSS rule, but rather by directly 
setting the property on the element.  This is based on the EditorToolbar's 
"editor-height" selection (auto size to fit content vs fixed height)

$:/core/ui/EditorToolbar/editor-height-dropdown 


To override this value for your custom input field (but NOT for all 
textarea elements), you can add "!important" to the height property in your 
CSS:

.myTextEdit { width:50em; height:10em !important; }

That should do it.

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/94ca2662-0108-445e-8305-557ff89c96e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] AboveStory content with Classic vs Pop Story views

2017-03-20 Thread Jeff Vance
Ok, I did yet another experiment and things are looking promising.  I tried 
this Top Story View as an alternative to the classic:  
https://github.com/felixhayashi/TW5-TopStoryView

It turns out the Top StoryView *does* scroll so the AboveStory content is 
visible...although for some reason the exact scrolling position of 
selecting a new title is slightly odd to me. I will investigate more, but I 
think this is close to the solution I want.

-- 
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/ac4f16b2-0a63-4bff-8e1e-7ca418eb38ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Newbie question: Place a transcluded viewTemplate content before text in a tiddler

2017-03-20 Thread Feng Kevin
Hi, 
I have 0 knowledge to programming but I am trying to make tiddlywiki my 
personal database.

I am using the following viewTemplate (with the help of skeeve's NewTiddler 
Widget ):

<$list filter="[is[current]tag[person]]">

|!Street |{{!!street}} |
|!Town |{{!!town}} |
|!Phone |{{!!phone}} |

{{!!descriptiontext}}




I also need to type complicate text (often with tables and format) to the 
target tiddlers and show it AFTER the transcluded text. but I always find 
it otherwise.

I can think of 2 solutions: 
1 find a way to place the tiddler text after the transcluded text. I tryied 
to include the {{!!text}} in the template above but the result is only a 
duplicated text.
2 Add a field to include those complcate text, but I need to transclude the 
field and show it with format, or it will only be displayed as plain text 
(without line breaks which makes tables impossible)

Thank you for reading this stupid question and if you can write something 
to guide me, it would be awesome.

Kevin

-- 
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/659bbcce-5a06-4b96-940d-f8c21d3b0a71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] User interface for copy by value (vs reference) operations on singleton tiddlers

2017-03-20 Thread BJ
Hi Daniel,
you can drag tiddlers from the 'open' tab on the right hand side - just 
open the tiddler you want to copy, then drag it from the list in the 'open' 
tab to the destination tidwiki

all the best
BJ

On Monday, March 20, 2017 at 7:48:09 PM UTC+1, Daniel Cunningham wrote:
>
> Hi All:
>
> I hope this is not going to be an embarrassing question.  But I did search 
> the docs and groups/forums to no avail, so here goes...
>
> I am trying to do a copy of a single tiddler from one local TW5 file to 
> another.  For example, an "action item" exists in a small "to-do list" TW5 
> wiki, but perhaps now I am wanting to file & cross reference it into a 
> larger "research notes" TW5 wiki, and then delete it from the "action 
> items" wiki (which I want to keep as small as possible).
>
> I see from the TW5 docs that a copy operation is done by a drag & drop of 
> the source URL onto the destination browser window.  So I generated a 
> permalink for the tiddler in the "source window", and dragged it onto the 
> destination window, which kicked off the import process.
>
> The result of this is import process yields a tiddler with a URI to the 
> permalink.  So it's (kind of) like a "copy-by-reference".  What I seek is 
> more of a a "copy-by-value".  So then I tried the "import" tool via the 
> tool tab.  Which will work to do the copy by value.  But...
>
> ...For a single tiddler, it's not very user friendly. To import the one 
> tiddler from the source wiki took about 120 clicks, as I had to disable all 
> the tiddlers that I did not want to copy over.  That's a lot of 
> clickity-clicking!  I did not see any "select/deselect all", which could 
> have made it take only 2 or 3 clicks.  
>
> So, am I missing a key user interface?  It there a simpler way to import 
> (or copy by value) the content (versus the URI/URL) of a single tiddler?  
>
> I can see one response being: "why not just cut/paste"?  As I explore TW5, 
> and think about moving tiddlers from one TW5 "notebook" to another, I also 
> think it's important to try to preserve tagging states, and also custom 
> field states, which a simple copy/paste operation seems insufficient to 
> do.  
>
> If it's missing functionality, perhaps a column header with the 
> aforementioned "select/deselect all/none" functionality would suffice?
>
> Details: I am operating TW5 with Firefox 50.0.2 on Linux Mint 18 (Sarah) 
> XFCE (and loving it, BTW).
>
> Best regards,
>
> -- Daniel
>
>
>

-- 
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/e1438af3-6d1c-4fc1-ad9a-78895e82de4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] AboveStory content with Classic vs Pop Story views

2017-03-20 Thread Jeff Vance

I experimented some more with this, comparing the Classic story view to the 
Pop story view.  I also looked at the code in 
$:/core/modules/storyviews/pop.js and 
$:/core/modules/storyviews/classic.js.  I'm really confused why there is a 
difference in scrolling between these when there is AboveStory content.  I 
was thinking maybe I can modify classic.js so that the default scrolling is 
the same as pop.js, but nothing I do seems to help.  Basically, all I want 
is for Classic story view to behave the same as the Pop story view when 
opening a tiddler:  scroll to the very top of story and show the AboveStory 
content (with the new tiddler just below it).  I'm assuming it *must* be 
possible since the Pop story view is doing this already and it isn't 
significantly different. 


-- 
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/70294d49-2ae1-471b-b9fe-adc4454d5899%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] User interface for copy by value (vs reference) operations on singleton tiddlers

2017-03-20 Thread Daniel Cunningham
Hi All:

I hope this is not going to be an embarrassing question.  But I did search 
the docs and groups/forums to no avail, so here goes...

I am trying to do a copy of a single tiddler from one local TW5 file to 
another.  For example, an "action item" exists in a small "to-do list" TW5 
wiki, but perhaps now I am wanting to file & cross reference it into a 
larger "research notes" TW5 wiki, and then delete it from the "action 
items" wiki (which I want to keep as small as possible).

I see from the TW5 docs that a copy operation is done by a drag & drop of 
the source URL onto the destination browser window.  So I generated a 
permalink for the tiddler in the "source window", and dragged it onto the 
destination window, which kicked off the import process.

The result of this is import process yields a tiddler with a URI to the 
permalink.  So it's (kind of) like a "copy-by-reference".  What I seek is 
more of a a "copy-by-value".  So then I tried the "import" tool via the 
tool tab.  Which will work to do the copy by value.  But...

...For a single tiddler, it's not very user friendly. To import the one 
tiddler from the source wiki took about 120 clicks, as I had to disable all 
the tiddlers that I did not want to copy over.  That's a lot of 
clickity-clicking!  I did not see any "select/deselect all", which could 
have made it take only 2 or 3 clicks.  

So, am I missing a key user interface?  It there a simpler way to import 
(or copy by value) the content (versus the URI/URL) of a single tiddler?  

I can see one response being: "why not just cut/paste"?  As I explore TW5, 
and think about moving tiddlers from one TW5 "notebook" to another, I also 
think it's important to try to preserve tagging states, and also custom 
field states, which a simple copy/paste operation seems insufficient to 
do.  

If it's missing functionality, perhaps a column header with the 
aforementioned "select/deselect all/none" functionality would suffice?

Details: I am operating TW5 with Firefox 50.0.2 on Linux Mint 18 (Sarah) 
XFCE (and loving it, BTW).

Best regards,

-- Daniel


-- 
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/f234b86b-3708-46c6-b8e4-f0ace9bd7a37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: force set width on multi-line edit-text widget

2017-03-20 Thread Dave

>
>
> Is it maybe browser dependent?  I mainly use firefox.
>
> Nope, same thing on Chrome :'( 

-- 
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/64e83add-56e0-49f5-92e1-b947de713b88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Core drag-and-drop improvements

2017-03-20 Thread Alex Hough
Excellent!
Well done Jeremy and BJ!



Alex

On 20 March 2017 at 12:25, Matthew Lauber  wrote:

> Ooh, I have some things to build with this Thanks Jeremy!
>
> Matt
>
> On Sunday, March 19, 2017 at 3:51:21 PM UTC-4, Jeremy Ruston wrote:
>>
>> I’m very happy to announce much better core support for drag-and-drop in
>> 5.1.14, with quite a few new features for end users:
>>
>> * drag and drop the entries in the “open” sidebar list to rearrange the
>> ordering of the open tiddlers
>> * drag tiddler titles into the “open” sidebar list to open those tiddlers
>> at a chosen position in the story river
>> * drag and drop the entries in a tag dropdown to rearrange the ordering
>> of the tagged items
>> * drag tiddler titles into the open tag dropdown to add that tag to those
>> tiddlers
>> * drag a tag pill to drag all of the tiddlers that carry that tag. This
>> feature can be used to drag multiple tiddlers between wikis in separate
>> windows, or to drag multiple items in the scenarios above
>>
>> I’ve posted a prerelease so that you can try the new functionality; I’d
>> welcome any feedback:
>>
>> http://tiddlywiki.com/prerelease
>>
>> I’ve yet to add any documentation for the components that make up these
>> new features:
>>
>> * <$draggable> widget
>> * <$droppable> widget
>> * insertbefore filter operator
>>
>> You can see the detailed changes in the commit log:
>>
>> https://github.com/Jermolene/TiddlyWiki5/commit/eba1c3c160c6
>> 3ac3dfc15f55df086971a832d657
>>
>> Drag-and-drop has been on the todo list for a long time. BJ released an
>> enhancement of the list widget that supported drag and drop a year or two
>> ago, and it had been my itntention to engineer it into the core. As it has
>> turned out, the eventual implementation is more granular, adding a handful
>> of new primitives that can be combined together and with existing
>> components to produce various effects.
>>
>> Best wishes
>>
>> Jeremy.
>>
>> --
> 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/79d19861-4023-4382-b673-3749f4e85694%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

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


[tw] Re: Like TiddlySpot but using https.

2017-03-20 Thread Lost Admin
*Status Update on my https project*

Hopefully I'm not wasting people's time with this post. 

Instead of spending the weekend making modifications to store.php (to 
support a more secure password file) and some behind the scenes 
re-configuring of the web server, I decided to have another look at 
Jeremy's suggestion of using WebDAV for saving.

My initial plan with the VM was to set-up OwnCloud (and hosting my own 
tiddlywiki was incidental to that). I abandoned that plan because of the 
memory requirements of OwnCloud (I wasn't willing to pay for a VM with 
enough RAM). However, just implemeting the WebDAV module of Lighttpd is a 
different story.

So, I spent a chunk of the weekend re-building my set-up to do that. It 
works pretty well. Unfortunately it leads to some security issues I'm not 
ready to deal with in a multi-user environment. There is no built-in way 
(that I found) to limit the files that could be uploaded (I found some ways 
to limit per-file size but not per-user size, file names, or file types). 
This opens up a problem where it is far too easy for a malicious user to 
host nasty things if they find it. It also added a lot of complexity in 
setting-up individual repositories with the features I want. I may re-visit 
WebDAV in the future as I think these things are resolvable, just not in a 
weekend (at least not by me).

I did manage to swap out password management in store.php such that the 
back-end file now uses the same file format as Apache digest authentication 
(which is also used by Lighttpd). This doesn't involve changes to 
TiddlyWiki, so it is still transmitting the password in clear between the 
browser and the server. Only the back-end no longer stores passwords in 
clear text. Unfortunately, the WebDAV experiments left the web server all 
messed up and I didn't have time to clean things up to be usable.

I do think that long-term WebDAV is still the way I want to go. I just need 
to figure out how to introduce appropriate logic to better control and 
separate users.

-- 
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/ed536378-0f4f-4120-b0d9-a69898907e33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: force set width on multi-line edit-text widget

2017-03-20 Thread Dave
That doesn't seem to work for me, e.g. if I change it to 40em x 40em its 
still a long rectangle (horizontal). 

Is it maybe browser dependent?  I mainly use firefox.

-- 
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/cdb432b1-3b9e-43ed-95f5-4390a7902c86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Do I need to convert all my TW5's to version 5.1.13 ?

2017-03-20 Thread Jed Carty
It sounds like you may have a few things mixed up.

JSON is a way to represent data and is in no way specific to tiddlywiki. I 
believe that what you are referring to as JSON is the node version of 
tiddlywiki.

Are the pre-5.1.13 wiki single file html files? In what way will they not 
load? Would they load before?

I think that what you want to do is to split up all of your existing singe 
file tiddlywikis into .tid files and then share these files between 
separate wikis when running under nodejs, but that isn't very clear from 
what you are saying.

-- 
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/cd6e9899-298a-463d-be86-9b3271b4b752%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Core drag-and-drop improvements

2017-03-20 Thread Matthew Lauber
Ooh, I have some things to build with this Thanks Jeremy!

Matt

On Sunday, March 19, 2017 at 3:51:21 PM UTC-4, Jeremy Ruston wrote:
>
> I’m very happy to announce much better core support for drag-and-drop in 
> 5.1.14, with quite a few new features for end users:
>
> * drag and drop the entries in the “open” sidebar list to rearrange the 
> ordering of the open tiddlers
> * drag tiddler titles into the “open” sidebar list to open those tiddlers 
> at a chosen position in the story river
> * drag and drop the entries in a tag dropdown to rearrange the ordering of 
> the tagged items
> * drag tiddler titles into the open tag dropdown to add that tag to those 
> tiddlers
> * drag a tag pill to drag all of the tiddlers that carry that tag. This 
> feature can be used to drag multiple tiddlers between wikis in separate 
> windows, or to drag multiple items in the scenarios above
>
> I’ve posted a prerelease so that you can try the new functionality; I’d 
> welcome any feedback:
>
> http://tiddlywiki.com/prerelease
>
> I’ve yet to add any documentation for the components that make up these 
> new features:
>
> * <$draggable> widget
> * <$droppable> widget
> * insertbefore filter operator
>  
> You can see the detailed changes in the commit log:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/eba1c3c160c63ac3dfc15f55df086971a832d657
>
> Drag-and-drop has been on the todo list for a long time. BJ released an 
> enhancement of the list widget that supported drag and drop a year or two 
> ago, and it had been my itntention to engineer it into the core. As it has 
> turned out, the eventual implementation is more granular, adding a handful 
> of new primitives that can be combined together and with existing 
> components to produce various effects.
>
> Best wishes
>
> Jeremy.
>
>

-- 
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/79d19861-4023-4382-b673-3749f4e85694%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Substring of tiddler name

2017-03-20 Thread PMario
Hi Steve,

Substring can be solved with a macro as "The Bo" did. ... 

If we needed more complicated patterns, something that has been discussed 
at: https://groups.google.com/forum/#!topic/tiddlywikidev/qSNdKIZWNrc ... 
would be needed. 

-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/dd350dfd-af13-45de-b8ff-9b15a3a3fa69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Substring of tiddler name

2017-03-20 Thread The Bo
Hey,

you could try it with a "substring" macro like this:

/*\
title: $:/substring_from_to
type: application/javascript
module-type: macro

A macro to get certain characters from a string.

\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

/*
Information about this macro
*/

exports.name = "substr";
exports.params = [
  {name: "from",default:"0"},
  {name: "to", default:"0"}
]; 
/*
Run the macro
*/
exports.run = function(from, to) {

var tiddlertitle = this.getVariable("currentTiddler");
 if (to !== "0") {
 return tiddlertitle.substring(from,to);
 } else {
 return tiddlertitle.substring(from);
}

};
})();

tag: $:/tag/Macro
type: application/javascript
module-type: macro


Usage: (even with a Filter)
<$list filter="[!is[system]!is[shadow]tag[yourTag]]">

<$link to=<>><>


Regards,
The Bo

Am Freitag, 17. März 2017 22:13:00 UTC+1 schrieb stevesuny:
>
>  Hi, 
>
> this topic seems to have come up before, but without a clear answer.
>
> How do I define a substring with  the first x characters of a tiddler name?
>
> If I have $tiddler$ named "01 01 Long name of tiddler" (those are spaces) 
> I'd like to be extract "01 01" to <> so I can write <$link 
> to="$tiddler$><> to display "01 01" as a link.
>
> Thanks!
>
> (It seems I could play with prefix, but I kind of messed up with my 
> tiddler names by having two spaces, so I can't make a prefix of the first 
> five characters...)
>
> //steve.
>
>
>

-- 
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/ea8915ed-aae4-4bca-92ec-b0ab23ed2fdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Voicing Futures ...

2017-03-20 Thread tejjyid


On Friday, 17 March 2017 03:14:39 UTC+11, A M Alfaro wrote:
>
> Arlen,
>
>
> I'm a part of the minority which cannot use USB sticks at work. Security 
> recognizes and blocks flash drives. The more restrictive my environment 
> becomes, the more I dread the day I can't even get TW at work. I tired to 
> email a copy of my project management wiki to myself at home and it was 
> blocked based on content and file size. I imagine one day I won't be able 
> to email myself an empty wiki from home to work, which is what I did to get 
> it last month. I could get to the website but couldn't download an empty 
> copy.
>
> ---
>
> And
>
>
> I think I get the analogy you're trying to make, but I believe the premise 
> is slightly off because Excel is a complete package, meaning it's designed 
> from top to bottom for all "parts" to work together. Tiddlywiki and the 
> browsers are not designed that way. The only way to solve that would be for 
> Jeremy to repackage the single file application as that "Excel"-type of 
> program. I don't know anything about the JSON side of TW, so it could be 
> that it provides this type of solution (?).
>

No - I haven't expressed myself clearly, but I think we actually agree. The 
problem is that TW *isn't* a single-file architecture. It needs other 
programs to support it, not just an OS. and now, increasingly those 
programs don't. So I think the problem is deep.  

>
> Also for clarification, TiddlyFox is just a FireFox addon that smooths the 
> user's saving experience. It isn't a tool being manipulated by TW which 
> seems to be how you're describing it. In fact, what you're describing as 
> the future of TW is already in trouble and continues to be TW's recurring 
> problem. Browser security continues to evolve in ways that close off the 
> function TW needs to smoothly save over itself. That elegance is at the 
> mercy of the browser developers. 
>
> My bad - I was thinking TiddlyDesk, but my fingers were thinking something 
else. IMO TiddlyDesk is the only future of the so-called single-file TW.
 

> 
>
>
> I completely get that mine is an unpopular opinion but I'm not seeing any 
> way around it: Jeremy's fallback measure of using the Save dialog will 
> become the only available way of saving TW in the future. I don't think of 
> it as inelegant; I think TW users just aren't used to it and are loathe to 
> accept it. Like I said before, we got used to a different experience. We 
> have the expectation of it. Maybe it's time we reset our expectations on 
> this one thing? Is it truly so disruptive to the user experience? I don't 
> think so.
>
> From my point of view, it's actually much easier now that TW "falls back" 
> to the Save dialog.
>
> Peace,
> Anita
>

-- 
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/aff9590b-642a-40c9-b1b7-01d359502616%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Core drag-and-drop improvements

2017-03-20 Thread Handoko Suwono
I asked once about drag and drop, so I am reposting to following the 
updates. 

"A friend asked. Is there any chance to use TW with the drop and drag 
functions or I don't know how? I think it's about anything related to drop 
and drag' and possibly related to work with tiddly desktop or the new 
beaker browser on OSx."


Thanks.

handoko -

On Monday, March 20, 2017 at 2:51:21 AM UTC+7, Jeremy Ruston wrote:
>
> I’m very happy to announce much better core support for drag-and-drop in 
> 5.1.14, with quite a few new features for end users:
>
> * drag and drop the entries in the “open” sidebar list to rearrange the 
> ordering of the open tiddlers
> * drag tiddler titles into the “open” sidebar list to open those tiddlers 
> at a chosen position in the story river
> * drag and drop the entries in a tag dropdown to rearrange the ordering of 
> the tagged items
> * drag tiddler titles into the open tag dropdown to add that tag to those 
> tiddlers
> * drag a tag pill to drag all of the tiddlers that carry that tag. This 
> feature can be used to drag multiple tiddlers between wikis in separate 
> windows, or to drag multiple items in the scenarios above
>
> I’ve posted a prerelease so that you can try the new functionality; I’d 
> welcome any feedback:
>
> http://tiddlywiki.com/prerelease
>
> I’ve yet to add any documentation for the components that make up these 
> new features:
>
> * <$draggable> widget
> * <$droppable> widget
> * insertbefore filter operator
>  
> You can see the detailed changes in the commit log:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/eba1c3c160c63ac3dfc15f55df086971a832d657
>
> Drag-and-drop has been on the todo list for a long time. BJ released an 
> enhancement of the list widget that supported drag and drop a year or two 
> ago, and it had been my itntention to engineer it into the core. As it has 
> turned out, the eventual implementation is more granular, adding a handful 
> of new primitives that can be combined together and with existing 
> components to produce various effects.
>
> Best wishes
>
> Jeremy.
>
>

-- 
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/aca1a9a5-99bc-4e30-8a67-21decd520733%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.