[tw5] Re: Global Shortcuts and action Macro defined in other tiddlers

2019-06-19 Thread PMario
Hi, 

You can create 2 tiddlers A and B

A contains: 

\import B

<>

B contains

\define b() bb



have fun!
mario

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


[tw5] Re: Global Shortcuts and action Macro defined in other tiddlers

2019-06-19 Thread PMario
On Wednesday, June 19, 2019 at 6:29:23 AM UTC+2, Mohammad wrote:
...

> But it does not work!
>

"it" is not specific enough. ... IMO we could help if the line ends with ?
 

> Furthermore if a macro definea in a tiddler tagged with $:/tags/Macro why 
> they should again imported using \import pragma?
> What will be happened if the $:/tags/Macro removed and only \Pragma used?
>

TW uses a lot of conventions. System tags like $:/tags/Macro is one of 
them. It is used in the PageTemplate 
tiddler. Which 
contains: 

\import [[$:/core/ui/PageMacros]] 
[all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]   in the 4th line. 

While PageTemplate is very early in the TW widget tree, there are still 
several elements outside. eg: the root-widget and the html "document" 
element, which is No 1. Global shortcuts are activated at TW startup at a 
time, where PageTemplate doesn't exist yet. .. So they are bound to the 
"document" element. 

So if you use macros, that are defined outside the "global keyboard 
shortcut" tiddler, you'll need to import them. ... BUT be aware, that the 
line above, is very heavy weight, because it reloads ALL existing macros. 
... So 

\import my-macro-tiddler 

is the better option here. 
 

> Is there any example to give a try on this?
>

"this" again not specific enough. this ... the global shortcut or this the 
\import pragma (which does work btw)

have fun!
mario

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


[tw5] Re: Navigation Issue: Small tiddlers all on the screen

2019-06-17 Thread PMario
On Monday, June 17, 2019 at 11:55:29 PM UTC+2, TonyM wrote:
..

> "Focus tiddler" button could be a good name because I think once we have 
> the ability to have a focused tiddler people will innovate around that. For 
> example they may make a sidebar tab that lists the focused tiddlers fields 
> or references and backlinks. Or a quick edit view etc.


This should be relatively easy to implement. ... The mechanism is similar 
to the "HotZone" plugin from tiddlymap. ... But the implementation is 
"simpler", since it only uses existing TW core functions. 

-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/812677c5-99a1-4e10-a7c5-5f933e513f48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Navigation Issue: Small tiddlers all on the screen

2019-06-17 Thread PMario
On Monday, June 17, 2019 at 8:11:39 PM UTC+2, Mohammad wrote:
... 

> I also hope this also simplify the story and history mechanism.
>

I'm not sure about this one. ... It doesn't change any mechanisms. At the 
moment, it only uses mechanisms that already exist in TW, which are "kind 
of hidden" at the moment. 

But the idea is, .. in the future .., to have a simple mechanism to deal 
with several story-rivers. There has been a proposal at github 
some time ago, which 
goes into the same direction. 

-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/74383f2e-0468-4b83-bfc1-d6c71a07ff1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Navigation Issue: Small tiddlers all on the screen

2019-06-17 Thread PMario
On Monday, June 17, 2019 at 4:25:02 PM UTC+2, PMario wrote:
>
> On Monday, June 17, 2019 at 11:56:24 AM UTC+2, TonyM wrote:
> ...
>
>> I am really looking forward to a focused tiddler. will be able to somehow 
>> add the ability click on a tiddler in the story view to cause it to be 
>> focused or only from such a toc.
>>
>> great addition
>>
>
> The idea is to have a 2 way communication between the TOC and the story. 
> BUT ... The TW tagging has to be simplified first. I did already check, 
> what needs to be done. .. It isn't that hard. Just manually remove some 
> tags, to make the toc-structure "unique". That's it.  So it should be 
> enough, to change the doc-tiddlers a little bit. 
>

I'm not 100% sure if the "focused-tiddler" plugin is able to handle the 
full 2 way communication, or if we need a button in the ViewTemplate. ... 
Something like "Show in TOC". 

For big and nested TOCs it may be a problem, if it has to do the 
"open/close" logic in a fast pace, on story scroll. At the moment the 
focused-tiddler logic waits 100ms, to be sure the user stopped scrolling. 
Then it updates the focused-tiddler history field. The rest is done by TW 
and it's "on-change" redraw magic. 

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/38b6b8f8-3657-414c-8fb1-69bb664f8f20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Navigation Issue: Small tiddlers all on the screen

2019-06-17 Thread PMario
On Monday, June 17, 2019 at 11:56:24 AM UTC+2, TonyM wrote:
...

> I am really looking forward to a focused tiddler. will be able to somehow 
> add the ability click on a tiddler in the story view to cause it to be 
> focused or only from such a toc.
>
> great addition
>

The idea is to have a 2 way communication between the TOC and the story. 
BUT ... The TW tagging has to be simplified first. I did already check, 
what needs to be done. .. It isn't that hard. Just manually remove some 
tags, to make the toc-structure "unique". That's it.  So it should be 
enough, to change the doc-tiddlers a little bit. 

have fun!
mario

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


[tw5] Re: Navigation Issue: Small tiddlers all on the screen

2019-06-17 Thread PMario
Hi Mohammad, 

I did add a "fix toc" pull request [1], last week. This PR also contains a 
very little (but extremely powerful) new feature, that will let us 
highlight a so called "focused-tiddler". .. 

This focused tiddler can be different to the current-tiddler element of the 
$:/HistoryList. It will allow us to eg: style the focused tiddler border. 
In the future, it will be easy to make focus changes visible. ... 

With the PR the focused tiddler status is used to highlight the "current" 
element in the sidebar TOC. .. With a plugin, this behaviour can be 
extended. So if an open tiddler reaches the eg: upper 1/3 of the screen, 
the focused-tiddler field will be updated, in the TOC. So you can see, 
which tiddler is "active" at the moment. 

I did release a video about the TOC refactoring some time ago. .. The 
behaviour described above can be seen  
from about: 3:20 - 4:40.  

The plugin _is not_ part of the PR. It will be published at wikilabs, once 
the PR is merged. I hope, it will be merged and published with 5.1.20. ... 

The PR still contains a glitch, that I have to fix, this week, since I've 
been on holidays last week :)

The full video [2] also demonstrates some functions, that I did remove from 
the PR, to increase the chance to get the PR merged. 

have fun!
mario

[1] the PR: https://github.com/Jermolene/TiddlyWiki5/pull/3975
[2] the full Video about TOC refactoring status: 
https://www.youtube.com/watch?v=iaevaODdKyA


-- 
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/112a71c1-24bf-420c-9e3b-e85838935c11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Switch between different Story view and the Tiddler under focus

2019-06-14 Thread PMario
Hi Mohamad, 

There is, but IMO it would need a little bit of work in the core 
storyview.js modules. ... The storyview eg: classic.js controls mainly the 
animation process, that's assigned to the view. ... IMO those modules would 
need a "onActivation" function, that is called if the view mode is 
activated. ... and or an "onDeactivated" for a cleanup. 

Those functions could reliably do what is needed to keep the right tiddler 
in focus. 

-have fun!
mario

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


[tw5] Re: Plausible deniability

2019-06-13 Thread PMario
Hi,

I think, the only way that makes sense is encrypting them. 

-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/5091aac9-cc62-4ba7-b034-bb7e0bc6b16b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tree Macro built in core

2019-06-13 Thread PMario
Hi,

On Wednesday, June 12, 2019 at 11:49:45 PM UTC+2, Damon Pritchett wrote:
>
> Ok - I see. My tiddlers don't have a "/" in any of their names so that 
> explains it. A couple more questions now. What does the "chunk" parameter 
> do? 
>

We call it a "namespace" eg: $:/ is a shortcut namespace for all system 
tiddlers. 

$:/core/ ... core stuff and so on. 
 

> Also, would it be terribly difficult to modify the macro to list the 
> folders first and also not to exclude the prefix from the listed tiddler 
> names?
>

It wasn't designed, to be used that way. So it would probably be a rewrite. 

-mario

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


[tw5] Re: Edit-Text to Data Tiddler Lookup

2019-06-12 Thread PMario
Hi,
As Mark pointed out: field-names MUST be lower case.
-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/615f59b9-6892-4738-bc94-c4d2dfa100f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Is there a reverse for the filter [getindex[]]

2019-06-11 Thread PMario
On Tuesday, June 11, 2019 at 4:55:45 PM UTC+2, Jan wrote:
>
> Hi Mario,
> this goes into the right direction...but it seems to be finished yet in a 
> way that I can get (only) the keys which have a certain value...
>

The "digit-pattern" is just an example. It uses a regexp specification to 
create a filter. ... So whatever you can create with a regexp, you can use 
as a filter for the keys and the values, if you want. 

Have a closer look at the examples. ... At the end there are 2 links about 
regexp info.
 

> but thanks a lot I see how I can modify it.
>

As written above. ... The TW parser is based on regexp patterns. ... So you 
should be able to filter for almost everything.

Can you post your key pattern?

-mario

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


[tw5] Re: Is there a reverse for the filter [getindex[]]

2019-06-11 Thread PMario
Hi, 
I'm not sure, but have a look at: http://3971.tiddlyspot.com/ and 
https://github.com/Jermolene/TiddlyWiki5/pull/3971
-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/264781d0-ce5c-4782-b0f7-c542018809c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TOC] Table of Content - refactoring - ... again ;)

2019-06-10 Thread PMario
Hi, 
I'm creating a new PR atm. ... 

An official "exclude" parameter will be part of the fix. 

The "focused-tiddler" plugin will not be part of the PR. It will be a new 
wikilabs plugin.

-mario

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


[tw5] Re: Count data dictionary values

2019-06-09 Thread PMario
Hi Watt, 

Be aware: The "sum[]" operator will only work with TW version 5.1.20+

Try this.

<$set name="digit-pattern" value="[0][0-9]">
<$list filter="[tag[test-data]keyvalues:key,value:-->sum[]]" 
variable=item>
<>



In the above example, it uses every data tiddler tagged: test-data
 is used to define the range eg: if you use [0][0-2] you'll 
limit it to 00, 01, 02 indices.

Without sum[] it looks like

<$list filter="[tag[xx]keyvalues:key,value:-->:usevalue[1]count[]]" 
variable=item>
<>


I did create a video series, some time ago, where I did explain everything 
step by step. One element of the project is manipulating data-tiddlers. ... 
Because I did have some trouble using it, I did create the PR now. If I 
would have had the new "keyvalues" operator, I think it would have been 
easier. 

There is an edition, you can play with. 

see: TiddlyWiki Script and ToDo manager HowTo

The Intro post is here: 
https://groups.google.com/forum/#!msg/tiddlywiki/_VQw8yIKWn8/G8TO8h6MCAAJ

have fun!
mario

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


[tw5] Re: Count data dictionary values

2019-06-08 Thread PMario
I know what you mean. The problem is, that filter operators have no knowledge 
about the widget context they are called in. They are designed to have no side 
effects. 

-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/621909d8-b741-47bb-b6d0-6590cdc09c82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Count data dictionary values

2019-06-08 Thread PMario
Hi. I did have a look at those possibilities but I couldn't find a way that 
filter operators can return internal values to the calling widget. 
-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/9c579569-adaa-433b-aaf7-4383a887de44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Count data dictionary values

2019-06-07 Thread PMario
Hi, 

BE AWARE: The whole thing is still beta. 5.1.20 isn't released yet. 

I did just create a PR at github: 
https://github.com/Jermolene/TiddlyWiki5/pull/3971
and a test version is uploaded to tiddlyspot: http://3971.tiddlyspot.com

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/95635bec-b8e5-47eb-8ddd-63f4949a928e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Styling and sizing images as buttons

2019-06-07 Thread PMario
Hi David, 

You can try: .tc-tiddler-controls button svg

My CSS was meant as an example, if you transclude the icons into a tiddler. 
... 

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8cb378e9-27cd-4b5c-aaf0-9d0502b082a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Get Tiddler information in a Macro

2019-06-07 Thread PMario
Hi Milind, 

I want to get all the content of the tiddler and get a list of headings, 
> images, links in the tiddler. How can I do that? 
>

If you want to track

 - ! heading
 - [[links]]
 - [img[image-links]]

only it should be doable, if you dig into the parse-tree. 



What makes it hard is: transclusion and the list-widget. eg: 

Tiddler A contains an image link like so: [img[Motovun Jack.jpg]]
Tiddler B contains {{Tiddler A}}

So if you call your macro in Tiddler *B*. Should it know about the link in 
Tiddler A??

--

<> ... gives you 6 links. 

What should happen here? 

have fun!
mario



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


[tw5] Re: Basic Question about JavaScript

2019-06-07 Thread PMario
Hi, 

If you want to define a variable in TW, there are different ways. 

1) set-widget: https://tiddlywiki.com/#SetWidget
2) vars-widget: https://tiddlywiki.com/#VarsWidget
3) \define aMacro() : see Macros in wikitext 


Variables have a scope. Try this eg: 

\define aMacro()
just some text.
\end

<$set name="var1" value="VAR1">
  <> - <>
  <$set name="var1" value="xxx">
<> - <>
  


<$vars var-a="asdf" var-b="bbb">
<> - <>


Have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/715a6b72-8bcc-466a-80f9-3f9b526234fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [Hard] Tiddler displaying parts of other tiddlers

2019-06-07 Thread PMario
Hi, 
Have a look at: 
http://tobibeer.github.io/tw5-plugins/#random:random%20random-Examples
- m

On Friday, June 7, 2019 at 12:19:34 AM UTC+2, TonyM wrote:
>
> There is a plugin for selecting random titles which I will locate and 
> share if no one beats me to it. It may be related to quizzes.
>
> Regards
> Tony
>

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


[tw5] Re: Styling and sizing images as buttons

2019-06-07 Thread PMario


On Thursday, June 6, 2019 at 5:48:56 PM UTC+2, @TiddlyTweeter wrote:
>
> PMario wrote:
>>
>> The viewBox actually isn't relevant for display width and height. 
>>
>> The viewBox setting is just an initial definition, to normalize the 
>> coordinate system. Every other x/y point is relative to this base setting. 
>> ... The smaller the numbers here, the more digits after the decimal point, 
>> are needed to maintain precision. 
>>
>
> Agreed. But if you start messing about with it you may well have trouble 
> :-).
>

That's right. q:-)
 

> Even though SVG has been around for yonks (long time) on first use it 
> still takes time to "get"? 
>

If used as a standard image, it's like any other image. Users just don't 
care. The browsers know how to deal with it :) ... But with TW we use it in 
a "special way". 

 - We want (our) svgs to be small in file size. 
 - They are designed to be relatively small in diameter, since they should 
be part of buttons. 
 - We want to modify them using CSS classes. 
- We want them to be styled by our "end-users"
 - They should look good with all screen sizes and resolutions

The cool thing is: All of these requirements can be met with svgs. 

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/59c01d7e-56a7-46c1-a61b-7635b2ce9308%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Styling and sizing images as buttons

2019-06-06 Thread PMario


On Thursday, June 6, 2019 at 3:45:52 PM UTC+2, @TiddlyTweeter wrote:
... 

> In particular the way scaling works in SVG is radically different that 
> pixel based images. Its easy. But you need to grasp how height & width work 
> in relation to the SVG ViewPort setting.
>

The viewBox actually isn't relevant for display width and height.  

The viewBox setting is just an initial definition, to normalize the 
coordinate system. Every other x/y point is relative to this base setting. 
... The smaller the numbers here, the more digits after the decimal point, 
are needed to maintain precision. 

For our icon size SVGs (0 0 128 128) is OK and 1-3 decimal digits should be 
enough, for most icons. ... 

see: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox

Much more details can be found in the SVG spec 
. 

SVG specification started 1999. So it is already 20 Years old. The standard 
is mature and well understood. ... Browser vendors started to implement 
support in ~2008. ... 

For site creators SVG became a real option in the recent years. Since the 
number of devices with different screen sizes and resolutions increased 
exponentially.

just some thoughts.

have fun!
mario


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/00db438d-8959-4b01-8eb7-2a1b2d1d1129%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Styling and sizing images as buttons

2019-06-06 Thread PMario
On Thursday, June 6, 2019 at 3:45:52 PM UTC+2, @TiddlyTweeter wrote:
...

> I suspect pretty soon PMario will end up writing the same clarifications 
> again because of lack of docs that explain how SVG in general works.
>

I'll probably just post a link to this one ;)
-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/b99ff36f-f963-423a-9335-09b19d7f1ace%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Scope of {{!!field}}

2019-06-06 Thread PMario
Hi, 
Have a closer look at: https://tiddlywiki.com/#tabs%20Macro ... Near the 
end, where it talks about the template 
-m

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


[tw5] Re: Styling and sizing images as buttons

2019-06-05 Thread PMario
Hi,
If you need bigger default values use: 

.tc-image-button {
  width: 50px;
  height: 50px;
}

No need to modify the SVGs.

-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/226f5739-b734-4d69-9281-dcbd39ee4579%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Styling and sizing images as buttons

2019-06-05 Thread PMario
On Wednesday, June 5, 2019 at 11:20:33 AM UTC+2, TonyM wrote:
>
> If I want to resize svgs up or down from 22pt in place like I can with the 
> others will these better svgs scale?


SVGs (scaleable vector graphics) are meant to be scaled. They should scale 
well. ... Since our button icons are designed for small scale, they don't 
contain a lot of details. ... 

So if you need more details you'd probably need to modify them. 

-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/21f9529d-f534-494c-a9c1-f46b52fd8e5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Styling and sizing images as buttons

2019-06-05 Thread PMario
Hi Tony, 

If you open the eg: chevron-left 
,  you'll 
see, that it actually contains a "hand crafted" SVG file. 

1st rule -> Remove the SVG overhead!

 - It only contains the pure  part. 
 - Most additional parameters are missing - eg:
-  wrapper element
- the whole meta data block

Depending on the SVG editor software you use and how you save the file, an 
SVG file can contain a lot of editor specific stuff, that is irrelevant for 
TW. 

The overhead can be significant, in terms of tiddler size and also 
usability within TW. 

2nd rule -> Use "outline" paths, so they can be filled!

If you inspect the chevron, you'll see, that it contains an outline path. 
... The code would be smaller, if it would only contain 2 simple lines. ... 
The advantage of the outline is, that we can use CSS fill style setting to 
change the SVG color. eg: 

The SVG has a class tc-image-chevron-left
which you can use to change the fill color. 

.tc-image-chevron-left {
  fill: green;
}

3rd rule --> Remove all "hardcoded" styling attributes, so they can be 
defined using CSS!

The *important part *now is -- We have to remove every fill-attributes from 
the paths. ... If it would be there, it would always win. 

Apply tc-x class definitions instead, if you need to style icon 
elements. 

4th rule --> Use proper default values

If you start a TW SVG make sure you use:

 - width="22pt" height="22pt"
 - viewBox="0 0 128 128"

5th rule --> Use a proper SVG editor

Depending on the editor, SVG files can contain a lot of bloat. ... So make 
sure, you have a save option similar to: Optimized SVG  in InkScape. 
You still have to remove some stuff manually, but the editor specific crap 
is gone. 

6th rule --> *Optimize *the SVG for size

You can use: https://jakearchibald.github.io/svgomg/ ... It has a lot of 
parameters, you can play with, to optimize the image size, without loosing 
quality. 

7th rule --> Don't embed big JPGs or PNGs 

 - They only make your file big. 
 - If you must use them, ... don't cry, if it causes problems. 

 - For me big is >100 kByte<   see k for kilo ... not M for Mega 

 - Pixel images can be optimized too!

That's it for the beginning

have fun!
mario

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


[tw5] Re: File-based TW on node.js crashes when the number of tiddlers without text field is more than ~1800

2019-06-04 Thread PMario
On Tuesday, June 4, 2019 at 12:36:02 PM UTC+2, solex wrote:
>
> Hi,
>
> I can confirm that the problem is related to text-less tiddlers (as PMario 
> suggested). 
> The problem can now be properly restated as: *File-based TW on node.js 
> crashes when the number of tiddlers without text field is more than ~1800*
> The number and structure of the rest of tiddlers doesn't matter, so long 
> as a total number of text-less tiddlers is over the threshold.
> The problem appears to be related to the "load" task dispatched by 
> syncer-server-filesystem, because apparently this task is only dispatched 
> for text-less tiddlers, but not for tiddlers with text.
>
> This looks like a bug to me, because "title" is supposed to be the only 
> required tiddler field, and also because the system fails in a non-obvious 
> way (as opposed to, say, refusing to process tiddlers that don't meet 
> certain requirements)
>
> What is the proper way to submit a bug? 
>

 - use your bold text as heading. 
 - Copy your text above to the issue at github. 
 - add a link to this thread. So we can find it easily

issue page: https://github.com/Jermolene/TiddlyWiki5/issues
 

> Should I open a Github issue?
>

Yes

-- 
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/897c300b-9036-47f7-8688-c80e072b7309%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Count data dictionary values

2019-06-04 Thread PMario

On Tuesday, June 4, 2019 at 10:22:55 AM UTC+2, PMario wrote:
>
> On Tuesday, June 4, 2019 at 8:56:02 AM UTC+2, TonyM wrote:
>>
>>
>> Do you think we could also provide values with other inputs like 
>> values values{!!fieldname} values{tiddlername!!fieldname}  if it 
>> could parse this with spaces as the delimiter then numeric lists in a 
>> variable will not be deduped and can feed into our maths operators.
>>
>
> I think this is the existing "enlist" operator.
>

uups ... missed the "deduped" :)
-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/4b726e0b-4f48-40c5-ace0-b8771d0d3894%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Count data dictionary values

2019-06-04 Thread PMario
On Tuesday, June 4, 2019 at 8:57:28 AM UTC+2, TonyM wrote:
>
> values[1 2 1 2 3]sum[]
>

same as indexes. ... no parameters

-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/4de116fd-2583-4dce-8a00-333665d4b8b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Count data dictionary values

2019-06-04 Thread PMario
Hi,

Working with data-tiddlers there is the "indexes" and the "getindex" 
operators. ... BUT they are not enough with the new math functions. 

As the OP shows. ... The new "values" operator works similar to the 
"indexes" operator, but it lists the values instead of the indexes (keys)

Since the both outputs are sorted, I also want to have an "keyvalues" 
operator, which will allow us to get both elements, and use string 
manipulation afterwards. 

-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/470da3e5-7e32-49c0-af9a-bc182120dc8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Count data dictionary values

2019-06-04 Thread PMario
On Tuesday, June 4, 2019 at 8:56:02 AM UTC+2, TonyM wrote:
>
>
> Do you think we could also provide values with other inputs like 
> values values{!!fieldname} values{tiddlername!!fieldname}  if it 
> could parse this with spaces as the delimiter then numeric lists in a 
> variable will not be deduped and can feed into our maths operators.
>

I think this is the existing "enlist" operator.

-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/c7c4481c-8d2f-451d-b663-35599e954d96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Count data dictionary values

2019-06-04 Thread PMario
Hi Folks, 

Just had a look at the code. ... It shouldn't be that hard. 

I would like to have {{{[[data]values[]sum[]]}}} ... Which should show 2 if 
the above content is a tiddler named: data. 

I do have a new "values" operator working. I'll create a pull request 
today. 

BE AWARE!! *The code above doesn't work atm*. ... It will work in 5.1.20, 
if Jeremy merges the pull request. 

have fun!
mario


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


Re: [tw5] Re: File-based TW on node.js crashes when the number of tiddlers is more than ~2000

2019-06-03 Thread PMario
Hi, 

With your attachment, I can reproduce the problem. ... I'm pretty sure it's 
because there is no text field. 

So if you could create your tiddlers with at least 3 line breaks it may 
work. 

-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/d0496360-55bc-40a5-90bd-7d83b90917de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: File-based TW on node.js crashes when the number of tiddlers is more than ~2000

2019-06-03 Thread PMario
Hi solex, 

I did create 10'000 tiddlers. They all look similar to this one and are 
about 800 bytes in size. 

created: 20190603094535523
modified: 20190603094535523
tags: t-0
title: a-0-0
type: text/vnd.tiddlywiki

123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 


There is no problem for me. 
 - I use node v10.16.0 LTS. 
 - FF latest 
 - TW 5.1.19
 - win 10

The tw server side needs about 20 seconds to start. 
It transferes about 12MByte to the browser, which needs about 4 seconds. 

So how do you create your files?

-mario


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


Re: [tw5] Re: Another datapoint on extremely large TiddlyWikis

2019-06-02 Thread PMario


On Monday, June 3, 2019 at 5:33:42 AM UTC+2, Mark S. wrote:
>
> Does field:y include field:text ?
>

There is a limit of 128 characters. So text field most of the time will be 
excluded. 

-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/9cb7f60b-00be-4bc4-beed-352ed3965aa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Are we TiddlyWikians? and what is out collective noun?

2019-06-02 Thread PMario
Mat, 
You are right. The naming is important ;)
https://www.youtube.com/watch?v=WboggjN_G-4
-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/544f1451-7ce1-413d-a421-24b164b44310%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW Obfuscation for Sharing+Debugging

2019-06-01 Thread PMario
Hi Diego, 

I absolutely second every word Tony wrote. ... 

Your desire to create a copy, that is as close as possible, to your real 
world wiki is understandable, but you have to be aware, that "on the other 
side" there are people, which have to debug your wiki in their spare time. 
The more complicated that is, the more time consuming is it. 

That's why developers like "easy to reproduce" test cases. ... And as Tony 
wrote, ... when you create the testcase the chances are high, that you see 
the problem yourself. 

If you need a code snippet, that allows you to create a big number of 
tiddlers ... "Follow the rabbit hole 
". 
You probably can modify it, that it meets your needs. 

If you visit or load a TW site, you can activate a JS scratch pad with 
shift-F4

have fun!
mario




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


[tw5] Re: question about subtitle visibility & $:/core/ui/ViewTemplate/subtitle

2019-05-31 Thread PMario
Hi,

You should do what Mat wrote. ... If you open ViewTemplates in view mode, 
some of them show stuff 2 times, because they are activated 2 times ... 

1st activation is done with PageTemplate and the 
2nd activation is done showing / viewing the tiddler content. .. So it's 
"kind" of a reflection. 

-mario


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/958dbf26-1f2f-46a1-a3f4-9a284d7772bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filtering an "or" condition

2019-05-29 Thread PMario
hi,

you ca add a sort operator 
.
  


-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/c9faec80-553b-4089-a9b6-3831185300ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filtering an "or" condition

2019-05-29 Thread PMario
On Sunday, May 26, 2019 at 8:51:56 AM UTC+2, Damon Pritchett wrote:
 

> Atchison Electric Motor & Street Railway
> Atchison Electric Street Railway
> Atchison Railway & Electric Light Company
> Atchison Railway, Electric Light & Power Company
>
> Now when I do this search: [search:title[Electric]] 
> [search:title[Street]], I only get the following:
>
> Atchison Railway & Electric Light Company
> Atchison Railway, Electric Light & Power Company
>
>
I did test this with tiddlywiki.com and it works as expected.  

So did you include plugins that mess with, or add new filter operators??

-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/31dacaf3-d297-4683-b40f-414dbaff0b79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Using an existing TW file to start a new one

2019-05-28 Thread PMario
On Tuesday, May 28, 2019 at 4:26:03 PM UTC+2, Ittay Dror wrote:
>
> I want to retain no tiddlers, just plugins and settings
>

I know. But most settings are tiddlers too!. That's why I wanted to know, 
if your settings are ControlPanel only?
-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/5fb9836e-a1af-4839-8cbb-a3acaf9815f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Using an existing TW file to start a new one

2019-05-28 Thread PMario
Hi,

On Tuesday, May 28, 2019 at 4:13:06 PM UTC+2, Ittay Dror wrote:
>
> So I have a TiddlyWiki file with tons of tiddlers, plugins and 
> customizations. I want to start a new one and retain the plugins and 
> customizations, but not the tiddlers. How can I do that? 
>

How did you do your "customizations" ... Are this settings in the 
control-panel or eg: ViewTemplate ... ?

You could use my bundler-plugin, to specify all tiddlers, that you want to 
save. see: 
https://wikilabs.github.io/editions/bundler/#%24%3A%2Fplugins%2Fwikilabs%2Fbundler:%24%3A%2Fplugins%2Fwikilabs%2Fbundler%20tiddlerlist-plus-plugin.bundle

tiddlerlist-plus-plugin.bundle ... Is just a list of tiddlers. 

In the right sidebar, there is also a "filtered bundles", that you can 
enable. 
eg: 
https://wikilabs.github.io/editions/bundler/#export-this-to-get-it-all.bundle

have fun!
mario




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


[tw5] Re: Action equivalent of click on link and other enhancements

2019-05-26 Thread PMario
On Saturday, May 25, 2019 at 11:24:36 AM UTC+2, TonyM wrote:
>
> Unfortunately not!
>
> It opens a new tiddler called "file://path/executable.exe".
>

Did you test it with "forward slashes?" like: "
file:///C:/Windows/notepad.exe"??

-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/3351703d-0e4e-4312-a598-003d5f053ef0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Shopping for Android & Windows -- Systems the world uses ... :-)

2019-05-26 Thread PMario
Hi Tony, 

I think you forgot about the WebDav savers, which IMO are a little bit 
underestimated. 

-mario

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


[tw5] Re: Looking to host a TiddlyWiki online for team project.

2019-05-26 Thread PMario
Hi, 

Just to be precise. ... The WebDav savers have been also tested with Apache 
and Nginx setups using linux or docker environments. .. So it should be an 
OS independent possibility. 

-mario

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


[tw5] Re: Looking to host a TiddlyWiki online for team project.

2019-05-26 Thread PMario
Hi,

Some time ago I did publish a short Video series, about: *How to use TW 
with Webdav 

 
and IIS on windows*. So if you have a Windows environment, you can use 
simple Authentication. ... I'm sure your IT department could also activate 
Active Directory authentication. ... 

The WebDav saver, that is part of the core, can / will save single file 
TWs. ... There is no locking mechanism at the moment. ... But it should be 
possible to activate it, with some more work.

The video was mainly meant for local usage. ... But if you already have a 
secured remote VPN like connection, it should be possible to access the 
content from outside. Your IT guys should know. 

have fun!
mario

PS: I did create a slightly different saver 
, 
that allows users to use server-side compression. Which isn't possible to 
be used with the core version. 
PPS: More info can be found at the main thread, which re-started WebDav 
discussion 

 
some time ago. 

-- 
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/4c189305-267c-4f09-b777-3a5bcde1bfe3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Action equivalent of click on link and other enhancements

2019-05-25 Thread PMario
Hi, 

may be you can use the <$action-navigate $to="file://path/executable.exe"/>. 
Didn't test it. 

-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/d98e165e-9f09-418e-a064-a3a32e290dc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TiddlyWiki for project management: How to deal with Tasks from different projects requiring the same title?

2019-05-25 Thread PMario
Hi Ed,

On Saturday, May 25, 2019 at 2:30:16 AM UTC+2, Ed Edson wrote:
...

> I hope this is an appropriate question for this forum.
>

:) it is!
 

> What is a good way to deal with projects that contain tasks with the same 
> name?
>
> For example, many of my projects involve doing a bit of research first, so 
> I will create a task called "Research". The problem is that TiddlyWiki 
> requires unique titles. In this case I cannot reuse the "Research" Tiddler 
> as the content will be different for each project.
>
> Does anyone have a good system that avoids this problem?
>

TW allows you to use very powerful filters. 

So 1 possibility (just an idea) would be to add a prefix. eg: pr/01/Research
We call this format with / ... "namespace". ... So pr/01/Research is a 
tiddler in the namespace: pr/01/

If you create a tiddler *title*: pr/01/Resaarch
Add a field named: *caption* value: Research

If you create a tiddler *title*: pr/02/Resaarch
Add a field named: *caption* value: Research

Create a new tiddler *title*: pr/01
*caption*: 

content for pr/01

<>

<]-[all[current]]">>


<$macrocall $name=tree prefix="pr/"/>

 - The first line creates a list of all tiddlers prefixed with pr/01/ where 
the name pr/01 is hardcoded. 
 - The second line creates the same list, but uses the tiddler titles as 
prefix value. 
 - The third macro call, calls the tree macro 
,
 
which is part of the core. ... Which gives a nice overview basically for 
free. 

As mentioned. This is only 1 possibility to deal with unique tiddler 
titles. ... We use the *caption *field here. 

Also have a closer look at: TaskManagementDraggable 
. 

have fun!
mario
PS: more info about fields . 




-- 
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/632ed243-6841-406c-8f8d-979618f7e645%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TiddlyWiki for project management: How to deal with Tasks from different projects requiring the same title?

2019-05-25 Thread PMario
Hi Ed, 

You could have a closer look to existing editions. 

 - https://tid.li/tw5/tdn.html  ... ToDo Now
 - https://reidgould.github.io/tiddlywiki-dropboard/ ... Dropboard

have fun!
mario

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


[tw5] Re: Action equivalent of click on link and other enhancements

2019-05-25 Thread PMario
Hi Tony, 

You could probably use the linkcatcher widget. It allows you to define 
actions, that are executed if a link is clicked. 
https://tiddlywiki.com/#LinkCatcherWidget

-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/a5caf313-bac6-447c-9db3-34099e7d49aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: What are $:/rev/20180916.04:09:42.tid files?

2019-05-23 Thread PMario
On Thursday, May 23, 2019 at 3:34:02 PM UTC+2, talha131 wrote:
...

> I think a while ago I tried a version control plugin (developed by JD) and 
> then removed it. These files could the remnants of that plugin. 
>

That's a possibility. You can open them in edit mode and have a look what 
they contain. ... 

-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/e45c3603-7b1f-4d58-8f3c-2401002eebf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: What are $:/rev/20180916.04:09:42.tid files?

2019-05-23 Thread PMario
HI, 

They are probably generated by 1 of your plugins. ... They are not from 
core. 

-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/e05610a7-c3da-4e13-8939-4c883f62f484%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Transcluding all tiddlers with tag:123 with the name of the current tiddler within the text

2019-05-20 Thread PMario
Hi, 

Tibias Beer made a good summary of examples of all kind: 
http://tobibeer.github.io/tw/filters/#Filter%20Examples:%5B%5BFilter%20Examples%5D%5D%20%5B%5Bdependent%20selects%5D%5D

have fun!
mario

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


[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-05-20 Thread PMario
On Monday, May 20, 2019 at 3:06:14 PM UTC+2, @TiddlyTweeter wrote:
>
> Repeat for email users...
>

Hi, - OT
What is this post good for?
-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/a0122ffd-ca96-40b3-9e0f-776e108621d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Visual Design Thoughts, #14 revision T7

2019-05-20 Thread PMario
On Monday, May 20, 2019 at 4:49:00 PM UTC+2, Mohammad wrote:
>
> Hi Jeremy,
>
> I strongly support this! Having css frameworks in TW can boost it and lets 
> easily adopt it for different uses like elegant web pages.
> Like Mario, I recommend a more up to date CSS even the lifetime of them 
> are around 5 years.
>

CSS grid is a generic option, that is relatively new. ... The lifetime of 
CSS grid will definitely be longer than 5 years. 

Major browser vendors removed the (experimental) vendor-prefix they used 
for a long time, in October 2017. ... Removing the vendor-prefix is similar 
to declare it production-ready, in "browser speak".

-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/4f4010dc-9d75-4cb9-b78e-42b64175fed7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Inspirational thoughts about using tags

2019-05-20 Thread PMario
Hi, 

Thx for sharing the link. ... Is this a find, or your text?

-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/be2e8eab-203d-4bdb-931c-58e0f60e2393%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Visual Design Thoughts, #14 revision T7

2019-05-19 Thread PMario
On Sunday, May 19, 2019 at 3:37:42 PM UTC+2, Jeremy Ruston wrote:
>
> I’m keen to introduce a new default theme as part of a future v5.2.x 
> version of TW5. I’d definitely be wanting to use an off-the-shelf 
> framework, and tend to favour the simpler ones that focus on typography, 
> such as Tachyons (https://tachyons.io/).
>

As far as I can see, tachions grid is based on float: left. ... Which is 
imo out of date if you want to start a new UI system. It depends on well 
defined clear-fixes , which make 
it hard for most users to do things right. 

just a thought. 

-mario

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


[tw5] Re: Batch tagging for TCG wiki

2019-05-19 Thread PMario
Hi, 

You can have a closer look to the tiddler $:/Manager 
.
and $:/TagManager . 

have fun!
mario

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


[tw5] Re: javascript in text/html tiddlers?

2019-05-19 Thread PMario
Hi,

script tags are sanitized by tiddlywiki, because of security risks.

-mario

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


[tw5] Re: Visual Design Thoughts, #14 revision T7

2019-05-16 Thread PMario
On Thursday, May 16, 2019 at 5:49:58 AM UTC+2, Mohammad wrote:
... 

> In Shiraz I tried to adopt part of bootstrap css framework! I think TW 
> will be much more powerful then!
>
 
  In a Galaxy
   Far Away and Long Ago 
  TiddlyWiki used bootstrap css
BUT it only got in the way and stepped on our feet

have fun!
mario

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


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-12 Thread PMario
Typo fixed in above post.

That's why it was replaced with TW5 DataTiddlers. ...

-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/91523939-8a78-44b5-b7b5-10c31bfe3870%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-12 Thread PMario
Hi,

With TWclassic we had a transclusion mechanism, that worked with "section 
headings". eg:

<>  this is TWc syntax.

In the example belwo <> ... would return: Movie 
Title - bla bla .. 

With this mechanism, you could transclude parts of 1 tiddler into an other. 
With this mechanism, users could create a "database-like" structure, using 
different heading levels. eg my-movie:

! Title

Movie Title - bla bla .. 

! Description

Short  info about the movie.

!! Actors

* Actore A
* Actore B
* ...

! Details

Other stuff, that may be interesting.

Using headings, the user could create a structure. If several tiddlers did 
contain the same heading-structure, this structure was an "intrinsic" 
database schema. ... Transcluding ##Description would transclude everything 
until ##Details section starts. 



The main problem is, that this mechanism is "heavy weight", in terms of 
performance, since everything has to be calculated during tiddler rendering 
phase. 

That's why it was replaced with TW5 DateTiddlers. ...

The problem with DataTiddlers [1] is, that JsonTiddlers are NOT convenient 
to edit for humans AND DictionaryTiddlers can't handle multi-line values.

-m

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

On Sunday, May 12, 2019 at 11:40:59 AM UTC+2, @TiddlyTweeter wrote:
>
> Ciao PMario & all
>
> Regarding the AIM: *to provide ability to have line breaks in fields*.
>
> I don't understand the underlying architecture. But I understand the need.
>
> This is a basic example where this utility would add to TidlyWiki and ease 
> usage. 
>
> Take the case of MOVIES. Each movie is SINGULAR (one & unique).
>
> -- At the moment if you want to maintain a dataset organised by Movie 
> Title that includes rich content, including line-breaks, its over 
> complicated. You have to have several Tiddlers per Movie as soon as you 
> include lines breaks. A simple example is ACTORS. Say you have 35 actors in 
> a movie. Is that 35 fields? 35 Actor Tiddlers? Or *better* 1 field with 
> 35 lines? 
>
>
> -- A "Movie" is a good example of a referenced object that is a whole. It 
> does not need to be spread over multiple Tiddlers. Currently for richer 
> data you have to (over)break it down.
>
>
> -- One might argue a solution here is to emulate a relational database via 
> JSON structures. But actually, I think complex (tree-nested) JSON is 
> unnecessarily complex for the specific USE CASE. 
>
>
> -- The Use Case Supposition (with good reason) is one-movie is one-thing. 
> A movie is one object... Even IF George Clooney appears in 13 other movies, 
> when I'm looking at the record for one movie I could still link to Clooney 
> but I think over-spawning "actor-tiddlers" would pretty soon ruin a TW's 
> utility in over-complexity.
>
>
> ---
>
> *Crucial point*. In my usage I want to send students ONE Tiddler per 
> movie so they can easily import it. Its needs to have a way to include line 
> breaks in fields so that I can include Plot, Logline, Actor Field & Crew, 
> all as a unit. Other routes get far too complicated.
>
> Just thoughts
> Josiah
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5bbb870e-53d3-42a0-a557-6eb67d0a3109%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-12 Thread PMario
On Sunday, May 12, 2019 at 12:45:45 PM UTC+2, @TiddlyTweeter wrote:
 

> I do think there is a difference between field structure and field 
> manipulation and in that sense I, perhaps naively, find the approach 
> slightly confusing (BUT do like the ultimate aim :-)
>

Hi, 
It's good to get feedback like this. It tells developers, where users may 
have problems. 
-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/06bbeda2-1912-4218-8b44-0d230092891b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-12 Thread PMario
On Sunday, May 12, 2019 at 12:45:45 PM UTC+2, @TiddlyTweeter wrote:
... 

> The confusion for me, I think, is Tiddlers Have Fields Already so why are 
> we adding others a different way rather than changing field behaviour? 
>

The problem is, that we don't have a structure, that allows us to use 
multi-line fields with the .tid file format. 
eg:

title: tiddler-title
tags: a b c [[d e]]
my-field: 1 line of text is possible 

text field starts here. Fields can't handle muliti-lines.

As you can see, there is no way at the moment to add multi-line fields in a 
sensible way. 

There are 2 main points which are important:

1) It must be easy for humans to read and modify
2) It should be relatively easy for machines to parse the content.

No. 1) is more important than No. 2! 

I personally think, that the existing field editing mechanism (UI) is 
cumbersome. Especially since fields are alphabetically sorted ... 

ATM there are differences between core-fields eg: created, modified, ... or 
tags. ... They have built in behaviors, which are hard for ordinary users 
to duplicate. Eg: It's hard if I want to create a field eg: my-tags, that 
behave like the tag field. Especially I want to have an automatic UI, that 
let's me handle my-tags the same way as the existing tags-dropdown. 

My proposal makes this possible with eg: 

\field my-tags(type:tag)
a b [[c d]]
\end

Since fields can have a user defined "type" now, it will be possible to 
automatically create the tag-like UI for my-tags field ... and so on ... 

-mario

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


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-12 Thread PMario
On Sunday, May 12, 2019 at 11:53:43 AM UTC+2, @TiddlyTweeter wrote:
.. 

> But I'm slightly uncomfortable with using the text field as a surrogate 
> field-holder. It seems counter-intuitive?
>

It's very similar to the existing macro definition 
. If the macro definition 
seems counter-intuitve, then yes. From a "text" viewpoint it is the same.  

-mario

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


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-11 Thread PMario
On Friday, May 10, 2019 at 6:23:37 AM UTC+2, Reece Shaw wrote:
>
> Hey y'all, RK from the discord.
>

Hi
 

If I want to display the text of a user field (say, user-defined-field) 
> *and* format it I have to then workaround by somehow editing Tiddler1 's 
> user-defined-field while also making sure to avoid using $edit-text in a 
> manner that would cause the re-rendering issue. 
>

That's a problem of browser UI focus handling. There are 3 github PR 
s that try to address 
this issue. There is an EXPERIMENTAL test version at tiddlyspot too: 
http://refocusing-inputs.tiddlyspot.com/ ... It allows you to edit the 
"currentTiddler" ...

 

> For a user that wants to build a UI that's a complete headache. There's a 
> lot to be said for the ability to have a multi-line field that is directly 
> attached to the tiddler itself and not as a sub-tiddler
>
>
>1. User defined fields, when made multi-line would not impact core
>
> That's not true. They would have been implemented already, if it wouldn't 
be a problem. 
 

>
>1. We already have the capability to embed multi-line fields into a 
>tiddler, we just have to use a workaround
>
> The problem is, that it also needs to work with the .tid file format. 
Which probably isn't the case for the workarounds. I don't know the 
workarounds, so I'm not sure here. 

>
>1. list filters would become less complex when displaying multiple 
>pieces of data linked to a single tiddler provided the user wishes to have 
>multiple formatted fields
>
> I'm not sure, what this means. 
 

> I am also of the opinion that organizationally multi-line fields are 
> easier to manage. I know it's a personal preference or opinion but 
> sometimes I have trouble navigating particularly long list fields because 
> the data I want to manipulate, change or reorganize might be over 100 
> characters in. Some list fields when manually reorganizing can become 
> cumbersome, and this would help alleviate some of that as well.
>

There are a lot of different views, about, how to work with TW. ... Most of 
the time, it is highly depending on the user preferences and the actual 
use-case. ... We don't have a solution atm. ... 

That's the reason for this thread. I thought the format explained in the OP 
should be OK for users and it should be possible to implement it, with an 
acceptable amount of work. 
 

> In an ideal world I would love if a multi-line-field indicator was just a 
> checkbox next to the indicated field in edit mode. Then, we can default all 
> field editing to single line fields unless the user specifies otherwise. 
> There's a ton of untapped design space therein that can prevent the need 
> for "hacky" workarounds like users trying to over-utilize subtiddlers or 
> creating custom UIs.
>

That's an implementation detail, that should be doable. 

have fun!
mario

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


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-11 Thread PMario
Hi Diego,

On Thursday, May 9, 2019 at 2:55:44 PM UTC+2, Diego Mesa wrote:

This is a nice idea. It also seems related to an "Advanced Edit Mode" I 
> described here: https://github.com/Jermolene/TiddlyWiki5/issues/3308
>

Good catch :)

-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/50ca736a-810b-49a7-bad7-b2dc0b67020f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-11 Thread PMario
On Saturday, May 11, 2019 at 5:18:20 PM UTC+2, Jeremy Ruston wrote:
...

> If I understand the proposal correctly, the idea is that one could type 
> multiline fields into the main textarea of a tiddler with the following 
> syntax:
>
> \field my-field
> Paragraph 1
>
> Paragraph 2
> \end
>
>
Exactly.
 

> Then, when the user saves the tiddler, the content of the textarea is 
> parsed, the field value(s) extracted and saved into the tiddler in the 
> usual way. I’m assuming that the field pragma wouldn’t be replicated in the 
> text field as well as the specified field?
>

I don't want to store the content 2 times. So the permanent storage would 
be the text area. ... The wiki-store json format may only contain a 
reference, where to find the content.  

.tid file may look something like this 

title: test-tiddler
tags: a b c d
my-field: @@@my-field

\field my-field(type:binary)
0
\end

or something similar. .. Hoping that nobody starts field content with 3 @ :)


If a tiddler is saved, the fields are parsed and stored into the internal 
tiddler store. ... 

The textarea as a permanent store is needed, since the field content needs 
to survive a store-to-html / reload round-trip, which is the main problem 
atm. 
 

> Conversely, when initiating editing a tiddler, multiline fields are 
> prepended to the text of the tiddler and placed in the textarea.
>

right
 

> If I’ve got that right, my first thought is that the idea of a process to 
> convert a tiddler back and forth to a single textarea representation is 
> interesting, and doesn’t present any particular issues if it’s just a UI 
> thing.
>

I think, it's not an UI thing only, since multi line fields need to survive 
the save/reload roundtrip with HTML and the .tid file format.
 

> Re-using the pragma syntax is confusing because this “parsing” is nothing 
> to do with the main wikitext parser; perhaps it would be clearer to use an 
> extended .tid file syntax.
>

I'm sorry about this. ... I just wanted to point out. that there is some 
code, that can read the existing \define ... pragma. ... So it will be easy 
to create _new_ code the can parse the multi line definitions. ... No 
reusing of the existing mechanism involved. 

have fun!
mario

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


[tw5] Re: For keeping track of folded tiddlers

2019-05-09 Thread PMario
Hi, 

Nice! THx for sharing!

-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/c1a12607-4eac-4cc6-ba04-e67f807fdd6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-09 Thread PMario
On Thursday, May 9, 2019 at 3:04:16 AM UTC+2, TonyM wrote:
...

> This sounds interesting can you please clarify. Are you saying, Such 
> "field" definitions would make the content in the field pragma become a 
> value of this "Virtual Field".
>

Not a "Virtual Field" a real field. The same as existing fields, but with 
the possibility to have line-breaks in the text. It would be the exact same 
behaviour as line-breaks in the text field. ... With some CSS magic, it 
would even display single line breaks. Which is already part of the core 
for plain text .. see: TW-Docs about hard linebreaks 

.
 

> If I use edit-text I can name such fields and edit them as if they were 
> independent fields but I would only be editing part of the text field where 
> this definition resides?
>

That's right. If tiddler content is rendered, the \filed pragma will be 
"ignored". The tiddler-save action and several other widgets actions can 
modify the new fields. The core internal API may be the same, except of a 
new "multi-line" parameter for several widgets. 

With multi-line fields, it should also be possible to define field-types. 
eg: 

   - \field my-text-field(type:text) -> default
   - \field my-date-field(type:date) or
   - \field my-currency-field(type:currency) or
   - ... you name it. 
   
This behaviour has been discussed some time ago. It would give as a lot of 
new possibilities for "input-validation"
 

>
>- If my above understanding is correct perhaps it would be misleading 
>to call them fields, although they will behave as such. 
>
> I don't think so. They should exactly behave like fields, with some new 
functionality. 
 

>
>- Perhaps they could be considered "sections" that are addressable 
>like fields.
>
> For me a "section" is a term, that was used in TWclassic for 
"heading-sections". Sadly ... This function didn't make it to TW5 :/
 

>
>- Will they be able to be made global, or defined in a tiddler tagged 
>view template?
>
> They will be displaied with:

 - {{tiddlerName!!field-name}} .. Exactly the way you do it now. or 
 - {{!!fieldName}} if you want to work with currentTiddler
 

>
>- Can we then display them conditionally?
>
> Yes with the reveal-widget. Same as you do with fields now. 
 

> If this interpretation that they are like sections is correct then it 
> could allow code modularisation within a Tiddler, such that sections of 
> code are defined at the top and included below in a structured form.
>

As shown in the OP 

\field my-field   <-- Definition
Paragraph 1

Paragraph 2
\end

{{!!my-field}}<-- Usage

This would be also easy to use with tables. eg: 

\field a1()
Multi Line text

Some more text
\end

| Cell | 1| 2|
| a| {{!!a1}} | {{!!a2}} | 

The table will be simple copy paste action and the fields are convenient to 
be edited. 

 

> Thanks for your innovative thinking
>

You are welcome!

In the future, it should be also possible to create a specialised 
EditTemplate, that works with a GUI for GUI type of users. ... But the 
first run could be text only mode, which should be much faster for 
experienced users.  

have fun!
mario

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


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-08 Thread PMario
Proposed Spec. (this post will be updated.)

1) field names must be lower-case (same a now)
2) Fields, that contain 1 line of text stay in the text area eg:

\field my-field 
1 line of text
\end

3) "1 liners" will be converted into fields when the tiddler is saved eg:
- they go to the field input area of the edit-template
(probably worth more discussion)

\field test-field 1 line of text

4) multi-line fields will always be transcluded in "block-mode" like

<$transclude tiddler=x field="my-field" mode=block/> even if the shortcut 
is used: {{!!my-field}}

5) ... ???
-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/99a056e5-9737-47b9-8b59-6475ca210c52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] IDEA Multi-line Fields ... Possible implementation

2019-05-08 Thread PMario
Hi Folks, 

Just reading an other thread in the group: Change initial field/textarea 
setup .
I had an idea about multi line fields, which are requested here quite a 
bit. 

The default UI for inserting fields is a bit "heavy weight", if you have 
many of them. AND because of the concept, how fields are stored in the html 
file and the .tid file, it's not possible to use line breaks atm.

The idea now is, to use the text area for "multi-line" fields. This 
wouldn't change the .tid file spec, because those fields are part of the 
text area. 

We already know macro definition pragma  in 
tiddlers eg: 

\define test()
Paragraph 1

Paragraph 2
\end


<>

A similar "pragma" could be used to define fields. eg: 

\field my-field
Paragraph 1

Paragraph 2
\end

{{!!my-field}}


The macro parser does exist already. So the filed parser should be very 
similar. ... 

PROS

 - This idea, wouldn't need to change the .tid file format, like other 
ideas discussed here. 
 - Database recorde-like tiddlers that contain many different fields, 
wouldn't need much UI witchery
   - They could be easily copy / pasted in text edit mode
 - If new "field-text" is added to old TWs, it will be recognized, as 
"plain text"
 - NO new edit-multiline-field widget needed, since the existing 
edit-widget should do it. 
   - We need to test this. 
 - If users want a form-like UI this is the same work as now. 

CONS

 - There is some overhead for \field start end \end
 - Since existing versions of TW don't ignore unknown pragmas, the new text 
format wouldn't be backwards compatible. 
   - but it wouldn't hurt too much (see pros above)
 - New .tid templates will be needed. 
   - may be fields-widget will need some extensions

 *A little bit more "specs"* --

1) field names must be lower-case (same a now)
2) Fields, that contain 1 line of text stay in the text area eg:

\field my-field 
1 line of text
\end

3) "1 liners" will be converted into fields when the tiddler is saved eg:
- they go to the field input area of the edit-template
(probably worth more discussion)

\field test-field 1 line of text

4) multi-line fields will always be transcluded in "block-mode" like

<$transclude tiddler=x field=y mode=block/> even if the shortcut is used: 
{{!!my-field}}

5) ... ???

just some thoughts

@Jeremy and others
What do you think?

have fun!
mario


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


[tw5] Re: Fix for Firefox Screwup

2019-05-05 Thread PMario
Hi Folks,

A new version of FF was pushed. So if you go to About: Help you can update. 
... After the update my AddOns where back :)

-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/487045a7-ebb6-4ff5-afdb-7e79de13e8ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TOC] Table of Content - refactoring - ... again ;)

2019-05-05 Thread PMario
On Sunday, May 5, 2019 at 5:50:03 PM UTC+2, Mohammad wrote:
...

>  I have two comments
>

Thx for testing.
 

>
>1. By default when you open a tiddler from TOC on the sidebar it is 
>open at top of story list and this makes confusion. You clicked on TOC 
> item 
>from top to bottom but you see tiddler from bottom to top and when scroll 
>focused tiddlers is the reverse direction
>
> This setting can be changed in the ControlPanel: Settings: Tiddler Opening 
Behaviour. ... It's just a test version, where I did test several 
settings.  

>
>1. When an item in the TOC is red (means focused-tiddler) by hovering 
>mouse it gets underline but loses its red color! This makes 
>secondconfusion. I think focuses tiddler is highlighted even when pointer 
>is on that.
>
> Same here. Just a test CSS. To show the possibilities. ... It needs more 
refactoring. ... We may even add it to the palette, so users can change the 
behaviour if they want. 

Keep the feedback coming :)

have fun!
mario



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


[tw5] Re: [TOC] Table of Content - refactoring - ... again ;)

2019-05-03 Thread PMario
On Friday, May 3, 2019 at 12:13:58 PM UTC+2, TonyM wrote:
... 

> Thanks for your responses. On the last item I am happy to use either 
> modified edit templates or view templates since the idea of an update 
> template is just a controlled or form based edit which is a non generic 
> tiddler edit mode allowing the designer to simplify and control the 
> elements to be edited by a user.
>

You are right. The existing EditTemplate is way to complicated for ordinary 
designers to be used as an example for a "simple" tiddler "form"... 
 

> If there is a way to use multiple edit views or templates I am yet to find 
> it, so please share.
>

The new "toc-tabbed-internal-nav" could be an example for a "tiddler-based" 
story, that allows us to generate simpler forms. 

Such a story needs 2 elements: 

 - A navigation section
 - A View / Edit section

The navigation section could be as simple as 2 links like: [[Tiddler 1]] 
[[Tiddler 2]]

The ViewTemplate could be as simple as: 

<>
<$transclude mode="block">

The EditTemplate ... depends on the use-case has to be done. 

We'd need to specify the "simplest" tiddler editor, that still makes 
sense.  

have fun!
mario


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


[tw5] Re: [TOC] Table of Content - refactoring - ... again ;)

2019-05-03 Thread PMario
On Friday, May 3, 2019 at 2:36:59 AM UTC+2, TonyM wrote:
...

> Thanks these improvements look great. 
>

Thx, 


>- Can we used the value of the "viewed tiddler" in other operations?
>
> Yes.

I did call it "focused-tiddler". It's a new field in the $:/HistoryList 
tiddler ... Changes to HistoryList activate the TW storyview 
"scroll-into-view" mechanism. 
 

>
>- ... like cause a popul if someone is looking at a specific tiddler?
>
> Should be doable. ... If an animation is active the mechanism uses the 
same delay that can be adjusted in the ControlPanel. eg: 400ms
 

>
>- I think in someways what you have done is to provide access to the 
>"active/visible tiddler" which new users often confuse with currentTiddler 
>and advanced users would like access to for other reasons.
>
> Yes. ... At the moment the "focused-tiddler" field is set, if a tiddler 
title position reaches the upper 25% of the visible window area. eg: var 
treshold = viewportHeight / 4;

At the moment the mechanism uses the default Story, which is ok for the 
"classic" story-view. ... It will fail with some experimental story-views 
eg: "Stacked" which can be selected at TW prerelease. The reason is: I 
think I would have needed to many changes in the core to make it work. ... 
So it would take ages to get it merged. :/


>- These would be very useful in conjunction with "Repopup, Volant, 
>Mentat". effectively allowing a number of stories to be managed and 
>visible at once on a dashboard.
>
>  
I don't know, how those plugins are implemented (Didn't have a look at the 
code). ... With the TW core 3 elements are involved to navigate the story. 

 - The navigator-widget, which sets the "story" and "history" parameters. 
- internally it also sets the "tv-history-list" and "tv-story-list" 
variables. 
- those variables are now used by the TOC macros, which is much more 
flexible now. 

 - the list-widget which is responsible to manipulate $:/StoryList - list 
field
- It defines "viewTemplate" and "editTemplate"
- The "storyview" is responsible for "animations" like: 
scroll-into-view, if a link is clicked and the tiddler is already open

 - story-view ... as written above is responsible for animations like 
- open tiddler animation
- close tiddler animation
- scroll into view ... 

If those 3 elements are used in the right way, then yes.  But I doubt 
that's the case. 



>- Could I suggest that just as you used the viewTemplate to iterate 
>tiddlers in an internal toc that we also provide the means define and use 
>other templates.
>
> yes ... That was just an example, that was easy to do. ... 
 

>
>- When you use the full view template to display the tiddlers within 
>an internal TOC we could also enable an Update template that allows a 
> given 
>tiddler to provide selected editable fields, form like, rather than the 
>classic editor. I think this easier to achieve inside an internal TOC but 
>Ultimately I would like to see this even in the main story river.
>
> I don't understand, why everyone wants to edit tiddlers with the 
ViewTemplate, instead of using EditTemplates. ViewTemplates are the wrong 
tool here. ... Even the name is wrong!

The edit mechanism is well tested and has no side effects. ... We can have 
a 100 different EditTemplates if we want and we should start to use them. 

No offence - just some thoughts ;)

have fun!
mario

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


[tw5] Re: [TOC] Table of Content - refactoring - ... again ;)

2019-05-02 Thread PMario
Uuups,

Zip file can be found here: 
https://github.com/Jermolene/TiddlyWiki5/issues/3627#issuecomment-488696527

-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/87c57db1-122e-43fc-9639-538394a20988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] [TOC] Table of Content - refactoring - ... again ;)

2019-05-02 Thread PMario
Hi Folks, 

I did just upload a video, that shows some "work in progress" info about 
the TOC macros . 

There are some visual improvements. 

 - There are some "regression" fixes, that came with the last version
 - New "Sidebar: Open" behaviour - highlight selected tiddler
 - New "Sidebar: Contents" behaviour - highlight selected tiddler
 
And some conceptual improvements

 - More generic code, that supports "selected tiddler" highlighting
 - new plugin: "focused-tiddler", that may be included into the core. 
- It's a plugin atm, since it may interfere with 
- "dynaview-plugin" and 
- "TiddlyMaps - HotZone" plugin
 - Now concept for "tabbed-tocs"

IF you like it, please give an +1 at github 


Feedback is also very welcome here! ;)

---

And NO, it's not possible to "auto-expand" the tree, with the current 
structure of the TW TOC. 

and YES, If the toc-structure is clean, it will be possible to implement 
"auto-expand". -> WIP

have fun!
mario


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f1758a9-18c6-4adb-b694-77454a618a97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TagCloud plugin

2019-04-21 Thread PMario
Hi Folks, 

Word-Clouds and Tag-Clouds come up from time to time. ... They are "kind 
of" beautiful. ... But they also should be informative!.

More pros and cons can be seen in a thread from 2016 

.

Have fun!
Mario

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


[tw5] Re: Re-installing TiddlyWiki

2019-04-14 Thread PMario
 Hi,

since you use win10, WebDav could be an option. I did create 3 short 
videos, how to activate it.
How to use TiddlyWiki with IIS and WebDAV 


have fun!
mario

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


[tw5] Re: Re-installing TiddlyWiki

2019-04-13 Thread PMario
On Saturday, April 13, 2019 at 7:33:17 PM UTC+2, Mark S. wrote:
>
> If you don't mind putting your tw file in a download directory or 
> sub-directory, then Pmario's file-backup add-on is the way to go.


Here's the link: 
https://addons.mozilla.org/en-US/firefox/addon/file-backups/ .. There is 
video-link in the info. 

have fun!
mario

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


[tw5] Re: Lately, the $set widget has been intruding on my peace

2019-04-12 Thread PMario
Hi, 

I did a short search for the pattern and found *2 more *tiddlers that may 
be optimized. core/ui/StyleSheet.tid and 
core/templates/single.tiddler.window.tid

-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/f73859ed-9f7f-4f24-a240-ab44e6f5e9ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Lately, the $set widget has been intruding on my peace

2019-04-12 Thread PMario
Hi, 

A very good catch. ... AND since the PageTemplate is used all the time 
there may be a tiny speed boost ;)

<$set name="languageTitle" value={{{ [{$:/language}get[name]] }}}>

creates this widget tree, which is 1 step away from the html output. 

{
"type": "widget",
"children": [
{
"type": "set",
"attributes": {
"name": "languageTitle",
"value": "en-GB"
}
}
]
}

Which is only 1 "command" and everything is already "evaluated". Every 
other possibility you listed will create 2 commands. The original version 
will create this widget tree. 

{
"type": "widget",
"children": [
{
"type": "element",
"tag": "p",
"children": [
{
"type": "text",
"text": "$set name=\"currentTiddler\" value="
},
{
"type": "tiddler",
"attributes": {
"tiddler": "$:/language"
},
"children": [
{
"type": "transclude",
"attributes": {
"tiddler": "$:/language"
},
"children": [
{
"type": "link",
"attributes": {
"to": "$:/languages/en-GB"
},
"children": [
{
"type": "text",
"text": "$:/languages/en-GB"
}
]
}
]
}
]
},
{
"type": "text",
"text": ">\n"
},
{
"type": "set",
"attributes": {
"name": "languageTitle",
"value": ""
},
"children": [
{
"type": "text",
"text": "\n"
},
{
"type": "set",
"attributes": {
"name": "currentTiddler",
"value": ""
},
"children": [
{
"type": "text",
"text": "\n"
}
]
}
]
},
{
"type": "text",
"text": ""
}
]
}
]
}

have fun!
mario
PS: @Jeremy, ... we should change this, it seems to be much cleener!




-- 
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/8f6d54f1-52e5-41be-aafd-c762fdb54f6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Query -- Changing creation date in a human actionable way? -- #creationDate

2019-04-08 Thread PMario
On Monday, April 8, 2019 at 9:58:27 AM UTC+2, @TiddlyTweeter wrote:
>
> I want to manipulate creation times so that filters will work to produce a 
> correct date ordering for a CV via filters in the simplest fashion.
>

hmmm, IMO a very bad idea. ... You should never touch the tiddler "created" 
date. ... If you really need to handle it in a special way, use a custom 
field. 

The main problem is: If anyone starts to modify created or creator, others 
can't rely on it. So it's useless. .. If it's useless, we should completely 
remove it. 

Eg: federation. 

 - I write something with date: 2019-04-09 in my "space"
 - You respond to it on 2019-04-10 in your space
 - Now I change the date to 2019-04-11

If we create a combined view, your answer will be listed earlier. ... Do 
you really want that?

have fun!
mario



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


[tw5] Re: this publication and the visualisation is great - Niklas Luhmann Archiv

2019-04-08 Thread PMario
Hi,
A very interesting approach. Thx for sharing!
-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/b96beab9-1510-4bc2-8e19-674f7ab8ef6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Searching In Tiddler Fields

2019-04-08 Thread PMario
Hi,

Have a look at my field-search plugin 
.

There is an intro video, if you follow the link.

-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/cf630cda-36dd-4f4d-9c27-f004e1247ffa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-04 Thread PMario
On Thursday, April 4, 2019 at 5:31:16 PM UTC+2, Mohammad wrote:
>
> Many thanks Mario!
> I will have a look and inform you how it works for me!
>

I did a little bit more testing. 

 - The minimum "backup period" is 10 minutes. 
 - Triggering a manual "Backup run" is not trivial, since the setting is 
"hidden well" in the config dialogues.
 - The initial setup contains a lot of "useless default settings / 
directories".
- So I needed to disable them 1 by 1, which is annoying. 
- I did test with a 10GByte virtual drive. The default filled it about 
50% :/
- The good thing is. Drive E: is accessible with the file explorer and 
can delete that stuff
 - I did set the whole drive E: to be compressed, which should give a lot 
more space, since tiddlers can be compressed very well 

Just some thoughts. 

-mario

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


[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-04 Thread PMario
On Sunday, March 31, 2019 at 7:04:16 PM UTC+2, Mohammad wrote:
>
>  Actually I am using TW on Node.js on a Windows machine and I like to have 
> a backup of the tiddlers I change!
>

Windows 10 has a built in file history function, which is disabled by 
default. ... The only thing you need is a "spare" drive, and use it as the 
System Backup drive. 

See: 

 - about the spare drive: 
https://www.windowscentral.com/how-create-and-set-vhdx-or-vhd-windows-10 and
 - windows backup: 
https://www.pcworld.com/article/2974385/how-to-use-windows-10s-file-history-backup-feature.html
 
I did a short test configuring it, which works. ... But I'd need to test it 
over a longer period, to see how it works out. 

have fun!
mario

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


[tw5] Re: Fraalancer Needed to Customize TiddlyWiki to a Project Scheduler

2019-03-30 Thread PMario
Hi Ams,

Which OS do you and your team use?

-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/98faaa7c-705f-4be0-b4b8-a9e6a8715fc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: the #brexit macro ...

2019-03-28 Thread PMario
:) no, No, nO, NO, no, No, nO, NO, 

-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/6c47ed5e-e482-4aab-8d84-1066124e74dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Help with testing the TiddlyWiki Link

2019-03-28 Thread PMario
Hi Adrian, 

I'm using Win10, FF66.0.2 and your link works, but it loads a little bit 
slow. 
So you may consider a "splash screen 
". 

have fun!
mario

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


[tw5] Re: TW / Cardo on Android

2019-03-26 Thread PMario
On Tuesday, March 26, 2019 at 1:40:55 PM UTC+1, Jeff wrote:
>
> Thanks Mario! I'll have a look at that. I appreciate your quick response.
>

Ah, And don't forget to activate the "Backups" setting in the AddOn config 
screen. ... It's off by default. 

-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/e9ec683c-f89a-445f-8bc1-6ab56ab2fdd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW / Cardo on Android

2019-03-26 Thread PMario


On Tuesday, March 26, 2019 at 12:56:56 PM UTC+1, Jeff wrote:
>
> I have flirted with using TW over the years and have actually started to 
> use it on several occasions. My real desire is to use the *Cardo Plugin* 
> and have it available on my Windows computer and on my Android phone. Both 
> the concept of TW5 and Cardo look awesome. What has always stopped me is my 
> belief that it won't work on Android. *Tiddlyfox* and *AndTidWiki* both 
> don't' work or are abandoned projects.
>
> So, what are my options here?
>

See my FileBackups FireFox AddOn 
. It also works 
for FireFox for Android. 
Also see the INTRO thread: 
https://groups.google.com/forum/#!topic/tiddlywiki/iAx4wT_s9d0

 - If you download empty.html form tiddlywiki.com on Android, 
 - you just need to open the system File-explorer. 
 - rename empty.html to yourName.html
 - long touch the file until the system popup dialog opens
   - choose "Add to Homescreen"
 - place the icon to your homescreen
 - open 
 - There will be a dialogue, which app should open it
- choose FireFox
- check "use as default app"
 - done. 

have fun!
mario

PS: There is no syncing mechanism atm. 

-- 
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/5fe02df0-6650-4673-9fae-6c3f1b9bc048%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander Plugin: New update 0.0.15

2019-03-26 Thread PMario
On Monday, March 25, 2019 at 6:51:26 PM UTC+1, Mohammad wrote:
>
> Hi Josiah,
>  The reason was to not share those filter with  advanced search, but I 
> will have a look and I will also check the PMario bundler!
> By the way I agree to be able to integrate these!
>

Be careful, if you duplicate Bundler stuff partially. ... Bundler is V 
0.1.1 which is BETA. I'm still not happy with the comment handling 
<https://groups.google.com/d/msg/tiddlywiki/_Uqbg08Pjow/BJ03sKYRBQAJ>. .. 
Since there are only workarounds atm.

So the .bundle-format and the plugin are also in flux. ... 

BUT I'd be willing to implement a filter operator that can deal with 
comments. ... At the moment we use the enlist[] operator from the core for 
"unfiltered bundles". 
OR we can talk about "standards", so our plugins can work together. 

-mario

Just to links to bundler threads 1 
<https://groups.google.com/forum/#!topic/tiddlywiki/_Uqbg08Pjow>, 2 
<https://groups.google.com/d/msg/tiddlywiki/ZPaiDtpt1Zc/JScgFKx-AgAJ>

-- 
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/435753d1-ecaa-4ed1-9087-60039ea3ba76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Commander Plugin: New update 0.0.15

2019-03-26 Thread PMario
Hi,

Josiah pointed (PM) me to this post. 

On Monday, March 25, 2019 at 5:23:51 PM UTC+1, @TiddlyTweeter wrote:
>
> One thing I do not understand in Commander is why you chose that saved 
> filters are tagged $:/tags/Commander/Filter rather than going for the 
> existing and well functioning *$:/tags/Filter*.
>

I think it's a valid desire for a plugin author to keep the stuff separated 
at the moment. ... I think the Version number is 0.0.xx which is ALPHA ... 

So nothing is carved in stone. Everything is topic to be changed. ... 
Please keep this in mind ;)
 

> I can't see the advantage. 
>
> *Can you you tell me the advantage because I can't see it!*
>

IMO it's just caution. He doesn't want to mess things up atm. ... 
 

> And it *causes problems* with important plugins like PMario's Bundler 
> which rely on the standard system to work. It makes them difficult to 
> integrate into Commander.
>

IMO that's a good point and the reason why I respond here too. 

With Bundler I wanted to reuse as many core functions as possible. I try to 
avoid code duplication. ... 

-mario



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


[tw5] Re: Tiddler Commander Plugin: New update 0.0.15

2019-03-26 Thread PMario
Hi folks!

First of all @Mohammad: I wasn't aware, that all of this can be done with 
TW macros. GREAT WORK! ...

I've found 2 things that caught my attention immediately. see: 2 Styleshees 

.

It seems the plugin modifies cm-xxx classes. Where cm- prefix is already 
used for CodeMirror plugins. 

IMO you shouldn't do this. What if a user doesn't use CodeMirror? ...

It also seems, that the plugin modifies the "tab-button" settings. 
 - Why? 
 - As soon as someone includes the plugin, they do have 2 different tab 
styles?
 - What's the difference? 
 - Styling only, or is there a difference in function? 
 - What if users use a different "theme" than the plugin expects?
 - IMO the CSS !important flag is toxic see link:[1]. So I personally try 
to avoid it at all cost!



About CSS prefixes: TW uses tc-, tv-, tm- and th-   prefixes for different 
things.

tc- ... tw class
tv- ... tw variable
tm- ... tw message
th- ... tw hook

If I need similar classes like tc-xxx I use wltc-  prefix. for WikiLabs tw 
class. ... This mechanism allows me to have short class prefixes and they 
don't clash with existing classes tc- classes. Same with wltm-, wlth- ... I 
think you get it.

So if you need new class definitions you could add your own 2 chars in 
front of tc-. So everyone that sees them knows: OK that's a class from a 
plugin. 

Just some thoughts. 



have fun!
mario

[1] https://uxengineer.com/css-specificity-avoid-important-css/

-- 
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/52e90e76-d569-4b49-ab9c-72acdaded0b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Do we have musicians in our community?

2019-03-25 Thread PMario
Changed video link

On Monday, March 25, 2019 at 6:13:42 PM UTC+1, PMario wrote:
>
> Hi folks,
>
> I need some "free" music 4:47 to add to this video 
> <https://youtu.be/ktE_WnuVm2M>. I did search quite a bit, but I couldn't 
> find something that I did like.
>
> Have fun!
> mario
>

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


  1   2   3   4   5   6   7   8   9   10   >