[tw5] Re: Code simplification Challenge - a smart config values select

2020-07-06 Thread Felicia Crow
Hi Tony,

sorry for not answering yesterday, but my migraine apparently now gets also 
triggered by smaller changes in weather.

Thanks for the reminder of the size parameter! Somehow I was so convinced 
at the time that it had to be something with width and found nothing except 
for css changes that I used a textarea for the bigger size.
The whole it has to be width was probably while I also overread it in the 
documentation.

To your test, can you elaborate on what you think is not right? I tried 
both versions in the same wiki and they gave me the same result.

Regards,
Felicia

On Sunday, 5 July 2020 03:38:32 UTC+2, TW Tones wrote:
>
> Felicia,
>
> Great work. 
>
> I am happy to do more challenges, I hope others also support this idea, 
> and they are welcome to do it themselves.
>
> In chrome I downloaded your json to a scratch area, went to tiddlywiki.com, 
> dragged the file and dropped it in tiddlywiki.com and tested it. I added 
> enable disable to the value config values. It works and it reuses the 
> select statements reducing the amount of code required.
>
> The edit pairs could be changed to 
> Edit Pairs: <$edit-text tiddler="$:/smartConfig/config/pairs" field="text" 
> tag=input size=80/>
>
> I used this small test opn your example and mine
> <$list filter="[prefix[$:/config/]]">
> <>
> 
> Something is not right.
>
> Regards
> Tony
>
>
>
>
>
> On Sunday, July 5, 2020 at 6:52:41 AM UTC+10, Felicia Crow wrote:
>>
>> Hi,
>>
>> First personally I would love for challenges like these to become a thing 
>> since not only do I get to learn things I normally would not necessarily 
>> need for myself and second I think it would be interesting to see different 
>> approaches to the same challenge.
>>
>> Second here is my solution for the basic challenge:
>>
>> *How the macro works:*
>>
>>- The Macro is still called with tiddlername and fieldname with the 
>>same defaults.
>>- The outermost list widgets check if currentValue is empty or not 
>>and react accordingly
>>- If there is no currentValue the first select will be created with 
>>all values currently defined in the corresponding config tiddler.
>>   - The config tiddler to use is defined in the configTiddler 
>>   variable to make it easier to change the tiddler. Currently the only 
>> hard 
>>   coded part is that the pairs have to be in the text field.
>>- If there is a currentValue - or a value was chosen in the first 
>>select - then the second select will be created only showing the 
>>corresponding pair. E.g.: If the current value is 'yes' only the options 
>>'yes' and 'no' are available.
>>   - For now the value pair has to be defined in the config tiddler 
>>   for this to work. In the version for the extended challenge I 
>> hopefully 
>>   manage to have a way to create a field on setting the initial value 
>> that 
>>   will keep the respective pair within the tiddler itself.
>>   
>> *How to extend the macro*
>>
>>- Simply add another pair/set of options to the config separated at 
>>least by ';' for the pair and by at least one space for each option.
>>- Only caveat for now is each value in a pair/set has to be a single 
>>word/string without spaces.
>>
>> *Macro*
>> \define smart-configure(tiddlername fieldname:"fieldname")
>> <$set name=configTiddler value="$:/smartConfig/config/pairs">
>> <$set name=tiddlername value="$tiddlername$" emptyValue=<> >> >
>> <$set name=currentValue value={{{ [get[$fieldname$]trim[]] 
>> }}}>
>> tiddlername=<>, fieldname=$fieldname$, currentValue=<<
>> currentValue>>
>>
>> <$list filter="[is[blank]]" variable=nul>
>> Select initial value:
>> <$select tiddler=<> field="$fieldname$" default=<<
>> currentValue>> >
>>   <$list filter='[get[text]split[;]!is[blank]join[ ]]'>
>>  <$list filter="[split[ ]!is[blank]]"> 
>>>><$view field='title'/>
>>  
>>   
>> 
>> 
>>
>> <$list filter="[!is[blank]]" variable=nul>
>> <$list filter="[get[text]split[;]trim[]!is[blank]] 
>> +[search]">
>> <$select tiddler=<> field="$fieldname$" default=<<
>> currentValue>> >
>>   <$list filter="[split[ ]]"> 
>> >><$view field='title'/>
>>   
>> 
>> 
>> 
>>
>> 
>> 
>> 
>> \end
>>
>> *Configuration*
>> yes no; show hide; true false; left right; top bottom
>>
>> The attached version of the macro tiddler includes a text edit widget to 
>> quickly edit the config tiddler and two examples to see both states of the 
>> macro.
>> The import and tiddlers work on empty.html, tiddlywiki.com and the 
>> playground .
>>
>> For now I will leave it at that, but will look into the extended 
>> challenge within the next days since it has some very interesting points to 
>> solve.
>>
>> Regards,
>> Felicia
>>
>

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

[tw5] Re: EditorMagic - status update

2020-07-06 Thread TW Tones
Mat,

Not sure what you mean. It does support *invoking *macros and widgets (even 
> if we'd need some mechanism to collect all macro titles) and there is 
> support for stamping, e.g like is done in the HTMLtable example (test it by 
> typing  really isn't practical because you'd have to exchange every parameter 
> anyway, leaving only the \define and \end. As for widgets, it could stamp 
> some JS skeleton I guess but I don't know what that would encompass.
>

I was just wondering if you had considered it?, not extending features, 
just as is, you next paragraph describes what I was thinking. 
 

>
> BUT, regardless, *the idea is that the user can easily make his own popup 
> content!* The key feature is really to enable a popup at caret position 
> that can show any content based on what you just typed in the editor. I 
> added several examples that are "estimations" of what people will want, 
> mostly to demo the concept, but the hope is that once it's a plugin, the 
> community will come up with useful tools and other popup content.
>
>
I like this design approach.

Great Stuff
TW Tones

>

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


[tw5] Re: When would I be missing the "new tiddler" + sign?

2020-07-06 Thread Saq Imtiaz
The login/readonly situation only happens when using authentication on 
node, which is not the default but is set up by the docker container you 
are using.

On Monday, July 6, 2020 at 11:33:16 AM UTC+2, Wpq wrote:
>
> Ah! Thank you! That was the reason. When I logged in I saw the "+" sign.
>
> While in hindsight this is obvious, it may be a good idea to add that 
> point to the "Getting stated" tiddler, as more may be searching for the "+".
>
> Thanks again for the help
>
> Le lundi 6 juillet 2020 à 11:25:42 UTC+2, saq.i...@gmail.com a écrit :
>
>> Have you logged in via http://127.0.0.1:8080/login-basic ?
>>
>>
>> On Monday, July 6, 2020 at 9:35:46 AM UTC+2, Wpq wrote:
>>>
>>> Hello everyone
>>>
>>> I just started to use TiddlyWiki by installing it in a docker container (
>>> https://hub.docker.com/r/vimagick/tiddlywiki).
>>>
>>> When going to the wiki page, I was greeted with the welcome page. Th 
>>> eproblem I have is that there is no "+" sign anywhere!
>>>
>>>
>>>
>>> What could be the reason for that?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/571e194a-3bc3-46d7-9b30-e0b3d5292a6fo%40googlegroups.com.


[tw5] Re: Preview Tiddler button and css

2020-07-06 Thread Felicia Crow
Oh two people one thought, although Saq definitely explained it better.

If scale is not important and it is just about sizing I played around a 
little and found this solution using flexbox:

\define preview(filter)

.preview-container{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
}
.preview {
  width: 24%;
  max-height: 400px;
  border:1px solid blue;
  padding: 10px 10px 10px 10px;
  overflow: hidden;
  margin-right: 10px;
  margin-bottom: 10px;
}


<$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >

<$list filter=<> >
<$button to=<> tooltip={{{ [all[current]addprefix[Open: ]] 
}}} class="preview" tag="div">
<$link/>
<$transclude mode=block/>




\end


<>



I tested it on tiddlywiki.com in Firefox, Chrome and Edge, and on my own 
wiki on TiddlyDesktop and AndTidWiki. The only thing I noticed is that on 
mobile - probably due to the smaller screen size - there are only three 
previews in a row.

Also should you use this and want to have 400px in gerneral just change out 
max-height to height. I just found it worked better in an universal way 
seeing how for instance my tableofcontent tiddlers are often not very large 
and mostly used for sorting other tiddlers so the 400 was mostly empty 
space. In the same vein a min-height could be added depending on what you 
need.


On Monday, 6 July 2020 10:34:48 UTC+2, TW Tones wrote:
>
> Folks,
>
> If you place the following in a tiddler on tiddlywiki.com, you will see 
> it generates a preview of tiddlers with The TableOfContents tag.
>
> To get here I have begged, borrowed and stolen code. 
>
> The problem is I do not know how to remove the empty space between each 
> preview.
>
> Any advice and I would be grateful.
>
> \define preview(filter)
> 
> .preview {
> width:600px; 
> min-height:400px; max-height:400px;
> -webkit-transform:scale(.25);
> -ms-transform:scale(.5);
> transform:scale(.5,.5);
> -webkit-transform-origin:0 0; 
> -ms-transform-origin:0 0; 
> transform-origin:0 0; 
> border:1px solid blue;
> margin:0 0 0 0;
> padding: 10px 10px 10px 10px;
> overflow: hidden;
> }
> 
>
> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
> 
> <$list filter=<> >
> <$button to=<> tooltip={{{ [all[current]addprefix[Open: ]] 
> }}} class="preview" tag="div">
> <$link/>
> <$transclude mode=block/>
> 
> 
> 
> 
> \end
>
>
> <>
>
>
> Of course when working I would move the styles to a stylesheet and macro 
> to a tiddler tagged macro.
>
> Regards
> TW Tones
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ab8d173f-c70d-4ff8-878f-a23ce764b978o%40googlegroups.com.


[tw5] Re: Preview Tiddler button and css

2020-07-06 Thread Saq Imtiaz
A quick fix that works for most use cases is to wrap your div in a wrapper 
div and give it the final height and width of the div being resized 
(original width x scale), as well as overflow: auto.

Something like

.mywrapper {
  width: 300px;
  height: 200px;
  overflow: hidden;
}

On Monday, July 6, 2020 at 11:39:23 AM UTC+2, Saq Imtiaz wrote:
>
> I haven't tested your code but I can guess what the problem is from your 
> CSS.
>
> When using transform:scale with CSS, the various block level elements are 
> rendered before being scaled. As such, they take up as much space as their 
> original size. There are various workarounds that work, depending on the 
> HTML structure. A search for something like "transform scale empty space" 
> should point you in the correct direction.
>
> On Monday, July 6, 2020 at 10:34:48 AM UTC+2, TW Tones wrote:
>>
>> Folks,
>>
>> If you place the following in a tiddler on tiddlywiki.com, you will see 
>> it generates a preview of tiddlers with The TableOfContents tag.
>>
>> To get here I have begged, borrowed and stolen code. 
>>
>> The problem is I do not know how to remove the empty space between each 
>> preview.
>>
>> Any advice and I would be grateful.
>>
>> \define preview(filter)
>> 
>> .preview {
>> width:600px; 
>> min-height:400px; max-height:400px;
>> -webkit-transform:scale(.25);
>> -ms-transform:scale(.5);
>> transform:scale(.5,.5);
>> -webkit-transform-origin:0 0; 
>> -ms-transform-origin:0 0; 
>> transform-origin:0 0; 
>> border:1px solid blue;
>> margin:0 0 0 0;
>> padding: 10px 10px 10px 10px;
>> overflow: hidden;
>> }
>> 
>>
>> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
>> 
>> <$list filter=<> >
>> <$button to=<> tooltip={{{ [all[current]addprefix[Open: 
>> ]] }}} class="preview" tag="div">
>> <$link/>
>> <$transclude mode=block/>
>> 
>> 
>> 
>> 
>> \end
>>
>>
>> <>
>>
>>
>> Of course when working I would move the styles to a stylesheet and macro 
>> to a tiddler tagged macro.
>>
>> Regards
>> TW Tones
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/30b8a195-99e4-4145-b08f-8cb0dc1f199fo%40googlegroups.com.


[tw5] Re: Notowritey - Outliner/editor for TW

2020-07-06 Thread TiddlyTweeter
TW Tones wrote:
>
> I think the view/copy the wiki text version may deserve a special button, 
> one I wonder if we could make a generic one, or is it too tool specific?
>

Ciao Tones & Mark

I'd like to chip in on this. As far as I understand it there are *three* 
"capture/snap" modes ...

   1. HTML
   2. PLAIN TEXT (no Wikitext captured)
   3. WIKITEXT

All are useful to know about. All three Mark has given the code for, though 
they are not "View Bar" buttons atm. HTML & WIKITEXT are in Noto. HTML & 
PLAIN TEXT are in the modified export function. The WIKITEXT capture is 
from, I think, concatenation of Tiddler "text" fields. HTML & PLAIN TEXT 
from "render" levels? Yes?

As far as my understanding goes "capture" is of a named Tiddler. IF that 
Tiddler also transcludes other Tiddlers that are auto included.

The approach is generic & generally useful, I think.

But I'm not sure Mark actually needs make a view bar button for it. In Noto 
per se these three are invaluable for ..

   - Backup
   - Versioning out (e.g. posting HTML elsewhere)
   - Leveraging Noto "SPLITOLOGY" (this particularly applies to the 
   WIKITEXT capture where you start afresh and re-split a different way)

And tools for all that exist for Noto.

Conclusion: Making View Bar buttons for this seems A Very Good Idea. But I 
don't think Mark needs do that unless he feels a pressing need to.

Thoughts
TT

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0d35cdcc-6ff9-47b1-b693-83ab65478056o%40googlegroups.com.


[tw5] Preview Tiddler button and css

2020-07-06 Thread TW Tones
Folks,

If you place the following in a tiddler on tiddlywiki.com, you will see it 
generates a preview of tiddlers with The TableOfContents tag.

To get here I have begged, borrowed and stolen code. 

The problem is I do not know how to remove the empty space between each 
preview.

Any advice and I would be grateful.

\define preview(filter)

.preview {
width:600px; 
min-height:400px; max-height:400px;
-webkit-transform:scale(.25);
-ms-transform:scale(.5);
transform:scale(.5,.5);
-webkit-transform-origin:0 0; 
-ms-transform-origin:0 0; 
transform-origin:0 0; 
border:1px solid blue;
margin:0 0 0 0;
padding: 10px 10px 10px 10px;
overflow: hidden;
}


<$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >

<$list filter=<> >
<$button to=<> tooltip={{{ [all[current]addprefix[Open: ]] 
}}} class="preview" tag="div">
<$link/>
<$transclude mode=block/>




\end


<>


Of course when working I would move the styles to a stylesheet and macro to 
a tiddler tagged macro.

Regards
TW Tones

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/978db8f0-ccef-467d-bb95-e268c6b5b951o%40googlegroups.com.


[tw5] Re: Code simplification Challenge - a smart config values select

2020-07-06 Thread TW Tones
Felicia,

sorry for not answering yesterday, but my migraine apparently now gets also 
> triggered by smaller changes in weather.
>
>
I feel for you with migraines although I have being told, to keep a log 
before you conclude things like  "*now gets also triggered by smaller 
changes in weather"* because you can teach yourself to respond to triggers, 
so it becomes a self fulfilling prophecy. But I am sure you know what is 
best for yourself, so many different things can trigger them. 

My mother suffered them a lot at one point but they disappeared, lets hope 
the same happens for you :)
 

> Thanks for the reminder of the size parameter! Somehow I was so convinced 
> at the time that it had to be something with width and found nothing except 
> for css changes that I used a textarea for the bigger size.
> The whole it has to be width was probably while I also overread it in the 
> documentation.
>
> To your test, can you elaborate on what you think is not right? I tried 
> both versions in the same wiki and they gave me the same result.
>

Yes, my little test I though broke your solution, then I noticed it also 
broke on my original post. I have not tried to solve it yet. Another 
challenge?

best of luck
thanks for your go.
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cad3f2ed-71c7-4c68-ae3a-2748156b8453o%40googlegroups.com.


[tw5] Re: When would I be missing the "new tiddler" + sign?

2020-07-06 Thread PMario
Hi, 
Your screenshot isn't visible. ... At least for me. 
-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3e53ff00-f2be-412f-a4f1-28bf7ac600fao%40googlegroups.com.


[tw5] Re: When would I be missing the "new tiddler" + sign?

2020-07-06 Thread Wpq
Ah! Thank you! That was the reason. When I logged in I saw the "+" sign.

While in hindsight this is obvious, it may be a good idea to add that point 
to the "Getting stated" tiddler, as more may be searching for the "+".

Thanks again for the help

Le lundi 6 juillet 2020 à 11:25:42 UTC+2, saq.i...@gmail.com a écrit :

> Have you logged in via http://127.0.0.1:8080/login-basic ?
>
>
> On Monday, July 6, 2020 at 9:35:46 AM UTC+2, Wpq wrote:
>>
>> Hello everyone
>>
>> I just started to use TiddlyWiki by installing it in a docker container (
>> https://hub.docker.com/r/vimagick/tiddlywiki).
>>
>> When going to the wiki page, I was greeted with the welcome page. Th 
>> eproblem I have is that there is no "+" sign anywhere!
>>
>>
>>
>> What could be the reason for that?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/304e9587-f879-41f1-9612-08386099e7e6n%40googlegroups.com.


[tw5] Re: When would I be missing the "new tiddler" + sign?

2020-07-06 Thread Wpq
Sorry for that - apparently the copy/paste did not go though:  
https://imgur.com/a/azYfKp5  (and there is no way to edit my original 
message) 

Le lundi 6 juillet 2020 à 10:33:02 UTC+2, PMario a écrit :

> Hi, 
> Your screenshot isn't visible. ... At least for me. 
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a3ce3745-680e-49f8-a6cc-c2ba63dda8edn%40googlegroups.com.


[tw5] Re: When would I be missing the "new tiddler" + sign?

2020-07-06 Thread TW Tones
WPQ

I think its simple,

That is the standard way of looking at tiddlywiki, you will see if you open 
an empty.html and zoom out.

Just go to Control Panel > Appearance > Theme Tweaks and change the first 
item, Sidebar layout to fluid story, fixed sidebar.

Regards
Tony

On Monday, July 6, 2020 at 6:35:10 PM UTC+10, Wpq wrote:
>
> Sorry for that - apparently the copy/paste did not go though:  
> https://imgur.com/a/azYfKp5  (and there is no way to edit my original 
> message) 
>
> Le lundi 6 juillet 2020 à 10:33:02 UTC+2, PMario a écrit :
>
>> Hi, 
>> Your screenshot isn't visible. ... At least for me. 
>> -mario
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/12c3e0a2-74e8-4972-a5f7-4feecea1d08co%40googlegroups.com.


[tw5] Re: EditorMagic - status update

2020-07-06 Thread TiddlyTweeter
Mat wrote:
>
> Re-demo of EditorMagic ~ *the editor as an assistant!*
>
> With critical help from, particularly, @Jed, @Saq and @Eric (THANK YOU 
> GUYS!!!) things are now *decent enough *for a new demo attempt.
>

 Ciao Mat

Quick comment. Looking v. good! Hope you will get help on the remaining 
issues, which are beyond me.

What I like about it A LOT is that it shows a way one tool can be used to 
address common editing needs in a simple, efficient way.
Very appealing. Extensible.

I'd use it!

Best wishes
TT

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ff59f25-a6b3-45e6-bdbf-d111ea0a748ao%40googlegroups.com.


[tw5] Re: When would I be missing the "new tiddler" + sign?

2020-07-06 Thread TW Tones
WPQ,

To fix the side bar position, Use Control Panel > Appearance > Theme Tweaks 
First option set as follows
Sidebar layout 

 Fixed 
story, fluid sidebarFluid story, fixed sidebarTo show the Page Control 
Buttons go to Control Panel > Appearance > Toobars > Page Tool bar

And at least select *more* (to get a droop down to all page controls), or 
check the *New Tiddler Button*.

Regards
TW Tones


On Monday, July 6, 2020 at 6:35:10 PM UTC+10, Wpq wrote:
>
> Sorry for that - apparently the copy/paste did not go though:  
> https://imgur.com/a/azYfKp5  (and there is no way to edit my original 
> message) 
>
> Le lundi 6 juillet 2020 à 10:33:02 UTC+2, PMario a écrit :
>
>> Hi, 
>> Your screenshot isn't visible. ... At least for me. 
>> -mario
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6492b796-c8a0-49bf-aea9-a87951dce133o%40googlegroups.com.


[tw5] Re: When would I be missing the "new tiddler" + sign?

2020-07-06 Thread Saq Imtiaz
Have you logged in via http://127.0.0.1:8080/login-basic ?

On Monday, July 6, 2020 at 9:35:46 AM UTC+2, Wpq wrote:
>
> Hello everyone
>
> I just started to use TiddlyWiki by installing it in a docker container (
> https://hub.docker.com/r/vimagick/tiddlywiki).
>
> When going to the wiki page, I was greeted with the welcome page. Th 
> eproblem I have is that there is no "+" sign anywhere!
>
>
>
> What could be the reason for that?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5258636e-d9e7-4ec8-9ca5-a76f2b8ef198o%40googlegroups.com.


[tw5] Re: Preview Tiddler button and css

2020-07-06 Thread Felicia Crow
Hi Tony,

Is there a reason you define a width and height and then scale it down?

Scaling like this does not affect the document flow, meaning that while you 
see the scaled down elements on screen in the background the size of each 
of your previews is still considered 600px when it comes to positioning the 
next element.
That is where the gaps come from.

Also as an info: When trying it in my own wiki - which unlike 
tiddlywiki.com uses a fixed story - this happens:

[image: preview.png]

I will test out what tiddlywiki does with flexbox or css grid as a possible 
alternative solution.

Regards,
Felicia



On Monday, 6 July 2020 10:34:48 UTC+2, TW Tones wrote:
>
> Folks,
>
> If you place the following in a tiddler on tiddlywiki.com, you will see 
> it generates a preview of tiddlers with The TableOfContents tag.
>
> To get here I have begged, borrowed and stolen code. 
>
> The problem is I do not know how to remove the empty space between each 
> preview.
>
> Any advice and I would be grateful.
>
> \define preview(filter)
> 
> .preview {
> width:600px; 
> min-height:400px; max-height:400px;
> -webkit-transform:scale(.25);
> -ms-transform:scale(.5);
> transform:scale(.5,.5);
> -webkit-transform-origin:0 0; 
> -ms-transform-origin:0 0; 
> transform-origin:0 0; 
> border:1px solid blue;
> margin:0 0 0 0;
> padding: 10px 10px 10px 10px;
> overflow: hidden;
> }
> 
>
> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
> 
> <$list filter=<> >
> <$button to=<> tooltip={{{ [all[current]addprefix[Open: ]] 
> }}} class="preview" tag="div">
> <$link/>
> <$transclude mode=block/>
> 
> 
> 
> 
> \end
>
>
> <>
>
>
> Of course when working I would move the styles to a stylesheet and macro 
> to a tiddler tagged macro.
>
> Regards
> TW Tones
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2859574e-0006-41d1-ae96-d44562b04e63o%40googlegroups.com.


[tw5] Re: Preview Tiddler button and css

2020-07-06 Thread Saq Imtiaz
I haven't tested your code but I can guess what the problem is from your 
CSS.

When using transform:scale with CSS, the various block level elements are 
rendered before being scaled. As such, they take up as much space as their 
original size. There are various workarounds that work, depending on the 
HTML structure. A search for something like "transform scale empty space" 
should point you in the correct direction.

On Monday, July 6, 2020 at 10:34:48 AM UTC+2, TW Tones wrote:
>
> Folks,
>
> If you place the following in a tiddler on tiddlywiki.com, you will see 
> it generates a preview of tiddlers with The TableOfContents tag.
>
> To get here I have begged, borrowed and stolen code. 
>
> The problem is I do not know how to remove the empty space between each 
> preview.
>
> Any advice and I would be grateful.
>
> \define preview(filter)
> 
> .preview {
> width:600px; 
> min-height:400px; max-height:400px;
> -webkit-transform:scale(.25);
> -ms-transform:scale(.5);
> transform:scale(.5,.5);
> -webkit-transform-origin:0 0; 
> -ms-transform-origin:0 0; 
> transform-origin:0 0; 
> border:1px solid blue;
> margin:0 0 0 0;
> padding: 10px 10px 10px 10px;
> overflow: hidden;
> }
> 
>
> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
> 
> <$list filter=<> >
> <$button to=<> tooltip={{{ [all[current]addprefix[Open: ]] 
> }}} class="preview" tag="div">
> <$link/>
> <$transclude mode=block/>
> 
> 
> 
> 
> \end
>
>
> <>
>
>
> Of course when working I would move the styles to a stylesheet and macro 
> to a tiddler tagged macro.
>
> Regards
> TW Tones
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/426f31b5-b8e1-4803-a8cf-567e2ad1809do%40googlegroups.com.


[tw5] Re: TiddlyServer Missing ETag on Nginx Reverse Proxy

2020-07-06 Thread Saq Imtiaz
Have a look at the etag settings mentioned at 
https://arlen22.github.io/tiddlyserver/docs/serverconfig.html

(A browser search on that page is helpful)

On Tuesday, July 7, 2020 at 6:41:07 AM UTC+2, oha...@gmail.com wrote:
>
> Hello,
>
> Jordan here.
>
> That sounds like a good path to go down, how do I go about it?
>
> On Tuesday, 7 July 2020 at 01:32:50 UTC+2 TW Tones wrote:
>
>> Hi - whats your name?
>>
>> I do not have the skills to help you as I have not gone this way 
>> previously. 
>>
>> I do recall however configuring etag settings in TiddlyServers 
>> settings.json in the past, primarily to stop the passing of time giving 
>> rise to failed saves.
>>
>> Perhaps this is a clue that could lead you to resolution?
>>
>> Regards
>> Tony
>>
>>
>> On Tuesday, July 7, 2020 at 6:02:50 AM UTC+10, oha...@gmail.com wrote:
>>>
>>> Hi all,
>>>
>>> I'm at the end of my rope here, trying to fix this. I am running an 
>>> instance of TiddlyServer on my Raspberry Pi running behind an Nginx reverse 
>>> proxy and SSL from Let's Encrypt. Some combination of all of these factors 
>>> causes the Etag header to be missing on the responses, and my server cannot 
>>> save because of it. Viewing the localhost works fine. 
>>>
>>> I came across this old thread with similar issues 
>>> https://groups.google.com/u/1/g/tiddlywiki/c/8HB0R_ADYac/m/axe_o1IgBAAJ but 
>>> saw no answers in there.
>>>
>>> Any help at all would be greatly appreciated. You can find my 
>>> TiddlyServer setup in the original issue here 
>>> https://github.com/Arlen22/TiddlyServer/issues/97 and my Nginx config 
>>> is as follows:
>>>
>>> server {
>>>   server_name mydomain.com www.mydomain.com;
>>>
>>>   error_log /var/log/nginx/mydomain.com.log;
>>>   access_log /var/log/nginx/mydomain.com.access.log combined;
>>>
>>>   location / {
>>> proxy_pass http://192.168.0.109:8080/;
>>> proxy_set_header Host $host;
>>> proxy_set_header X-Real-IP $remote_addr;
>>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
>>>   }
>>>
>>> listen [::]:443 ssl ipv6only=on;
>>> listen 443 ssl;
>>>
>>> ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # 
>>> managed by Certbot
>>> ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; 
>>> # managed by Certbot
>>> ssl_trusted_certificate /etc/letsencrypt/live/mydomain.com/chain.pem
>>> ;
>>> include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
>>> ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
>>>
>>>
>>>
>>> }server {
>>> if ($host = mydomain.com) {
>>> return 301 https://$host$request_uri;
>>> } # managed by Certbot
>>>
>>> if ($host = www.mydomain.com) {
>>> return 301 https://$host$request_uri;
>>> } # managed by Certbot
>>>
>>>
>>>   listen 80;
>>>   listen [::]:80;
>>>   server_name mydomain.com www.mydomain.com;
>>> return 404; # managed by Certbot
>>> }
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8d34722d-2229-44b9-af55-223ea7914cdfo%40googlegroups.com.


[tw5] Re: TiddlyServer Missing ETag on Nginx Reverse Proxy

2020-07-06 Thread oha...@gmail.com
Hello,

Jordan here.

That sounds like a good path to go down, how do I go about it?

On Tuesday, 7 July 2020 at 01:32:50 UTC+2 TW Tones wrote:

> Hi - whats your name?
>
> I do not have the skills to help you as I have not gone this way 
> previously. 
>
> I do recall however configuring etag settings in TiddlyServers 
> settings.json in the past, primarily to stop the passing of time giving 
> rise to failed saves.
>
> Perhaps this is a clue that could lead you to resolution?
>
> Regards
> Tony
>
>
> On Tuesday, July 7, 2020 at 6:02:50 AM UTC+10, oha...@gmail.com wrote:
>>
>> Hi all,
>>
>> I'm at the end of my rope here, trying to fix this. I am running an 
>> instance of TiddlyServer on my Raspberry Pi running behind an Nginx reverse 
>> proxy and SSL from Let's Encrypt. Some combination of all of these factors 
>> causes the Etag header to be missing on the responses, and my server cannot 
>> save because of it. Viewing the localhost works fine. 
>>
>> I came across this old thread with similar issues 
>> https://groups.google.com/u/1/g/tiddlywiki/c/8HB0R_ADYac/m/axe_o1IgBAAJ but 
>> saw no answers in there.
>>
>> Any help at all would be greatly appreciated. You can find my 
>> TiddlyServer setup in the original issue here 
>> https://github.com/Arlen22/TiddlyServer/issues/97 and my Nginx config is 
>> as follows:
>>
>> server {
>>   server_name mydomain.com www.mydomain.com;
>>
>>   error_log /var/log/nginx/mydomain.com.log;
>>   access_log /var/log/nginx/mydomain.com.access.log combined;
>>
>>   location / {
>> proxy_pass http://192.168.0.109:8080/;
>> proxy_set_header Host $host;
>> proxy_set_header X-Real-IP $remote_addr;
>> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
>>   }
>>
>> listen [::]:443 ssl ipv6only=on;
>> listen 443 ssl;
>>
>> ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # 
>> managed by Certbot
>> ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; 
>> # managed by Certbot
>> ssl_trusted_certificate /etc/letsencrypt/live/mydomain.com/chain.pem;
>> include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
>> ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
>>
>>
>>
>> }server {
>> if ($host = mydomain.com) {
>> return 301 https://$host$request_uri;
>> } # managed by Certbot
>>
>> if ($host = www.mydomain.com) {
>> return 301 https://$host$request_uri;
>> } # managed by Certbot
>>
>>
>>   listen 80;
>>   listen [::]:80;
>>   server_name mydomain.com www.mydomain.com;
>> return 404; # managed by Certbot
>> }
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1e334f0d-bfe2-410a-8466-46f3fae750a9n%40googlegroups.com.


[tw5] Re: Is it possible to apply dynamic tags on new tiddlers?

2020-07-06 Thread PMario
Hi

TW has no info about the Week number. 

_And_ counting week numbers is different between eg: US and Europe! So they 
are different sometimes! ... Which means not 100% reliable. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/df374d91-9652-4d26-a037-9bfaed19624eo%40googlegroups.com.


[tw5] Re: Is it possible to apply dynamic tags on new tiddlers?

2020-07-06 Thread Wpq
The week number was just an example (though it is defined in ISO 8601  
https://en.wikipedia.org/wiki/ISO_week_date but indeed it changes by local 
tradition). I was more wondering about the general idea of being able to 
add dynamic data to tags.

Thanks for the feedback!

Le lundi 6 juillet 2020 à 13:01:24 UTC+2, PMario a écrit :

> Hi
>
> TW has no info about the Week number. 
>
> _And_ counting week numbers is different between eg: US and Europe! So 
> they are different sometimes! ... Which means not 100% reliable. 
>
> -m
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e58d003f-0a5b-41de-96f2-d96cb6f4b4f2n%40googlegroups.com.


[tw5] Re: Is it possible to create buttons (or other one-click mechanisms) to filter tiddlers?

2020-07-06 Thread Saq Imtiaz
Have a look at the ListWidget 
https://tiddlywiki.com/#ListWidget

On Monday, July 6, 2020 at 1:35:50 PM UTC+2, Wpq wrote:
>
> I am reading about tiddlers and made one specific form my home page. I 
> also saw that they are available for use in Advanced Search.
>
> Is there a way to link a filter to a button (or anything one-click) to 
> have a set of used tiddlers? 
>
> One of the solutions whihc I was hoping for would be to use filters when 
> writing a tiddler, to have that diddler as the "dispatcher", something like 
> a "table of contents" for my content. For instance a list such as 
>
>- tiddlers tagges with "pro"
>- ones tagged with "perso"
>- last 10
>- ...
>
> In other words: where can I use filters beyond the configuration of the 
> home page and advanced search?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2da568d0-a459-40d2-83ce-9af5ebb0964co%40googlegroups.com.


[tw5] Re: Is it possible to create buttons (or other one-click mechanisms) to filter tiddlers?

2020-07-06 Thread Wpq
This is what I tried first (with the tag "journal", I have a test tiddler 
with that tag), but there is nothing on the 
output: https://i.imgur.com/mNOwiGl.png and after 
saving: https://i.imgur.com/ZwbHA4t.png



Le lundi 6 juillet 2020 à 13:54:16 UTC+2, saq.i...@gmail.com a écrit :

> You can use it anywhere you can use wiki text.
>
> Best way to learn is to try a list widget in a tiddler.
> For example:
>
> <$list filter="[tag[pro]]"/>
>
>
> On Monday, July 6, 2020 at 1:49:07 PM UTC+2, Wpq wrote:
>>
>> Thank you very much - this is exactly what I was looking for. 
>> I have a problem, however, because the documentation is not clear about 
>> WHERE to use <$list>. Sorry if this is obvious, I am still struggling with 
>> some basic concepts.
>>
>> Would you know of a place where <$list> is actually used so that I can 
>> have an idea where it is supposed to land on the page?
>>
>> Le lundi 6 juillet 2020 à 13:39:35 UTC+2, saq.i...@gmail.com a écrit :
>>
>>> Have a look at the ListWidget 
>>> https://tiddlywiki.com/#ListWidget
>>>
>>>
>>> On Monday, July 6, 2020 at 1:35:50 PM UTC+2, Wpq wrote:

 I am reading about tiddlers and made one specific form my home page. I 
 also saw that they are available for use in Advanced Search.

 Is there a way to link a filter to a button (or anything one-click) to 
 have a set of used tiddlers? 

 One of the solutions whihc I was hoping for would be to use filters 
 when writing a tiddler, to have that diddler as the "dispatcher", 
 something 
 like a "table of contents" for my content. For instance a list such as 

- tiddlers tagges with "pro"
- ones tagged with "perso"
- last 10
- ...

 In other words: where can I use filters beyond the configuration of the 
 home page and advanced search?

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8111e188-55f3-4891-9e3d-8fda4ba1f7dfn%40googlegroups.com.


[tw5] Re: Is it possible to apply dynamic tags on new tiddlers?

2020-07-06 Thread TW Tones
Wpq,

Welcome to the community. I can see the possibilities are slowly coming to 
you.

If you embrace tiddlywiki, I do not think you will every look back. We 
volunteers in the community can help you a lot, no question is a silly 
question, but searching tiddlywiki.com or our forums is the first place to 
learn.

Tiddlywiki is a platform for notes, websites apps and much more. It 
democratises information technology by putting the power in the hands of 
the user to evolve a solution with their needs. Based on industry standard 
protocols like html and css and easy ways to use these, built in javascript 
much of what you learn with tiddlywiki are using industry standard 
technologies, skills you can use elsewhere. Although you can avoid a lot of 
coding with editions and plugins made in the community or built in to 
tiddlywiki.

Regards
Tony


On Monday, July 6, 2020 at 10:17:17 PM UTC+10, Wpq wrote:
>
> Thanks for the answer.
>
> I am just starting, I discovered TiddlyWiki today. After 25 years of 
> making notes in all kind of environments (either the ones I coded myself, 
> or OneNote, Evernote, Joplin, you name it).
> This is the first time I see a system which is so versatile - I will 
> invest time during the summer to understand it more deeply.
>
> And the community is great :)
>
> Le lundi 6 juillet 2020 à 14:08:00 UTC+2, TW Tones a écrit :
>
>> WPQ,
>>
>> The ability to add tags on tiddlers is in someways a simple extra option. 
>> It is not really for more sophisticated use. You could use it while 
>> creating a dozen new tiddlers manually all of which you want to have the 
>> same tag(s)
>>
>> The thing is the tags you add on the Control Panel info panel are added 
>> to $:/config/NewTiddler/Tags and this is the source of tags when using 
>> the new tiddler button.
>>
>> If you generate your automatic tags and tag $:/config/NewTiddler/Tags 
>> with those, subsequent use of the new tiddler button will add them. However 
>> to do something automatic you may need to use startup actions, perhaps via 
>> the startup actions plugin which is more advanced 
>> https://ooktech.com/jed/ExampleWikis/StartupActions/
>>
>> *However*, I think there is a much better approach especially with dates 
>> and time. Firstly as you  create a tiddler NOW it gets a created date 
>> automatically. From this created date you can always calculate what the day 
>> of week, week number is, even 24hour time of day you could use to 
>> determine its morning and much more (use the ViewWidget date format and 
>> template), is so no need to waste a tag on it. If the created or modified 
>> dates are not what you want you can always get your new tiddlers stamped or 
>> selected with another home made date field.
>>
>> The new tiddler and New Journal buttons are there for new comers, but 
>> when you start making custom tiddlers and want to automate things learn 
>> about creating a button or cloning an existing button, and adding 
>> additional actions for additional outcomes like tagging, creating fields 
>> and a lot more, such as using a template according to context.
>>
>> Then the next step is to learn how to use the list widget to to get a 
>> date field and use it for selecting what to display. For example the days 
>> operator allows you to all tiddlers in a date range by any date field.
>>
>> We can help you learn all of the above, and plugins and macro's become 
>> available to do this kind of thing every day.
>>
>> Your could say people build so many things with tiddlywiki, there are 
>> plenty of wheels around, so you do not have to reinvent the wheel very 
>> often, just work out what you want you vehicle to do.
>>
>> Regards
>> Tony
>>
>>
>>
>>
>>
>>
>> On Monday, July 6, 2020 at 7:48:06 PM UTC+10, Wpq wrote:
>>>
>>> Hello everyone
>>>
>>> When visiting the options (I just started with TiddlyWiki) I noticed 
>>> that it is possible to add tags by default on new tiddlers.
>>>
>>> Can these tags be automatic? It would be awesome to be able to add tags 
>>> such as "Monday", "Week 28", "morning" - tags which would be dynamic 
>>> depending on some context (typically the date or time I guess)
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9de84736-45f5-41ac-accb-116125e1b2ebo%40googlegroups.com.


[tw5] Re: Is it possible to create buttons (or other one-click mechanisms) to filter tiddlers?

2020-07-06 Thread Saq Imtiaz
You can use it anywhere you can use wiki text.

Best way to learn is to try a list widget in a tiddler.
For example:

<$list filter="[tag[pro]]"/>

On Monday, July 6, 2020 at 1:49:07 PM UTC+2, Wpq wrote:
>
> Thank you very much - this is exactly what I was looking for. 
> I have a problem, however, because the documentation is not clear about 
> WHERE to use <$list>. Sorry if this is obvious, I am still struggling with 
> some basic concepts.
>
> Would you know of a place where <$list> is actually used so that I can 
> have an idea where it is supposed to land on the page?
>
> Le lundi 6 juillet 2020 à 13:39:35 UTC+2, saq.i...@gmail.com a écrit :
>
>> Have a look at the ListWidget 
>> https://tiddlywiki.com/#ListWidget
>>
>>
>> On Monday, July 6, 2020 at 1:35:50 PM UTC+2, Wpq wrote:
>>>
>>> I am reading about tiddlers and made one specific form my home page. I 
>>> also saw that they are available for use in Advanced Search.
>>>
>>> Is there a way to link a filter to a button (or anything one-click) to 
>>> have a set of used tiddlers? 
>>>
>>> One of the solutions whihc I was hoping for would be to use filters when 
>>> writing a tiddler, to have that diddler as the "dispatcher", something like 
>>> a "table of contents" for my content. For instance a list such as 
>>>
>>>- tiddlers tagges with "pro"
>>>- ones tagged with "perso"
>>>- last 10
>>>- ...
>>>
>>> In other words: where can I use filters beyond the configuration of the 
>>> home page and advanced search?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3470e24a-2813-41a3-a6bb-9a7fa5480e59o%40googlegroups.com.


[tw5] Re: Is it possible to create buttons (or other one-click mechanisms) to filter tiddlers?

2020-07-06 Thread Saq Imtiaz
Are you sure you have tiddlers tagged "journal"? 
Note that tags are case sensitive.

Try this at tiddlywiki.com

<$list filter="[tag[HelloThere]]"/>

On Monday, July 6, 2020 at 2:04:20 PM UTC+2, Wpq wrote:
>
> This is what I tried first (with the tag "journal", I have a test tiddler 
> with that tag), but there is nothing on the output: 
> https://i.imgur.com/mNOwiGl.png and after saving: 
> https://i.imgur.com/ZwbHA4t.png
>
>
>
> Le lundi 6 juillet 2020 à 13:54:16 UTC+2, saq.i...@gmail.com a écrit :
>
>> You can use it anywhere you can use wiki text.
>>
>> Best way to learn is to try a list widget in a tiddler.
>> For example:
>>
>> <$list filter="[tag[pro]]"/>
>>
>>
>> On Monday, July 6, 2020 at 1:49:07 PM UTC+2, Wpq wrote:
>>>
>>> Thank you very much - this is exactly what I was looking for. 
>>> I have a problem, however, because the documentation is not clear about 
>>> WHERE to use <$list>. Sorry if this is obvious, I am still struggling with 
>>> some basic concepts.
>>>
>>> Would you know of a place where <$list> is actually used so that I can 
>>> have an idea where it is supposed to land on the page?
>>>
>>> Le lundi 6 juillet 2020 à 13:39:35 UTC+2, saq.i...@gmail.com a écrit :
>>>
 Have a look at the ListWidget 
 https://tiddlywiki.com/#ListWidget


 On Monday, July 6, 2020 at 1:35:50 PM UTC+2, Wpq wrote:
>
> I am reading about tiddlers and made one specific form my home page. I 
> also saw that they are available for use in Advanced Search.
>
> Is there a way to link a filter to a button (or anything one-click) to 
> have a set of used tiddlers? 
>
> One of the solutions whihc I was hoping for would be to use filters 
> when writing a tiddler, to have that diddler as the "dispatcher", 
> something 
> like a "table of contents" for my content. For instance a list such as 
>
>- tiddlers tagges with "pro"
>- ones tagged with "perso"
>- last 10
>- ...
>
> In other words: where can I use filters beyond the configuration of 
> the home page and advanced search?
>


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dcd4e706-0dbe-4646-9b2d-981e32e0e52co%40googlegroups.com.


[tw5] Re: $link to anchor?

2020-07-06 Thread TW Tones
Jake,

In a simple html page an anchor is defined and links to the anchor moves 
you to that part of the page, such as a heading. They are a kind of 
internal link.

Now if you stop to think about it tiddlywiki has a lot of features about 
internal links, it open tiddlers, and executes buttons and a lot more, all 
in the same page.

As a result the anchor method is used in the way tiddlywikis page works and 
the standard simple anchor is not easily available, however people have 
found tricks, workarounds and even better alternative solutions. The answer 
is not strait forward.

However as it often the case here is if you try and ask what you want from 
tiddlywiki, functionally, rather than ask a question with a partial 
solution eg an anchor is a "method to an end" not "an end in itself" like 
try this "Is there a way to get links to jump to a heading in a long 
tiddler?" you are far more likely to get the answer you seek.

Regards
Tony



On Monday, July 6, 2020 at 9:19:01 PM UTC+10, Jake wrote:
>
> ARIA (Accessible Rich Internet Applications) is a way to help people with 
>> disabilities to process a page:  
>> https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
>> An `aria-label` will describe the element to, for instance, a screen 
>> reader.
>>
>
> Well, then I guess that is not an "anchor". (◑‿◐) 
>
> so... what's the anchor then?  
>

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


[tw5] Re: Is it possible to create buttons (or other one-click mechanisms) to filter tiddlers?

2020-07-06 Thread Wpq
Thank you very much - this is exactly what I was looking for. 
I have a problem, however, because the documentation is not clear about 
WHERE to use <$list>. Sorry if this is obvious, I am still struggling with 
some basic concepts.

Would you know of a place where <$list> is actually used so that I can have 
an idea where it is supposed to land on the page?

Le lundi 6 juillet 2020 à 13:39:35 UTC+2, saq.i...@gmail.com a écrit :

> Have a look at the ListWidget 
> https://tiddlywiki.com/#ListWidget
>
>
> On Monday, July 6, 2020 at 1:35:50 PM UTC+2, Wpq wrote:
>>
>> I am reading about tiddlers and made one specific form my home page. I 
>> also saw that they are available for use in Advanced Search.
>>
>> Is there a way to link a filter to a button (or anything one-click) to 
>> have a set of used tiddlers? 
>>
>> One of the solutions whihc I was hoping for would be to use filters when 
>> writing a tiddler, to have that diddler as the "dispatcher", something like 
>> a "table of contents" for my content. For instance a list such as 
>>
>>- tiddlers tagges with "pro"
>>- ones tagged with "perso"
>>- last 10
>>- ...
>>
>> In other words: where can I use filters beyond the configuration of the 
>> home page and advanced search?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c7c03871-6664-4a0c-bce3-56bfa070cc91n%40googlegroups.com.


[tw5] Re: How to install plugins when running a node server?

2020-07-06 Thread TW Tones
Wpq,

Use markdown if you must but It is better to learn tiddlywikis own markdow 
language, and the features that emerge from there. I only say this because 
I know you are new, it may be your reflex to use markdown since it is 
available, perhaps to import current documents but it is unnecessary.

Regards
Tony

On Monday, July 6, 2020 at 10:21:02 PM UTC+10, Wpq wrote:
>
> I found it - you need to drop it on the very top of the scree, a green bar 
> appears
>
> Le lundi 6 juillet 2020 à 13:08:12 UTC+2, Wpq a écrit :
>
>> TiddlyWiki has an official Markdown plugin: 
>> https://tiddlywiki.com/plugins/tiddlywiki/markdown/
>>
>> The site explains that 
>>
>> > To add the plugin to your own TiddlyWiki5 
>> , just 
>> drag this link to the browser window:
>> > $:/plugins/tiddlywiki/markdown 
>> 
>>
>> When dragging this link to the browser TiddlyWiki is running in nothing 
>> happens (which is probably correct, the site being served by a server - in 
>> my case in a docker container).
>>
>> What is the correct way to install plugins in such a case?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e22339e0-c390-47ac-b500-1bdcd31b845bo%40googlegroups.com.


[tw5] Re: Is it possible to apply dynamic tags on new tiddlers?

2020-07-06 Thread PMario
Hi,

That's not possible out of the box. ... Someone would need to make a 
"special" New Tiddler button, that contains some logic as you describe it. 

-mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dfc0c7ef-0794-42e0-9b31-7e26ea6da129o%40googlegroups.com.


[tw5] $link to anchor?

2020-07-06 Thread 'Jake' via TiddlyWiki
Is there a way to $link to a specific anchor in a tiddler (like you do with 
    https://tiddlywiki.com/#LinkWidget and there is some 
parameter called: 
aria-label Optional accessibility label
Is this some TW analogue of anchor? If so, how to put one in a tiddler? 
There's absolutely zero info on the page about using this "aria-label".
Or is it just absolutely different issue and there should be some other 
parameter instead?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/73306a28-670a-41a6-be64-72d1efbdea0bo%40googlegroups.com.


[tw5] Re: Code simplification Challenge - a smart config values select

2020-07-06 Thread Felicia Crow
Thanks for your kind words!
That was why I wrote apparently since I know from years of dealing with my 
migraine and observation that larger changes in weather and/or temperature 
triggers it - always "fun" in weeks where it gets from sunny to rain and 
back from one day to the next - so seeing how the weather here went from no 
wind and heat on saturday to roughly the same temperature, but very windy 
yesterday it is my current working theory for why my migraine got triggered 
yesterday, not a definitiv conclusion.

It is great to hear that they disappeared for your mother and yeah I hope 
that it will get better eventually.
One silver lining is that at least by now I am better at dealing with them 
so I am not fully out of comission, but I still would not have had the 
focus to test out and find a solution to your test so that's why I decided 
to get back to you when my brain was working again.


To the test itself: What confused me was that it worked for the tiddlers 
the filter gives back, but that the filter itself only gives back some 
tiddlers even when I add is[shadow] to it. So for now yes it seems to be 
another challenge.

Thanks again for your kind words and best of luck to you too,
Felicia


On Monday, 6 July 2020 12:42:38 UTC+2, TW Tones wrote:

> Felicia,
>
> sorry for not answering yesterday, but my migraine apparently now gets 
>> also triggered by smaller changes in weather.
>>
>>
> I feel for you with migraines although I have being told, to keep a log 
> before you conclude things like  "*now gets also triggered by smaller 
> changes in weather"* because you can teach yourself to respond to 
> triggers, so it becomes a self fulfilling prophecy. But I am sure you know 
> what is best for yourself, so many different things can trigger them. 
>
> My mother suffered them a lot at one point but they disappeared, lets hope 
> the same happens for you :)
>  
>
>> Thanks for the reminder of the size parameter! Somehow I was so convinced 
>> at the time that it had to be something with width and found nothing except 
>> for css changes that I used a textarea for the bigger size.
>> The whole it has to be width was probably while I also overread it in the 
>> documentation.
>>
>> To your test, can you elaborate on what you think is not right? I tried 
>> both versions in the same wiki and they gave me the same result.
>>
>
> Yes, my little test I though broke your solution, then I noticed it also 
> broke on my original post. I have not tried to solve it yet. Another 
> challenge?
>
> best of luck
> thanks for your go.
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7214b85f-7673-4b91-a93e-27e571d78096o%40googlegroups.com.


[tw5] Re: Preview Tiddler button and css

2020-07-06 Thread Felicia Crow
So first testing it on another computer copying in what I actually send you 
I see what you mean with vertically stacked. So I have to recheck my code 
to see what went wrong, sorry for that. In my tests it worked, but there I 
imported it via drag and drop from the wiki I worked in. From which I also 
copied it so in theory it should be the same. Oh well, a good lesson of 
always double-check everything.

Second for your desire to wrap it into a div with column-count I have to 
rework my solution. I replaced the column-count with the preview-container 
to set up flexbox and the columns are handled by setting a percentage on 
the width property of the preview div itself and letting flexbox do the 
rest.

Will see what I can do and get back to you.
Felicia


On Monday, 6 July 2020 12:49:59 UTC+2, TW Tones wrote:
>
> Felicia,
>
> That certainly solves the unwanted space issue. I only see them stacked 
> vertically and my desire to wrap them all in a 
> 
>
> 
> Is not working on top of your solution
>
> Thanks for you response
> TW Tones
>
>
>
> On Monday, July 6, 2020 at 8:34:09 PM UTC+10, Felicia Crow wrote:
>>
>> Oh two people one thought, although Saq definitely explained it better.
>>
>> If scale is not important and it is just about sizing I played around a 
>> little and found this solution using flexbox:
>>
>> \define preview(filter)
>> 
>> .preview-container{
>>   display: flex;
>>   flex-wrap: wrap;
>>   flex-direction: row;
>>   justify-content: flex-start;
>> }
>> .preview {
>>   width: 24%;
>>   max-height: 400px;
>>   border:1px solid blue;
>>   padding: 10px 10px 10px 10px;
>>   overflow: hidden;
>>   margin-right: 10px;
>>   margin-bottom: 10px;
>> }
>> 
>>
>> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
>> 
>> <$list filter=<> >
>> <$button to=<> tooltip={{{ [all[current]addprefix[Open: 
>> ]] }}} class="preview" tag="div">
>> <$link/>
>> <$transclude mode=block/>
>> 
>> 
>> 
>> 
>> \end
>>
>>
>> <>
>>
>>
>>
>> I tested it on tiddlywiki.com in Firefox, Chrome and Edge, and on my own 
>> wiki on TiddlyDesktop and AndTidWiki. The only thing I noticed is that on 
>> mobile - probably due to the smaller screen size - there are only three 
>> previews in a row.
>>
>> Also should you use this and want to have 400px in gerneral just change 
>> out max-height to height. I just found it worked better in an universal way 
>> seeing how for instance my tableofcontent tiddlers are often not very large 
>> and mostly used for sorting other tiddlers so the 400 was mostly empty 
>> space. In the same vein a min-height could be added depending on what you 
>> need.
>>
>>
>> On Monday, 6 July 2020 10:34:48 UTC+2, TW Tones wrote:
>>>
>>> Folks,
>>>
>>> If you place the following in a tiddler on tiddlywiki.com, you will see 
>>> it generates a preview of tiddlers with The TableOfContents tag.
>>>
>>> To get here I have begged, borrowed and stolen code. 
>>>
>>> The problem is I do not know how to remove the empty space between each 
>>> preview.
>>>
>>> Any advice and I would be grateful.
>>>
>>> \define preview(filter)
>>> 
>>> .preview {
>>> width:600px; 
>>> min-height:400px; max-height:400px;
>>> -webkit-transform:scale(.25);
>>> -ms-transform:scale(.5);
>>> transform:scale(.5,.5);
>>> -webkit-transform-origin:0 0; 
>>> -ms-transform-origin:0 0; 
>>> transform-origin:0 0; 
>>> border:1px solid blue;
>>> margin:0 0 0 0;
>>> padding: 10px 10px 10px 10px;
>>> overflow: hidden;
>>> }
>>> 
>>>
>>> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
>>> 
>>> <$list filter=<> >
>>> <$button to=<> tooltip={{{ [all[current]addprefix[Open: 
>>> ]] }}} class="preview" tag="div">
>>> <$link/>
>>> <$transclude mode=block/>
>>> 
>>> 
>>> 
>>> 
>>> \end
>>>
>>>
>>> <>
>>>
>>>
>>> Of course when working I would move the styles to a stylesheet and macro 
>>> to a tiddler tagged macro.
>>>
>>> Regards
>>> TW Tones
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c6dae8e8-c4d7-4ee8-b7b3-0686b7ced05ao%40googlegroups.com.


[tw5] Re: Is it possible to create buttons (or other one-click mechanisms) to filter tiddlers?

2020-07-06 Thread Wpq
You are absolutely right - I had Journal (capitalized).
This is great, I will test all this.

I had no idea about ToddlyWiki, it is an amazing tool.

Thanks a lot.

Le lundi 6 juillet 2020 à 14:09:27 UTC+2, saq.i...@gmail.com a écrit :

> Are you sure you have tiddlers tagged "journal"? 
> Note that tags are case sensitive.
>
> Try this at tiddlywiki.com
>
> <$list filter="[tag[HelloThere]]"/>
>
>
> On Monday, July 6, 2020 at 2:04:20 PM UTC+2, Wpq wrote:
>>
>> This is what I tried first (with the tag "journal", I have a test tiddler 
>> with that tag), but there is nothing on the output: 
>> https://i.imgur.com/mNOwiGl.png and after saving: 
>> https://i.imgur.com/ZwbHA4t.png
>>
>>
>>
>> Le lundi 6 juillet 2020 à 13:54:16 UTC+2, saq.i...@gmail.com a écrit :
>>
>>> You can use it anywhere you can use wiki text.
>>>
>>> Best way to learn is to try a list widget in a tiddler.
>>> For example:
>>>
>>> <$list filter="[tag[pro]]"/>
>>>
>>>
>>> On Monday, July 6, 2020 at 1:49:07 PM UTC+2, Wpq wrote:

 Thank you very much - this is exactly what I was looking for. 
 I have a problem, however, because the documentation is not clear about 
 WHERE to use <$list>. Sorry if this is obvious, I am still struggling with 
 some basic concepts.

 Would you know of a place where <$list> is actually used so that I can 
 have an idea where it is supposed to land on the page?

 Le lundi 6 juillet 2020 à 13:39:35 UTC+2, saq.i...@gmail.com a écrit :

> Have a look at the ListWidget 
> https://tiddlywiki.com/#ListWidget
>
>
> On Monday, July 6, 2020 at 1:35:50 PM UTC+2, Wpq wrote:
>>
>> I am reading about tiddlers and made one specific form my home page. 
>> I also saw that they are available for use in Advanced Search.
>>
>> Is there a way to link a filter to a button (or anything one-click) 
>> to have a set of used tiddlers? 
>>
>> One of the solutions whihc I was hoping for would be to use filters 
>> when writing a tiddler, to have that diddler as the "dispatcher", 
>> something 
>> like a "table of contents" for my content. For instance a list such as 
>>
>>- tiddlers tagges with "pro"
>>- ones tagged with "perso"
>>- last 10
>>- ...
>>
>> In other words: where can I use filters beyond the configuration of 
>> the home page and advanced search?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/822dc3b8-c64d-4ba6-b19e-5da34a836d27n%40googlegroups.com.


[tw5] Re: Is it possible to create buttons (or other one-click mechanisms) to filter tiddlers?

2020-07-06 Thread TW Tones
WPQ,

It is amazing.

There are already a range of toc macros available, 
See https://tiddlywiki.com/#Table-of-Contents%20Macros

You can drag and drop this tiddler ont your wiki to start, 
Then tag the top level tiddlers with TableOfContents, see the contents tab 
in the sidebar
Then use the new here button tiddlers to add children to the table of 
contents.

Regard


On Monday, July 6, 2020 at 9:35:50 PM UTC+10, Wpq wrote:
>
> I am reading about tiddlers and made one specific form my home page. I 
> also saw that they are available for use in Advanced Search.
>
> Is there a way to link a filter to a button (or anything one-click) to 
> have a set of used tiddlers? 
>
> One of the solutions whihc I was hoping for would be to use filters when 
> writing a tiddler, to have that diddler as the "dispatcher", something like 
> a "table of contents" for my content. For instance a list such as 
>
>- tiddlers tagges with "pro"
>- ones tagged with "perso"
>- last 10
>- ...
>
> In other words: where can I use filters beyond the configuration of the 
> home page and advanced search?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3e68be93-6efb-4166-a682-35492936854ao%40googlegroups.com.


[tw5] Re: $link to anchor?

2020-07-06 Thread Wpq
ARIA (Accessible Rich Internet Applications) is a way to help people with 
disabilities to process a page:  
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
An `aria-label` will describe the element to, for instance, a screen reader.

Le lundi 6 juillet 2020 à 13:10:01 UTC+2, Jake a écrit :

> Is there a way to $link to a specific anchor in a tiddler (like you do 
> with https://tiddlywiki.com/#LinkWidget and there is some 
> parameter called: 
> aria-label Optional accessibility label
> Is this some TW analogue of anchor? If so, how to put one in a tiddler? 
> There's absolutely zero info on the page about using this "aria-label".
> Or is it just absolutely different issue and there should be some other 
> parameter instead?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3509241f-a2c3-4573-9d33-9ab46a1f5264n%40googlegroups.com.


[tw5] Re: How to install plugins when running a node server?

2020-07-06 Thread Wpq
I found it - you need to drop it on the very top of the scree, a green bar 
appears

Le lundi 6 juillet 2020 à 13:08:12 UTC+2, Wpq a écrit :

> TiddlyWiki has an official Markdown plugin: 
> https://tiddlywiki.com/plugins/tiddlywiki/markdown/
>
> The site explains that 
>
> > To add the plugin to your own TiddlyWiki5 
> , just 
> drag this link to the browser window:
> > $:/plugins/tiddlywiki/markdown 
> 
>
> When dragging this link to the browser TiddlyWiki is running in nothing 
> happens (which is probably correct, the site being served by a server - in 
> my case in a docker container).
>
> What is the correct way to install plugins in such a case?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/44ea2d17-ac9f-44a7-a319-742589e08810n%40googlegroups.com.


[tw5] Re: Code simplification Challenge - a smart config values select

2020-07-06 Thread Birthe C
Felicia and TW Tones,

I know it is used for another purpose, but have you seen the mono theme and 
how it used the EmptyStoryMessage.
For a quick look at an example 
https://akhater.github.io/drift/#%24%3A%2Fthemes%2Fjd%2FMono%2FEmptyStoryMessage.
 


I also know the migraine all too well. I was one of the lucky ones, it 
disappeared with age as it is often the case. Until then several days a 
month. my best friend and I had lots of problems with migraine, when we 
were at university. Then we found that of course we did not get rid of it, 
but it got milder, when we ate pure licorice. Pure...not the candy one with 
all sorts in the mix. (And the timing to ate it..)

Birthe

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb0393de-f14b-4e5c-8048-c36ad506a4eao%40googlegroups.com.


[tw5] Re: Preview Tiddler button and css

2020-07-06 Thread TW Tones
Felicia,

That certainly solves the unwanted space issue. I only see them stacked 
vertically and my desire to wrap them all in a 



Is not working on top of your solution

Thanks for you response
TW Tones



On Monday, July 6, 2020 at 8:34:09 PM UTC+10, Felicia Crow wrote:
>
> Oh two people one thought, although Saq definitely explained it better.
>
> If scale is not important and it is just about sizing I played around a 
> little and found this solution using flexbox:
>
> \define preview(filter)
> 
> .preview-container{
>   display: flex;
>   flex-wrap: wrap;
>   flex-direction: row;
>   justify-content: flex-start;
> }
> .preview {
>   width: 24%;
>   max-height: 400px;
>   border:1px solid blue;
>   padding: 10px 10px 10px 10px;
>   overflow: hidden;
>   margin-right: 10px;
>   margin-bottom: 10px;
> }
> 
>
> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
> 
> <$list filter=<> >
> <$button to=<> tooltip={{{ [all[current]addprefix[Open: ]] 
> }}} class="preview" tag="div">
> <$link/>
> <$transclude mode=block/>
> 
> 
> 
> 
> \end
>
>
> <>
>
>
>
> I tested it on tiddlywiki.com in Firefox, Chrome and Edge, and on my own 
> wiki on TiddlyDesktop and AndTidWiki. The only thing I noticed is that on 
> mobile - probably due to the smaller screen size - there are only three 
> previews in a row.
>
> Also should you use this and want to have 400px in gerneral just change 
> out max-height to height. I just found it worked better in an universal way 
> seeing how for instance my tableofcontent tiddlers are often not very large 
> and mostly used for sorting other tiddlers so the 400 was mostly empty 
> space. In the same vein a min-height could be added depending on what you 
> need.
>
>
> On Monday, 6 July 2020 10:34:48 UTC+2, TW Tones wrote:
>>
>> Folks,
>>
>> If you place the following in a tiddler on tiddlywiki.com, you will see 
>> it generates a preview of tiddlers with The TableOfContents tag.
>>
>> To get here I have begged, borrowed and stolen code. 
>>
>> The problem is I do not know how to remove the empty space between each 
>> preview.
>>
>> Any advice and I would be grateful.
>>
>> \define preview(filter)
>> 
>> .preview {
>> width:600px; 
>> min-height:400px; max-height:400px;
>> -webkit-transform:scale(.25);
>> -ms-transform:scale(.5);
>> transform:scale(.5,.5);
>> -webkit-transform-origin:0 0; 
>> -ms-transform-origin:0 0; 
>> transform-origin:0 0; 
>> border:1px solid blue;
>> margin:0 0 0 0;
>> padding: 10px 10px 10px 10px;
>> overflow: hidden;
>> }
>> 
>>
>> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
>> 
>> <$list filter=<> >
>> <$button to=<> tooltip={{{ [all[current]addprefix[Open: 
>> ]] }}} class="preview" tag="div">
>> <$link/>
>> <$transclude mode=block/>
>> 
>> 
>> 
>> 
>> \end
>>
>>
>> <>
>>
>>
>> Of course when working I would move the styles to a stylesheet and macro 
>> to a tiddler tagged macro.
>>
>> Regards
>> TW Tones
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cac3d2be-7042-4ffa-b256-48d7c9091f9eo%40googlegroups.com.


[tw5] Re: Is it possible to apply dynamic tags on new tiddlers?

2020-07-06 Thread TW Tones
WPQ,

The ability to add tags on tiddlers is in someways a simple extra option. 
It is not really for more sophisticated use. You could use it while 
creating a dozen new tiddlers manually all of which you want to have the 
same tag(s)

The thing is the tags you add on the Control Panel info panel are added to 
$:/config/NewTiddler/Tags and this is the source of tags when using the new 
tiddler button.

If you generate your automatic tags and tag $:/config/NewTiddler/Tags with 
those, subsequent use of the new tiddler button will add them. However to 
do something automatic you may need to use startup actions, perhaps via the 
startup actions plugin which is more advanced 
https://ooktech.com/jed/ExampleWikis/StartupActions/

*However*, I think there is a much better approach especially with dates 
and time. Firstly as you  create a tiddler NOW it gets a created date 
automatically. From this created date you can always calculate what the day 
of week, week number is, even 24hour time of day you could use to 
determine its morning and much more (use the ViewWidget date format and 
template), is so no need to waste a tag on it. If the created or modified 
dates are not what you want you can always get your new tiddlers stamped or 
selected with another home made date field.

The new tiddler and New Journal buttons are there for new comers, but when 
you start making custom tiddlers and want to automate things learn about 
creating a button or cloning an existing button, and adding additional 
actions for additional outcomes like tagging, creating fields and a lot 
more, such as using a template according to context.

Then the next step is to learn how to use the list widget to to get a date 
field and use it for selecting what to display. For example the days 
operator allows you to all tiddlers in a date range by any date field.

We can help you learn all of the above, and plugins and macro's become 
available to do this kind of thing every day.

Your could say people build so many things with tiddlywiki, there are 
plenty of wheels around, so you do not have to reinvent the wheel very 
often, just work out what you want you vehicle to do.

Regards
Tony






On Monday, July 6, 2020 at 7:48:06 PM UTC+10, Wpq wrote:
>
> Hello everyone
>
> When visiting the options (I just started with TiddlyWiki) I noticed that 
> it is possible to add tags by default on new tiddlers.
>
> Can these tags be automatic? It would be awesome to be able to add tags 
> such as "Monday", "Week 28", "morning" - tags which would be dynamic 
> depending on some context (typically the date or time I guess)
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1985ed6f-1aa5-4562-bfd7-3ae461688a4fo%40googlegroups.com.


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

2020-07-06 Thread Saq Imtiaz
Version 0.1.10

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

   - added option to disable breadcrumbs
   - added feature to add commands to context menu via tagged tiddlers


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/40e1bc72-20be-4757-92ac-408d3bd6d494o%40googlegroups.com.


[tw5] Re: "EditTextWidget for Dummies" anywhere?

2020-07-06 Thread Ankit
no problem at all :)

Let me try and walk you through the edit-text widget as I understand and 
more knowledgeable people around can pitch in to correct me if I have got 
this wrong...

As I understand the most basic usage of the widget would be to place the 
widget in a tiddler like so:

<$edit-text 
tiddler="name_of_data_tiddler_other_than_one_where_this_widget_is_present" 
tag="input_or_textrea"  type="html_field_type" index="some-index-name"/>

Now if we want to make just a simple form above can be repeated a number of 
times with different values for index and it will work. You can check this 
by creating a new tiddler and pasting the following on it:

|Title|Value|h
|!Input Text |<$edit-text tiddler="testdb" placeholder="Input text-field" 
index="field1" size="40"/>|
|!Input Text-index |<$edit-text tiddler="testdb" placeholder="Input 
text-index" index="field2" size="40" tag=input/>|

When you will do this you will notice few things:


   1. field1 is textarea. This is because tag=input is not included in 
   paramenter and if it is not specified by default TW assumes it to be 
   textarea.
   2. As soon as you fill the field the data will keep getting saved on the 
   tiddler "testdb" specified in the parameters
   3. If you open the tiddler "testdb" and edit the values in field on the 
   tiddler with fields you can see the testdb values change with each 
   keystroke.
   4. If you change data on "testdb" tiddler it changes in the field on 
   other tiddler too.

The above behaviour tells us that "testdb" tiddler can effectively be 
treated as backend database for the form on the frontend or so I explained 
it to myself.

So now if I want to store everything on testdb I need to ensure I am giving 
unique names to index which can get crowded and messy so I decided to make 
the backend tiddler change based on name of the frontend tiddler using the 
macro definition which can be done with following line:

\define db() $(currentTiddler)$-db

All this is essentially doing is defining the variable "db" as a string 
"Title of Current Tiddler"-db... So if name of current tiddler is Jake then 
variable db = "Jake-db"

Using this new information we can rewrite the above form as below and see 
how it works:

\define db() $(currentTiddler)$-db
|Title|Value|h
|!Input Text-index |<$edit-text tiddler=<> placeholder="Input 
text-index" index="it" size="40" tag=input/>|
|!First Name |<$edit-text tiddler=<> index="firstname" 
placeholder="First Name"  size="40"/>|
|!Date Field |<$edit-text tag=input type=date tiddler=<> 
index="dt_text"/>|
|!URL Field |<$edit-text tag=input type=url tiddler=<> 
placeholder="https://; index="dt_URI"/>|
|!Telephone Field |<$edit-text tag=input type=tel tiddler=<> 
placeholder="+4407706811884" index="tel"/>|
|!Email Field |<$edit-text tag=input type=email tiddler=<> 
placeholder="ad...@admin.com" index="email"/>|
|!Colour Field |<$edit-text tag=input type=color tiddler=<> 
placeholder=color index="color"/>|

In above snippet I have now included more field types so you can see how we 
are using various html field types. but more importantly you will notice 
that the parameter tiddler is now calling the macro we defined by using 
<> which in turn is setting the tiddler to Jake-db assuming the tiddler 
where you pasted the above snippet is titled "Jake".

ok so now if you enter some data in the fields created by on tiddler named 
Jake, the data for those fields will be saved in the tiddler named 
Jake-db...

If you have followed this far, you will see that rest of the stuff on my 
previous post's snippet really just adds the functionality to make the form 
editable and view only by including the same fields with help of view 
widget and reveal macro.. tell me if you would want a walk-through of that 
else you are set to proceed :)


On Saturday, 4 July 2020 05:48:32 UTC+1, Jake wrote:
>
>
> If you are trying to create a form, I figured the easiest approach was to 
>> just store the data of your form on a data tiddler. All this can then be 
>> done while giving complete flexibility on different field types. If you 
>> create a form template and then use that template to create new tiddlers 
>> using {{||template}} that should just work.
>>
>> Code below shows examples of various HTML field types :
>>
>  
> Yeah, this could also work, but... I just don't think I'm currently 
> TW-smart enough to understand what is going on here and where. It's easier 
> to deal with 1 field you don't understand functioning then with the whole 
> table you don't understand functioning. :) But I'll definitely save this 
> one and try to understand how to handle it and taylor to my needs. Thank 
> you, Ankit!
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

[tw5] Re: Preview: keyboard driven draggable bullets

2020-07-06 Thread Saq Imtiaz
I've been asked to point out that here is a new thread for further updates, 
feedback and bug reports for Streams:
https://groups.google.com/forum/?oldui=1#!topic/tiddlywiki/1jTwdmq8cgI

Please do not post further in this thread as it is getting far too long.

Cheers,
Saq

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d40c15a-59c2-4642-9f5b-83fe10dba44eo%40googlegroups.com.


[tw5] Re: Preview Tiddler button and css

2020-07-06 Thread Felicia Crow
Hi Tony,

I don't know what I did, but I somehow managed to get an empty line after 
copying where there isn't one in my tiddler. The reason the code broke was 
that tiddlywiki put the preview divs in a paragraph due to the empty line 
between the outer div and the list widget. So removing that it works:

\define preview(filter)

.preview-container{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
}
.preview {
  width: 24%;
  max-height: 400px;
  border:1px solid blue;
  padding: 10px 10px 10px 10px;
  overflow: hidden;
  margin-right: 10px;
  margin-bottom: 10px;
}



<$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >

<$list filter=<> >
<$button to=<> tooltip={{{ [all[current]addprefix[Open: ]] 
}}} class="preview" tag="div">
<$link/>
<$transclude mode=block/>




\end


<>


I also played around with using your wish for a div with the column-count 
property as wrapper for the previews and this is the result:
\define preview(filter)

.preview {
  height: 400px;
  border:1px solid blue;
  padding: 10px 10px 10px 10px;
  overflow: hidden;
  margin-bottom: 10px;
}



<$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >

<$list filter=<> >
<$button to=<> tooltip={{{ [all[current]addprefix[Open: ]] 
}}} class="preview" tag="div">
<$link/>
<$transclude mode=block/>




\end


<>


A few things that I learned and/or noticed:

   - Looking up the property I found that column-count or rather the whole 
   set of column properties seem to be intended to break up large chunks of 
   text similar to multi-column layouts in newspapers and magazines not 
   multiple elements.
   - The behaviour of column-count makes it necessary to use a fixed height.
   - column-count works top to bottom first when filling the columns. E.g.: 
   When using the macro on tiddlywiki.com and tagging another tiddler with 
   TableOfContents there will be four columns in the first row, but only three 
   in the next three rows.
   
Hope it helps you regardless.

Regards,
Felicia


On Monday, 6 July 2020 12:49:59 UTC+2, TW Tones wrote:
>
> Felicia,
>
> That certainly solves the unwanted space issue. I only see them stacked 
> vertically and my desire to wrap them all in a 
> 
>
> 
> Is not working on top of your solution
>
> Thanks for you response
> TW Tones
>
>
>
> On Monday, July 6, 2020 at 8:34:09 PM UTC+10, Felicia Crow wrote:
>>
>> Oh two people one thought, although Saq definitely explained it better.
>>
>> If scale is not important and it is just about sizing I played around a 
>> little and found this solution using flexbox:
>>
>> \define preview(filter)
>> 
>> .preview-container{
>>   display: flex;
>>   flex-wrap: wrap;
>>   flex-direction: row;
>>   justify-content: flex-start;
>> }
>> .preview {
>>   width: 24%;
>>   max-height: 400px;
>>   border:1px solid blue;
>>   padding: 10px 10px 10px 10px;
>>   overflow: hidden;
>>   margin-right: 10px;
>>   margin-bottom: 10px;
>> }
>> 
>>
>> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
>> 
>> <$list filter=<> >
>> <$button to=<> tooltip={{{ [all[current]addprefix[Open: 
>> ]] }}} class="preview" tag="div">
>> <$link/>
>> <$transclude mode=block/>
>> 
>> 
>> 
>> 
>> \end
>>
>>
>> <>
>>
>>
>>
>> I tested it on tiddlywiki.com in Firefox, Chrome and Edge, and on my own 
>> wiki on TiddlyDesktop and AndTidWiki. The only thing I noticed is that on 
>> mobile - probably due to the smaller screen size - there are only three 
>> previews in a row.
>>
>> Also should you use this and want to have 400px in gerneral just change 
>> out max-height to height. I just found it worked better in an universal way 
>> seeing how for instance my tableofcontent tiddlers are often not very large 
>> and mostly used for sorting other tiddlers so the 400 was mostly empty 
>> space. In the same vein a min-height could be added depending on what you 
>> need.
>>
>>
>> On Monday, 6 July 2020 10:34:48 UTC+2, TW Tones wrote:
>>>
>>> Folks,
>>>
>>> If you place the following in a tiddler on tiddlywiki.com, you will see 
>>> it generates a preview of tiddlers with The TableOfContents tag.
>>>
>>> To get here I have begged, borrowed and stolen code. 
>>>
>>> The problem is I do not know how to remove the empty space between each 
>>> preview.
>>>
>>> Any advice and I would be grateful.
>>>
>>> \define preview(filter)
>>> 
>>> .preview {
>>> width:600px; 
>>> min-height:400px; max-height:400px;
>>> -webkit-transform:scale(.25);
>>> -ms-transform:scale(.5);
>>> transform:scale(.5,.5);
>>> -webkit-transform-origin:0 0; 
>>> -ms-transform-origin:0 0; 
>>> transform-origin:0 0; 
>>> border:1px solid blue;
>>> margin:0 0 0 0;
>>> padding: 10px 10px 10px 10px;
>>> overflow: hidden;
>>> }
>>> 
>>>
>>> <$set name=filter value="$filter$" emptyValue="[[$(currentTiddler)$]]" >
>>> 
>>> <$list filter=<> >
>>> <$button to=<> tooltip={{{ 

[tw5] Re: An addon for Saq's stream-editor

2020-07-06 Thread Saq Imtiaz
Jan,

I've added the ability to extend the Streams context menu by adding a 
tiddler, as opposed to editing the context menu tiddler. 

The format required can be found here using your flatten as an example:
https://saqimtiaz.github.io/sq-tw/streams.html#Extending%20the%20Context%20Menu

I plan to eventually also make it possible to add keyboard shortcuts 
without needing to edit plugin tiddlers.

Cheers,
Saq

On Thursday, July 2, 2020 at 4:23:07 PM UTC+2, Jan wrote:
>
> Hello,
> I made an addon to Saq's stream-plugin
> * https://saqimtiaz.github.io/sq-tw/streams.html 
>  *
> You can find and test it at 
> *https://szen.io/stream/  *
>
> It mainly adds a modal which allows you
>
> ...to flatten the whole stream or nodes of the stream.
>
> ...and to rename the Node
>
> You trigger it...
> ...in the contextmenu
>
> ...by typing alt+f for flatten while you are in the writingmode of the 
> node you want to flatten.
>
> ...or with the opacity button below (which shall imply "join") to flatten 
> the whole stream
>
> My Addon is a bit wierd because...
>
> ...it inserts multiple linebreaks to keep the structure
>
> ...I tried to make it with very few tiddlers, so the code may appear 
> somewhat strange
>
> To use it:
>
> ...you can choose between ordered and unordered lists and paragraphs.
>
> ...So if you want to transform your stream to a special structure start at 
> the twigs an go back to the trunk.
>
> ...when flattening branches, all subnodes that follow the generic 
> naming-pattern ( and have "/20" in the title ) will be deleted .
>
> ...so if you want to keep the content in a seperate tiddler rename it 
> first.
> ...and as always: backup before Testing it in your Wiki and stream. 
> Big thanks to Saq for inventing this great tool. 
>
> best wishes Jan
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4346019d-0b7d-46aa-91eb-8043f2f52061o%40googlegroups.com.


[tw5] Re: What are the preferences for questions in this community?

2020-07-06 Thread Eric Shulman
On Monday, July 6, 2020 at 7:52:43 AM UTC-7, Wpq wrote:
>
> As I am diving into TiddlyWiki I will have several questions (which are 
> hopefully not covered in the documentation).
> Is it better to ask the questions here
>
>- one message per question, StackOverflow-style?
>- or group all my questions in batches?
>
> I also saw that there was a subred - which place is preferred to ask 
> question?
>

In general, one message per question works best.  This makes it easier for 
others to search for that same question
and quickly find any relevant responses without having to dig through a lot 
of discussion of other issues.

There are several online services that have TiddlyWiki communities.  
GoogleGroups is the oldest and most active
of those, but Twitter and Reddit have their followers as well.  I suspect 
that most people who are on Twitter
or Reddit also come here, so this is probably the best place to start when 
asking a question.  Of course, when
looking for answers that might have already been posted, I'd check all 
sources (including the mail-archive.com list,
which has "enhanced searching" compared with GoogleGroups (oh, the irony!)

-e

 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/48f262f8-a0e0-4eba-901a-5f7b1396cc91o%40googlegroups.com.


[tw5] What are the preferences for questions in this community?

2020-07-06 Thread Ste Wilson
Ask away and we will shout at you for doing it wrong :)

Not really. It's a friendly bunch here. 

Here is the place I think. If your questions are related stick em together. If 
you think they might need a bit of space to breath stick em in their own 
thread. 
You can always start a new thread if a question in a multiparter gets swamped 
by helpful replies to another part :)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d9332815-3fc8-4bed-96e9-4cb1f36a8184o%40googlegroups.com.


[tw5] Re: $link to anchor?

2020-07-06 Thread 'Jake' via TiddlyWiki

>
> ARIA (Accessible Rich Internet Applications) is a way to help people with 
> disabilities to process a page:  
> https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
> An `aria-label` will describe the element to, for instance, a screen 
> reader.
>

Well, then I guess that is not an "anchor". (◑‿◐) 

so... what's the anchor then?  

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d49c2c4d-766e-4bfd-9968-4db6a80ba90ao%40googlegroups.com.


[tw5] Re: Is it possible to apply dynamic tags on new tiddlers?

2020-07-06 Thread Wpq
Thanks for the answer.

I am just starting, I discovered TiddlyWiki today. After 25 years of making 
notes in all kind of environments (either the ones I coded myself, or 
OneNote, Evernote, Joplin, you name it).
This is the first time I see a system which is so versatile - I will invest 
time during the summer to understand it more deeply.

And the community is great :)

Le lundi 6 juillet 2020 à 14:08:00 UTC+2, TW Tones a écrit :

> WPQ,
>
> The ability to add tags on tiddlers is in someways a simple extra option. 
> It is not really for more sophisticated use. You could use it while 
> creating a dozen new tiddlers manually all of which you want to have the 
> same tag(s)
>
> The thing is the tags you add on the Control Panel info panel are added to 
> $:/config/NewTiddler/Tags and this is the source of tags when using the 
> new tiddler button.
>
> If you generate your automatic tags and tag $:/config/NewTiddler/Tags 
> with those, subsequent use of the new tiddler button will add them. However 
> to do something automatic you may need to use startup actions, perhaps via 
> the startup actions plugin which is more advanced 
> https://ooktech.com/jed/ExampleWikis/StartupActions/
>
> *However*, I think there is a much better approach especially with dates 
> and time. Firstly as you  create a tiddler NOW it gets a created date 
> automatically. From this created date you can always calculate what the day 
> of week, week number is, even 24hour time of day you could use to 
> determine its morning and much more (use the ViewWidget date format and 
> template), is so no need to waste a tag on it. If the created or modified 
> dates are not what you want you can always get your new tiddlers stamped or 
> selected with another home made date field.
>
> The new tiddler and New Journal buttons are there for new comers, but when 
> you start making custom tiddlers and want to automate things learn about 
> creating a button or cloning an existing button, and adding additional 
> actions for additional outcomes like tagging, creating fields and a lot 
> more, such as using a template according to context.
>
> Then the next step is to learn how to use the list widget to to get a date 
> field and use it for selecting what to display. For example the days 
> operator allows you to all tiddlers in a date range by any date field.
>
> We can help you learn all of the above, and plugins and macro's become 
> available to do this kind of thing every day.
>
> Your could say people build so many things with tiddlywiki, there are 
> plenty of wheels around, so you do not have to reinvent the wheel very 
> often, just work out what you want you vehicle to do.
>
> Regards
> Tony
>
>
>
>
>
>
> On Monday, July 6, 2020 at 7:48:06 PM UTC+10, Wpq wrote:
>>
>> Hello everyone
>>
>> When visiting the options (I just started with TiddlyWiki) I noticed that 
>> it is possible to add tags by default on new tiddlers.
>>
>> Can these tags be automatic? It would be awesome to be able to add tags 
>> such as "Monday", "Week 28", "morning" - tags which would be dynamic 
>> depending on some context (typically the date or time I guess)
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fba22dc7-8ebd-440a-9b0f-5938d808n%40googlegroups.com.


[tw5] Re: TiddlyServer Missing ETag on Nginx Reverse Proxy

2020-07-06 Thread TW Tones
Hi - whats your name?

I do not have the skills to help you as I have not gone this way 
previously. 

I do recall however configuring etag settings in TiddlyServers 
settings.json in the past, primarily to stop the passing of time giving 
rise to failed saves.

Perhaps this is a clue that could lead you to resolution?

Regards
Tony


On Tuesday, July 7, 2020 at 6:02:50 AM UTC+10, oha...@gmail.com wrote:
>
> Hi all,
>
> I'm at the end of my rope here, trying to fix this. I am running an 
> instance of TiddlyServer on my Raspberry Pi running behind an Nginx reverse 
> proxy and SSL from Let's Encrypt. Some combination of all of these factors 
> causes the Etag header to be missing on the responses, and my server cannot 
> save because of it. Viewing the localhost works fine. 
>
> I came across this old thread with similar issues 
> https://groups.google.com/u/1/g/tiddlywiki/c/8HB0R_ADYac/m/axe_o1IgBAAJ but 
> saw no answers in there.
>
> Any help at all would be greatly appreciated. You can find my TiddlyServer 
> setup in the original issue here 
> https://github.com/Arlen22/TiddlyServer/issues/97 and my Nginx config is 
> as follows:
>
> server {
>   server_name mydomain.com www.mydomain.com;
>
>   error_log /var/log/nginx/mydomain.com.log;
>   access_log /var/log/nginx/mydomain.com.access.log combined;
>
>   location / {
> proxy_pass http://192.168.0.109:8080/;
> proxy_set_header Host $host;
> proxy_set_header X-Real-IP $remote_addr;
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
>   }
>
> listen [::]:443 ssl ipv6only=on;
> listen 443 ssl;
>
> ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # 
> managed by Certbot
> ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; # 
> managed by Certbot
> ssl_trusted_certificate /etc/letsencrypt/live/mydomain.com/chain.pem;
> include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
> ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
>
>
>
> }server {
> if ($host = mydomain.com) {
> return 301 https://$host$request_uri;
> } # managed by Certbot
>
> if ($host = www.mydomain.com) {
> return 301 https://$host$request_uri;
> } # managed by Certbot
>
>
>   listen 80;
>   listen [::]:80;
>   server_name mydomain.com www.mydomain.com;
> return 404; # managed by Certbot
> }
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71644be1-563c-4091-8eff-9ee3f347022bo%40googlegroups.com.


[tw5] Re: What are the preferences for questions in this community?

2020-07-06 Thread TW Tones
WPQ,

I will also add, especially for gamers there is the "TiddlyWiki 5" Discord 
community as well.

I support both Eric and Stes suggestions do the following as well when 
possible

   - Followup and share the final solution if possible
   - At a minimum share when it is completed
   - Think of yourself as an explorer, and try an leave a trail behind you 
   for other explorers in the future
  - So if they discover you question they can follow you to a solution.
  - Try and turn your learning into useful information
   - As a community we often take positive and negative experiences of new 
   users to craft improvements and changes in the long run.

Regards
Tony

On Tuesday, July 7, 2020 at 1:27:34 AM UTC+10, Eric Shulman wrote:
>
> On Monday, July 6, 2020 at 7:52:43 AM UTC-7, Wpq wrote:
>>
>> As I am diving into TiddlyWiki I will have several questions (which are 
>> hopefully not covered in the documentation).
>> Is it better to ask the questions here
>>
>>- one message per question, StackOverflow-style?
>>- or group all my questions in batches?
>>
>> I also saw that there was a subred - which place is preferred to ask 
>> question?
>>
>
> In general, one message per question works best.  This makes it easier for 
> others to search for that same question
> and quickly find any relevant responses without having to dig through a 
> lot of discussion of other issues.
>
> There are several online services that have TiddlyWiki communities.  
> GoogleGroups is the oldest and most active
> of those, but Twitter and Reddit have their followers as well.  I suspect 
> that most people who are on Twitter
> or Reddit also come here, so this is probably the best place to start when 
> asking a question.  Of course, when
> looking for answers that might have already been posted, I'd check all 
> sources (including the mail-archive.com list,
> which has "enhanced searching" compared with GoogleGroups (oh, the irony!)
>
> -e
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0b5e1bc6-f40f-41bd-95fb-4f944d719e19o%40googlegroups.com.


[tw5] Re: Notowritey - Outliner/editor for TW

2020-07-06 Thread 'Mark S.' via TiddlyWiki
I like dropping in a macro and ... away you go. I don't want things to 
become too complicated.

Unfortunately, the toolbar doesn't know about the *contents* of it's 
tiddler. That is, it doesn't know anything about the macro it contains. 
And, of course, someone could, in a spate of cruelty, put two macros in.

However, I can imagine a way to communicate between the document and the 
toolbar. There could be a "Register" button that registers the document 
originating tiddler and the tag name somewhere. After that a toolbar icon 
would appear as needed. The toolbar would then know where to look for all 
the info it needs. But I'm not sure if it's worth the effort. Especially 
with a user-base of 4 ;-)

There was the "export to clipboard" project from a week ago 
(https://marxsal.github.io/various/playground.html) which kind of does the 
same thing. Note that the export tool can not collect the wikitext because 
there is no tool in the TiddlyWiki set that renders *back* to wikitext. The 
only way to acquire that is via the noto macro machinery which can look at 
each individual wiki in the set and assembly the complete document.

Thanks!

On Monday, July 6, 2020 at 3:52:38 PM UTC-7, TW Tones wrote:
>
> Mark,
>
> Beautiful. The read mode caps the whole project off, from brainstorm to 
> publishing thanks.
>
> You seem reluctant to use a viewToolbar button, shall I create one that 
> becomes visible when in publish mode?
>
> Regards
> Tony
>
>
> On Tuesday, July 7, 2020 at 8:22:37 AM UTC+10, Mark S. wrote:
>>
>>
>> There is now a Publication/Read-only mode. Hopefully I didn't break 
>> anything making it, because a lot of CSS got moved around. The button is 
>> down in the settings. Once you're in the view mode, to get back to regular 
>> mode hover over the bottom of the "document" (usually the bottom of the 
>> tiddler) and it will flash a green button to press.
>>
>> https://marxsal.github.io/various/notowritey.html
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8bfe6c2c-2e48-4467-93c8-50e0e3b31d81o%40googlegroups.com.


[tw5] TiddlyServer Missing ETag on Nginx Reverse Proxy

2020-07-06 Thread oha...@gmail.com
Hi all,

I'm at the end of my rope here, trying to fix this. I am running an 
instance of TiddlyServer on my Raspberry Pi running behind an Nginx reverse 
proxy and SSL from Let's Encrypt. Some combination of all of these factors 
causes the Etag header to be missing on the responses, and my server cannot 
save because of it. Viewing the localhost works fine. 

I came across this old thread with similar issues 
https://groups.google.com/u/1/g/tiddlywiki/c/8HB0R_ADYac/m/axe_o1IgBAAJ but 
saw no answers in there.

Any help at all would be greatly appreciated. You can find my TiddlyServer 
setup in the original issue here 
https://github.com/Arlen22/TiddlyServer/issues/97 and my Nginx config is as 
follows:

server {
  server_name mydomain.com www.mydomain.com;

  error_log /var/log/nginx/mydomain.com.log;
  access_log /var/log/nginx/mydomain.com.access.log combined;

  location / {
proxy_pass http://192.168.0.109:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
  }

listen [::]:443 ssl ipv6only=on;
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; # 
managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; # 
managed by Certbot
ssl_trusted_certificate /etc/letsencrypt/live/mydomain.com/chain.pem;
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot



}server {
if ($host = mydomain.com) {
return 301 https://$host$request_uri;
} # managed by Certbot

if ($host = www.mydomain.com) {
return 301 https://$host$request_uri;
} # managed by Certbot


  listen 80;
  listen [::]:80;
  server_name mydomain.com www.mydomain.com;
return 404; # managed by Certbot
}

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2da5321f-4f22-4109-9bb5-9ed0cb1759b7n%40googlegroups.com.


[tw5] Re: EditorMagic - status update

2020-07-06 Thread TW Tones
Mat,

I was just reviewing your EditorMagic again and see how it can look up the 
documentation on widgets, what a fantastic feature.

When it comes to EditorMagic insertions;

   - I can see that there is a bit of work to be done to populate it with 
   useful insertions, kind of a sample and generalised syntax's for each 
   widget. 

I raise this because I would like to help, and wonder if they would be 
better as separate tiddlers or an interface to read and edit them were 
available to simplify.

However I now realise there may be an opportunity here.

   - Lets call this the "syntax library" for tiddlywiki widgets and macros
   - I have long desired Tiddlywiki.com to have more generic full syntax 
   examples I can copy to clipboard and use, a single syntax, you delete the 
   parameters you don't need, or a few different ones when they are 
   substantially different forms.
   - If we can agree on a standard that works with editor magic and on 
   tiddlywiki.com the community could build them for the community. Then the 
   latest up to date general syntax could be accessed from a plugin and feed 
   into other solutions including learning editions of tiddlywiki and Editor 
   Magic.
   - I have always maintained there are opportunities to do things so they 
   are benefit driven and reduce the effort of individuals buy building a 
   collective repository on information or in this case syntax statements.
   - Ideally such solution will stop anyone facing an uphill battle to keep 
   across the various syntax options and share the load.

Practical approach

If we had an easy way to generate standalone syntax tiddlers that could be 
submitted for addition to tiddlywiki.com by anyone, and a method on the 
widget documentation to list any such syntax tiddlers inside the 
documentation tiddler (perhaps a tag or equivalent field. This method allow 
more rapid inclusion in to tiddlywiki.com with less oversight needed. A 
simple export to json for all syntax widgets would allow you or anyone else 
to harvest the syntax's.

Even if you want a more compressed list you should be able to 
programaticaly generate you syntax table for this community developed 
resource.

Perhaps later an even larger library of tiddler containing code patterns 
can be developed in a similar way such as recursive macro example, preview 
thumbnails of tiddlers etc...

What are your thoughts?

Regards
TW Tones

On Monday, July 6, 2020 at 6:46:10 PM UTC+10, TW Tones wrote:
>
> Mat,
>
> Not sure what you mean. It does support *invoking *macros and widgets 
>> (even if we'd need some mechanism to collect all macro titles) and there is 
>> support for stamping, e.g like is done in the HTMLtable example (test it by 
>> typing > really isn't practical because you'd have to exchange every parameter 
>> anyway, leaving only the \define and \end. As for widgets, it could stamp 
>> some JS skeleton I guess but I don't know what that would encompass.
>>
>
> I was just wondering if you had considered it?, not extending features, 
> just as is, you next paragraph describes what I was thinking. 
>  
>
>>
>> BUT, regardless, *the idea is that the user can easily make his own 
>> popup content!* The key feature is really to enable a popup at caret 
>> position that can show any content based on what you just typed in the 
>> editor. I added several examples that are "estimations" of what people will 
>> want, mostly to demo the concept, but the hope is that once it's a plugin, 
>> the community will come up with useful tools and other popup content.
>>
>>
> I like this design approach.
>
> Great Stuff
> TW Tones
>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e0ba70bc-18f0-4014-97e4-7145705b89ado%40googlegroups.com.


[tw5] Re: Notowritey - Outliner/editor for TW

2020-07-06 Thread Birthe C
Mark S,

Wow, That is an elegant solution. 
I think you can be sure, that NotoWritey will get many users, when more 
people find out how handy it is. 

My friend visited and saw me using Noto. He would like something like that 
too, and for once he did not scare off when I had to remind him, that he 
would need to start using Tiddlywiki then. That would be something.

Birthe


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cdd2a678-f0b5-4676-aa53-6994890aafc2o%40googlegroups.com.


[tw5] Re: Notowritey - Outliner/editor for TW

2020-07-06 Thread TW Tones
Mark,

See here, I have re-released the beta for my local-viewtemplate field. Just 
create the field on any install and type `<>`

Regards
Tony

On Tuesday, July 7, 2020 at 10:45:35 AM UTC+10, TW Tones wrote:
>
> Mark,
>
> You have persuaded me to make a button. I personally do not like putting 
> macros in the text field to define what the wiki does. I prefer to use the 
> text field for content.
>
> I already created a view template field in tiddlers who's content is then 
> transcluded in the view template, in this case I just enter `<>`.
> Attached - just drop it on a wiki, then add the field local-viewtemplate 
> containing <>
>
> Thus the logic is in the view template and I can use the view toolbar to 
> toggle anything. For example you can test for 
> `local-viewtemplate` 
> where noto string is `<>` thus any toggle button can appear only when 
> this is true on the currentTiddler.
>
> Cheeky, "User based of 4" if this were true its only because its new.
>
> Love your work
>
> Regards
> TW Tones aka TonyM
>
>
> On Tuesday, July 7, 2020 at 10:18:35 AM UTC+10, Mark S. wrote:
>>
>> I like dropping in a macro and ... away you go. I don't want things to 
>> become too complicated.
>>
>> Unfortunately, the toolbar doesn't know about the *contents* of it's 
>> tiddler. That is, it doesn't know anything about the macro it contains. 
>> And, of course, someone could, in a spate of cruelty, put two macros in.
>>
>> However, I can imagine a way to communicate between the document and the 
>> toolbar. There could be a "Register" button that registers the document 
>> originating tiddler and the tag name somewhere. After that a toolbar icon 
>> would appear as needed. The toolbar would then know where to look for all 
>> the info it needs. But I'm not sure if it's worth the effort. Especially 
>> with a user-base of 4 ;-)
>>
>> There was the "export to clipboard" project from a week ago (
>> https://marxsal.github.io/various/playground.html) which kind of does 
>> the same thing. Note that the export tool can not collect the wikitext 
>> because there is no tool in the TiddlyWiki set that renders *back* to 
>> wikitext. The only way to acquire that is via the noto macro machinery 
>> which can look at each individual wiki in the set and assembly the complete 
>> document.
>>
>> Thanks!
>>
>> On Monday, July 6, 2020 at 3:52:38 PM UTC-7, TW Tones wrote:
>>>
>>> Mark,
>>>
>>> Beautiful. The read mode caps the whole project off, from brainstorm to 
>>> publishing thanks.
>>>
>>> You seem reluctant to use a viewToolbar button, shall I create one that 
>>> becomes visible when in publish mode?
>>>
>>> Regards
>>> Tony
>>>
>>>
>>> On Tuesday, July 7, 2020 at 8:22:37 AM UTC+10, Mark S. wrote:


 There is now a Publication/Read-only mode. Hopefully I didn't break 
 anything making it, because a lot of CSS got moved around. The button is 
 down in the settings. Once you're in the view mode, to get back to regular 
 mode hover over the bottom of the "document" (usually the bottom of the 
 tiddler) and it will flash a green button to press.

 https://marxsal.github.io/various/notowritey.html

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6b305c4-6b04-4b4f-b7ae-9220ab295d06o%40googlegroups.com.


[tw5] Re: Notowritey - Outliner/editor for TW

2020-07-06 Thread TW Tones
Mark,

You have persuaded me to make a button. I personally do not like putting 
macros in the text field to define what the wiki does. I prefer to use the 
text field for content.

I already created a view template field in tiddlers who's content is then 
transcluded in the view template, in this case I just enter `<>`.
Attached - just drop it on a wiki, then add the field local-viewtemplate 
containing <>

Thus the logic is in the view template and I can use the view toolbar to 
toggle anything. For example you can test for `local-viewtemplate` 
where noto string is `<>` thus any toggle button can appear only when 
this is true on the currentTiddler.

Cheeky, "User based of 4" if this were true its only because its new.

Love your work

Regards
TW Tones aka TonyM


On Tuesday, July 7, 2020 at 10:18:35 AM UTC+10, Mark S. wrote:
>
> I like dropping in a macro and ... away you go. I don't want things to 
> become too complicated.
>
> Unfortunately, the toolbar doesn't know about the *contents* of it's 
> tiddler. That is, it doesn't know anything about the macro it contains. 
> And, of course, someone could, in a spate of cruelty, put two macros in.
>
> However, I can imagine a way to communicate between the document and the 
> toolbar. There could be a "Register" button that registers the document 
> originating tiddler and the tag name somewhere. After that a toolbar icon 
> would appear as needed. The toolbar would then know where to look for all 
> the info it needs. But I'm not sure if it's worth the effort. Especially 
> with a user-base of 4 ;-)
>
> There was the "export to clipboard" project from a week ago (
> https://marxsal.github.io/various/playground.html) which kind of does the 
> same thing. Note that the export tool can not collect the wikitext because 
> there is no tool in the TiddlyWiki set that renders *back* to wikitext. 
> The only way to acquire that is via the noto macro machinery which can look 
> at each individual wiki in the set and assembly the complete document.
>
> Thanks!
>
> On Monday, July 6, 2020 at 3:52:38 PM UTC-7, TW Tones wrote:
>>
>> Mark,
>>
>> Beautiful. The read mode caps the whole project off, from brainstorm to 
>> publishing thanks.
>>
>> You seem reluctant to use a viewToolbar button, shall I create one that 
>> becomes visible when in publish mode?
>>
>> Regards
>> Tony
>>
>>
>> On Tuesday, July 7, 2020 at 8:22:37 AM UTC+10, Mark S. wrote:
>>>
>>>
>>> There is now a Publication/Read-only mode. Hopefully I didn't break 
>>> anything making it, because a lot of CSS got moved around. The button is 
>>> down in the settings. Once you're in the view mode, to get back to regular 
>>> mode hover over the bottom of the "document" (usually the bottom of the 
>>> tiddler) and it will flash a green button to press.
>>>
>>> https://marxsal.github.io/various/notowritey.html
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84d6737f-520b-47f8-ad8f-b5364eab9405o%40googlegroups.com.


local-viewtemplate.json
Description: application/json


[tw5] Re: Notowritey - Outliner/editor for TW

2020-07-06 Thread TW Tones
Mark,

Beautiful. The read mode caps the whole project off, from brainstorm to 
publishing thanks.

You seem reluctant to use a viewToolbar button, shall I create one that 
becomes visible when in publish mode?

Regards
Tony


On Tuesday, July 7, 2020 at 8:22:37 AM UTC+10, Mark S. wrote:
>
>
> There is now a Publication/Read-only mode. Hopefully I didn't break 
> anything making it, because a lot of CSS got moved around. The button is 
> down in the settings. Once you're in the view mode, to get back to regular 
> mode hover over the bottom of the "document" (usually the bottom of the 
> tiddler) and it will flash a green button to press.
>
> https://marxsal.github.io/various/notowritey.html
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b930ace3-a78f-4e08-9e64-acd1eec40ae2o%40googlegroups.com.


[tw5] Re: Notowritey - Outliner/editor for TW

2020-07-06 Thread 'Mark S.' via TiddlyWiki

There is now a Publication/Read-only mode. Hopefully I didn't break 
anything making it, because a lot of CSS got moved around. The button is 
down in the settings. Once you're in the view mode, to get back to regular 
mode hover over the bottom of the "document" (usually the bottom of the 
tiddler) and it will flash a green button to press.

https://marxsal.github.io/various/notowritey.html

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bde5882b-3920-4a83-9920-09ff7474367eo%40googlegroups.com.