[tw5] Collapse and expand headings in a tiddler

2021-08-27 Thread Sandip Deshmukh
ReadThisLongManual tiddler carries this:

! Heading1

{{||PartOne}}

{{||PartTwo}}

!! Heading 2

Some text under the heading

{{||PartThree}}

When rendered, there will be several headings. Some of these will come from 
the transcluded templates.

Is there a way to collapse/ expand these headings at will? So, while 
viewing, either clicking on the heading will collapse/ expand it or there 
is a tiny button next to it that will do the collapse/ expand?

-- 
You received this message because you are subscribed to the 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/e01b20cd-a2f0-4a72-9f8a-55206be6dcc8n%40googlegroups.com.


[tw5] Re: List sort by count field operator

2021-08-27 Thread A Gloom
Thank you for your response, you have always been helpful.

I'm still working on it and studying your thread (Retrieving the number of 
link paths to a tiddler, 
https://groups.google.com/g/tiddlywiki/c/c_f9bfnp2KY/m/lMfu_WIpBAAJ ) where 
you ranked tiddlers by number of backlinks.

Where I'm going wrong-- I don't think a single list/filter (without a 
subfilter or second filter) will  let me sort by the count I'm aiming for, 
since the count of the root filter would just be the number of different 
values of the field being filtered, not the count of tiddlers having each 
different value.  Putting in the each[]get[]count[] in the sortsub with any 
of the suffixes is producing any result.

What I'm starting out with, this gives an alphabetical listing (rather than 
the default listing without a sort which I assume is by field creation time 
but not sure if that's so):



\define fldcntvar() [:filter[count[]]

<$list 
filter="[tag[zz@]each[zztopic]get[zztopic]subsort:integer]"><$view
 
field="title"/> - <$count 
filter="[tag[zz@]zztopic]"/>

I also tried $set and $var for the sortsub filter but stuck with macro 
definition after seeing your work.
On Wednesday, August 25, 2021 at 9:16:08 AM UTC-4 Soren Bjornstad wrote:

> Unless I'm misunderstanding, sortsub[] with a filter containing count[] 
> should do what you need. You might need to add the *integer* suffix to it 
> though, or else it will sort the numbers alphabetically and not produce a 
> very useful sort.
>
> On Wednesday, August 25, 2021 at 6:05:57 AM UTC-5 barro...@gmail.com 
> wrote:
>
>> I saw references to sorting list results by the count operator but didn't 
>> find the actual threads/posts about the method.
>>
>> I assume it will require a subfilter, because in a root list filter the 
>> count just returns the count of the list results, not counts for each of 
>> the list results.  
>>
>> The sortsub operation worked with anything involving the titles of the 
>> list results (such as length) but not the count operator.
>>
>> What I'm aiming for is ranking/sorting results (greatest to lowest 
>> counts) of such lists as tags and tiddlers tagged with each or
>>
>> fields and how many tiddlers have each value of a particular field such 
>> as below:
>>
>> <$list filter="[tag[zz]each[zzfield1]get[zzfield1]]"><$view 
>> field="title"/> - <$count filter="[tag[zz] 
>> zzfield1]"/>
>>
>> Any directions to threads about such esoteric wikiery would be greatly 
>> appreciated...
>>
>

-- 
You received this message because you are subscribed to the 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/7a1ed663-28f9-41c3-a380-998a7dd7eeb8n%40googlegroups.com.


[tw5] Re: Edit Suggestion: Simple ways to write protect tiddlers

2021-08-27 Thread Charlie Veniot
That's good stuff!

On Friday, August 27, 2021 at 10:55:32 PM UTC-3 TW Tones wrote:

> I add the edit icon to other lists so I can edit a tiddler !
>
> {{||$:/core/ui/Buttons/edit}} <$link/>
>
> Tones
> On Saturday, 28 August 2021 at 11:51:10 UTC+10 Eric Shulman wrote:
>
>> On Friday, August 27, 2021 at 3:49:41 PM UTC-7 cj.v...@gmail.com wrote:
>>
>>> Simple ways to write protect tiddlers 
>>> 
>>>
>> To write-protect a tiddler, I'm thinking a good idea to not just prevent 
>>> edit of such a tiddler, but also prevent delete of such a tiddler.
>>> I've added a little bit to the original sample code in that 
>>> documentation tiddler:
>>> .tc-tagged-Locked button[title="Edit this tiddler"] {display: none;}
>>> .tc-tagged-Locked button[title="Delete this tiddler"] {display: none;}
>>>
>>
>> Question:
>> Let's suppose you lock a tiddler by adding the "Locked" tag and then you 
>> need to make changes (e.g., fixing a typo).
>> How would you unlock the tiddler, since you can't edit it to remove the 
>> "Locked" tag?
>>
>> -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/af6928d1-f40d-4fa5-8132-0e50bca6ff80n%40googlegroups.com.


[tw5] Re: Edit Suggestion: Simple ways to write protect tiddlers

2021-08-27 Thread Charlie Veniot
Well, at first I was doing as per the documentation ("*To get it back you 
will need to open the stylesheet tiddler and change "none" to "inline".*")

At the moment, I find it more convenient to just keep that css in a 
dedicated CSS tiddler.  When I want to turn off locking, I just take the 
"$:/tags/Stylesheet" tag off that stylesheet tiddler.

It would be easy to setup something fancier and super-convenient/easy, but 
I don't really want it super convenient/easy.

On Friday, August 27, 2021 at 10:51:10 PM UTC-3 Eric Shulman wrote:

> On Friday, August 27, 2021 at 3:49:41 PM UTC-7 cj.v...@gmail.com wrote:
>
>> Simple ways to write protect tiddlers 
>> 
>>
> To write-protect a tiddler, I'm thinking a good idea to not just prevent 
>> edit of such a tiddler, but also prevent delete of such a tiddler.
>> I've added a little bit to the original sample code in that documentation 
>> tiddler:
>> .tc-tagged-Locked button[title="Edit this tiddler"] {display: none;}
>> .tc-tagged-Locked button[title="Delete this tiddler"] {display: none;}
>>
>
> Question:
> Let's suppose you lock a tiddler by adding the "Locked" tag and then you 
> need to make changes (e.g., fixing a typo).
> How would you unlock the tiddler, since you can't edit it to remove the 
> "Locked" tag?
>
> -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/5caf0224-d956-49c6-91e9-19b273747e23n%40googlegroups.com.


[tw5] Re: Edit Suggestion: Simple ways to write protect tiddlers

2021-08-27 Thread TW Tones
I add the edit icon to other lists so I can edit a tiddler !

{{||$:/core/ui/Buttons/edit}} <$link/>

Tones
On Saturday, 28 August 2021 at 11:51:10 UTC+10 Eric Shulman wrote:

> On Friday, August 27, 2021 at 3:49:41 PM UTC-7 cj.v...@gmail.com wrote:
>
>> Simple ways to write protect tiddlers 
>> 
>>
> To write-protect a tiddler, I'm thinking a good idea to not just prevent 
>> edit of such a tiddler, but also prevent delete of such a tiddler.
>> I've added a little bit to the original sample code in that documentation 
>> tiddler:
>> .tc-tagged-Locked button[title="Edit this tiddler"] {display: none;}
>> .tc-tagged-Locked button[title="Delete this tiddler"] {display: none;}
>>
>
> Question:
> Let's suppose you lock a tiddler by adding the "Locked" tag and then you 
> need to make changes (e.g., fixing a typo).
> How would you unlock the tiddler, since you can't edit it to remove the 
> "Locked" tag?
>
> -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/a711b5e9-c06e-4fe0-ab03-82c67dceff2an%40googlegroups.com.


Re: [tw5] Re: Gitmbed is Public! Make YOUR wiki more accessible!

2021-08-27 Thread TW Tones
That would be great. Do try and write for the Naive reader, at most they 
have some understanding of tiddlywiki.

Perhaps explain why the plugin exists, what it can do for you, avoid jargon 
compare it to existing tools.

Then you can go into technical details and jargon later in the post/email.

Join us in Discourse 

On Saturday, 28 August 2021 at 11:28:03 UTC+10 flanc...@gmail.com wrote:

> Thanks for the great positivity! I’m always trying to make TW better than 
> it already is as well as I can; I’m glad to see people appreciate it! 
>
> I’m thinking about perhaps making a how-to manual for my plugins/software, 
> so that people can better understand how to do/use some of my solutions. 
> Maybe this is yet another thing I can use TW for! 
>
> On Fri, Aug 27, 2021 at 9:21 PM TW Tones  wrote:
>
>> Flanc,
>>
>> Once again you seem to be producing another revolutionary feature to the 
>> TiddlyVerse. Unfortunately I can't keep up just now but I want to thank 
>> you. I would also suggest with 5.2.0 soon and Discourse many may have 
>> difficulty learning about and using your solutions right away, I expect 
>> they will be a "slow burn", so expect a response if not delayed a bit.
>>
>> Thanks for your contributions
>> Tones
>>
>>
>> On Friday, 27 August 2021 at 23:48:31 UTC+10 flanc...@gmail.com wrote:
>>
>>>  Hi everyone,
>>>
>>> A while back, I posted about my new chrome extension: gitmbed, which, 
>>> while not directly tw-related, I believe could be used to improve 
>>> accessibility to tw from INSIDE online social media/GitHub. The extension 
>>> can be found at 
>>> https://chrome.google.com/webstore/detail/gitmbed/cbfjhpckapddemlmidlmgoepochhfpfi,
>>>  
>>> the official gitmbed website is at https://gitmbed.finnsoftware.net, 
>>> and the GitHub is at https://github.com/flancast90/gitmbed.
>>>
>>>
>>> *How can I use gitmbed with tw?*
>>>
>>> Gitmbed makes it easy to embed your tw inside Social Media Website Posts 
>>> (Instagram.com, Facebook, GitHub) which would normally block embeds. You 
>>> can make your first gitmbed by navigating to 
>>> https://gitmbed.finnsoftware.net#setup 
>>> , which all you will have to 
>>> give is a URL to your tw, the height you want the embed to be, and the 
>>> width. 
>>>
>>>
>>> While instructions for only Instagram.com and GitHub are given there, 
>>> gitmbed, in fact, will work on anything where you can add alt text to an 
>>> image. This means that you can use it for Facebook/anywhere else assuming 
>>> you can add an image and alt text to it.
>>>
>>>
>>> I hope it really is a help for all of you; a demo of an embedded 
>>> tiddlywiki.com can be found at https://gitmbed.finnsoftware.net#demo 
>>> , and, as usual, feel free to 
>>> drop a star at https://github.com/flancast90/gitmbed.
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/67203d86-03d7-4401-adf2-010887f408b4n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/51d6daad-2477-42c6-90cb-e25f50514d86n%40googlegroups.com.


[tw5] Re: Edit Suggestion: Simple ways to write protect tiddlers

2021-08-27 Thread Eric Shulman
On Friday, August 27, 2021 at 3:49:41 PM UTC-7 cj.v...@gmail.com wrote:

> Simple ways to write protect tiddlers 
> 
> To write-protect a tiddler, I'm thinking a good idea to not just prevent 
> edit of such a tiddler, but also prevent delete of such a tiddler.
> I've added a little bit to the original sample code in that documentation 
> tiddler:
> .tc-tagged-Locked button[title="Edit this tiddler"] {display: none;}
> .tc-tagged-Locked button[title="Delete this tiddler"] {display: none;}
>

Question:
Let's suppose you lock a tiddler by adding the "Locked" tag and then you 
need to make changes (e.g., fixing a typo).
How would you unlock the tiddler, since you can't edit it to remove the 
"Locked" tag?

-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/7d7c34ff-a763-4273-82d7-3b5aa010f32en%40googlegroups.com.


Re: [tw5] Re: Gitmbed is Public! Make YOUR wiki more accessible!

2021-08-27 Thread Finn Lancaster
Thanks for the great positivity! I’m always trying to make TW better than
it already is as well as I can; I’m glad to see people appreciate it!

I’m thinking about perhaps making a how-to manual for my plugins/software,
so that people can better understand how to do/use some of my solutions.
Maybe this is yet another thing I can use TW for!

On Fri, Aug 27, 2021 at 9:21 PM TW Tones  wrote:

> Flanc,
>
> Once again you seem to be producing another revolutionary feature to the
> TiddlyVerse. Unfortunately I can't keep up just now but I want to thank
> you. I would also suggest with 5.2.0 soon and Discourse many may have
> difficulty learning about and using your solutions right away, I expect
> they will be a "slow burn", so expect a response if not delayed a bit.
>
> Thanks for your contributions
> Tones
>
>
> On Friday, 27 August 2021 at 23:48:31 UTC+10 flanc...@gmail.com wrote:
>
>>  Hi everyone,
>>
>> A while back, I posted about my new chrome extension: gitmbed, which,
>> while not directly tw-related, I believe could be used to improve
>> accessibility to tw from INSIDE online social media/GitHub. The extension
>> can be found at
>> https://chrome.google.com/webstore/detail/gitmbed/cbfjhpckapddemlmidlmgoepochhfpfi,
>> the official gitmbed website is at https://gitmbed.finnsoftware.net, and
>> the GitHub is at https://github.com/flancast90/gitmbed.
>>
>>
>> *How can I use gitmbed with tw?*
>>
>> Gitmbed makes it easy to embed your tw inside Social Media Website Posts
>> (Instagram.com, Facebook, GitHub) which would normally block embeds. You
>> can make your first gitmbed by navigating to
>> https://gitmbed.finnsoftware.net#setup
>> , which all you will have to
>> give is a URL to your tw, the height you want the embed to be, and the
>> width.
>>
>>
>> While instructions for only Instagram.com and GitHub are given there,
>> gitmbed, in fact, will work on anything where you can add alt text to an
>> image. This means that you can use it for Facebook/anywhere else assuming
>> you can add an image and alt text to it.
>>
>>
>> I hope it really is a help for all of you; a demo of an embedded
>> tiddlywiki.com can be found at https://gitmbed.finnsoftware.net#demo
>> , and, as usual, feel free to
>> drop a star at https://github.com/flancast90/gitmbed.
>>
> --
> You received this message because you are subscribed to the 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/67203d86-03d7-4401-adf2-010887f408b4n%40googlegroups.com
> 
> .
>

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


[tw5] Re: Gitmbed is Public! Make YOUR wiki more accessible!

2021-08-27 Thread TW Tones
Flanc,

Once again you seem to be producing another revolutionary feature to the 
TiddlyVerse. Unfortunately I can't keep up just now but I want to thank 
you. I would also suggest with 5.2.0 soon and Discourse many may have 
difficulty learning about and using your solutions right away, I expect 
they will be a "slow burn", so expect a response if not delayed a bit.

Thanks for your contributions
Tones


On Friday, 27 August 2021 at 23:48:31 UTC+10 flanc...@gmail.com wrote:

>  Hi everyone,
>
> A while back, I posted about my new chrome extension: gitmbed, which, 
> while not directly tw-related, I believe could be used to improve 
> accessibility to tw from INSIDE online social media/GitHub. The extension 
> can be found at 
> https://chrome.google.com/webstore/detail/gitmbed/cbfjhpckapddemlmidlmgoepochhfpfi,
>  
> the official gitmbed website is at https://gitmbed.finnsoftware.net, and 
> the GitHub is at https://github.com/flancast90/gitmbed.
>
>
> *How can I use gitmbed with tw?*
>
> Gitmbed makes it easy to embed your tw inside Social Media Website Posts 
> (Instagram.com, Facebook, GitHub) which would normally block embeds. You 
> can make your first gitmbed by navigating to 
> https://gitmbed.finnsoftware.net#setup 
> , which all you will have to 
> give is a URL to your tw, the height you want the embed to be, and the 
> width. 
>
>
> While instructions for only Instagram.com and GitHub are given there, 
> gitmbed, in fact, will work on anything where you can add alt text to an 
> image. This means that you can use it for Facebook/anywhere else assuming 
> you can add an image and alt text to it.
>
>
> I hope it really is a help for all of you; a demo of an embedded 
> tiddlywiki.com can be found at https://gitmbed.finnsoftware.net#demo 
> , and, as usual, feel free to 
> drop a star at https://github.com/flancast90/gitmbed.
>

-- 
You received this message because you are subscribed to the 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/67203d86-03d7-4401-adf2-010887f408b4n%40googlegroups.com.


[tw5] Re: Highlighting duplicates in lists

2021-08-27 Thread TW Tones
The information you are after is in my earlier post
*<> {{!!field}} *is the display replace this with *{{{ 
[all[current]get[field]format:date[]] }}}*

It is what is inside the span that gets coloured using style attribute, 
thus what is inside the span is what is displayed,

get[field]match{!!field}then[color: 
red;]] }}}>* this is displayed inside the list*

So basically we replace the display of  *{{!!field}} *
With *{{{ [all[current]get[field]format:date[]] }}}*
(change "field" to your date field)

So the following will be inside the span because you want the title and its 
date.
*<> **{{{ [all[current]get[field]format:date[]] }}}*

The format operator requires tiddlywiki 5.1.23 or greater

Tones
On Saturday, 28 August 2021 at 02:13:48 UTC+10 mohamed...@hotmail.com wrote:

> Hi tones,
>
> have you had the chance to look at my last post?
>
> On Saturday, August 21, 2021 at 5:14:38 AM UTC+2 paulgilbert2000 wrote:
>
>> Hi Tones,
>>
>> I am not sure which line of code you are referring too , the line that 
>> does the coloring is 
>> <$list filter="[all[current]get[field_example]] 
>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>> variable=field-value>
>> matchthen[color: 
>> red;]] }}}><>
>>
>> It does not have <> {{!!field}} 
>>
>> instead there is  <>  ,so is this the bit that should be 
>> replaced *?*
>>
>> i tried this  with no luck..
>>
>>
>> *[image: Capture.PNG]*
>> On Monday, August 16, 2021 at 6:29:52 AM UTC+2 TW Tones wrote:
>>
>>> Hio,
>>>
>>> Back in my code
>>> 
>>> <$list filter="[all[]prefix[New]has[field]]">
>>>>> [all[]prefix[New]!titleget[field]match{!!field}then[color: 
>>> red;]] }}}>* <> {{!!field}}*
>>> 
>>> 
>>>
>>>
>>> *<> {{!!field}} *is the display
>>> replace this with 
>>> *{{{ [all[current]get[field]format:date[]] }}}*
>>> Not tested by me on this occasion
>>>
>>> where field is the chosen fieldname.
>>>
>>> Regards
>>> Tones
>>>
>>> On Monday, 16 August 2021 at 12:14:51 UTC+10 mohamed...@hotmail.com 
>>> wrote:
>>>
 Thank you tones

 The real life example is to evaluate duplicate dates, so the actual 
 real values populating the fields are not  1 ,2 , etc.. they are actual 
 dates , IE . 2021062506295,   20210811055859000,etc.
 and so what i was trying is to  do is have the highlighted duplicate 
 values converted from the tiddly wiki format they are stored in in their 
 respective fields , to a normal readable format when displayed in the 
 filter

 the
 On Monday, August 16, 2021 at 2:34:07 AM UTC+2 TW Tones wrote:

> Mohammad,
>
> I am confused, until now the fields  field_example,  field_example1,  
> field_example2 did not contain dates. 
>
>- Are you trying to convert these to dates?
>- the view widget format=date only works on tiddlywiki full serial 
>number dates!
>
> Perhaps step back and describe what you want to do in the real world, 
> not with tiddlywiki code that may or may not be correct. 
>
> Regards
> Tones
>
> On Monday, 16 August 2021 at 01:46:55 UTC+10 mohamed...@hotmail.com 
> wrote:
>
>> HI tones,
>>
>> sorry i guess i asked the wrong question, what i wanted to know is 
>> where to place the widget  in the code , if i do it that way , it no 
>> longer 
>> highlights duplicates
>>
>>  <>: |  
>><$list filter="[all[current]get[field_example]] 
>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>> variable=field-value>
>> <$view field="field_example "format=date template=""/>
>> <$view field="field_example1"format=date template=""/>
>> <$view field="field_example2"format=date template=""/>
>>
>>  matchthen[color: 
>> red;]] }}}><>
>>
>> 
>>
>> i also tried  adding format:date[DDD]] , which didn't yield any 
>> results 
>>
>><$list filter="[all[current]get[field_example]] 
>> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
>> format:date[DDD]] variable=field-value> 
>> On Sunday, August 15, 2021 at 10:12:57 AM UTC+2 TW Tones wrote:
>>
>>> Look for and use the viewWidget and use the format date with a 
>>> template, or the format relativedate
>>>
>>> Get into the habit also of searching in tiddlywiki.com to learn how 
>>> to do things.
>>> [image: Snag_c8a06a9.png]
>>>
>>> eg;
>>>
>>> <$view field=created format=date template=""/>
>>>
>>> <$view field=created format=relativedate/>
>>>
>>>  5.1.23 now allows this inside filters. 
>>> 
>>>
>>> Regards
>>> Tones
>>>
>>> On Sunday, 15 August 2021 at 10:26:32 UTC+10 mohamed...@hotmail.com 
>>> wrote:
>>>
 Sorry one more questions

 if the values are dates, how can they be displayed in normal 

[tw5] Edit Suggestion: Simple ways to write protect tiddlers

2021-08-27 Thread Charlie Veniot
Simple ways to write protect tiddlers 


Just a suggestion in case you think it is worth it...

To write-protect a tiddler, I'm thinking a good idea to not just prevent 
edit of such a tiddler, but also prevent delete of such a tiddler.

I've added a little bit to the original sample code in that documentation 
tiddler:

.tc-tagged-Locked button[title="Edit this tiddler"] {display: none;}
.tc-tagged-Locked button[title="Delete this tiddler"] {display: none;}

Nothing revolutionary there, but kind of cool how easy it is to expand on 
the simple code pattern.

-- 
You received this message because you are subscribed to the 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/0eeab3a0-f8f6-439b-bde0-e3bb4b1576c8n%40googlegroups.com.


[tw5] Re: Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread Télumire
Hi all,

Here's an easy way to get the css path to an element :

Open the inspect element tool : ctrl+shift+c (firefox/chrome) , then select 
the element you want to inspect
You can also do a right-click>inspect 

The element will be highlighted in the dev tool pannel that shows up. Make 
sure this is the correct element (sometimes it can be nested inside the 
element inspected), then right click on the highlighted element > copy > 
copy selector or copy css path. This will give a selector css for the 
element.

This doesnt always give you the selector you need, for example if you do 
that with chrome on the text area of a tiddler, in edit mode , you will get 
:

body > textarea

This is because the textarea is in an iframe, which is treated like a 
separate document by the browser. In this case, just select the iframe that 
contains the element and you' ll get this :

body > div.tc-page-container-wrapper > div > div > div > section > 
div.tc-tiddler-frame.tc-tiddler-edit-frame.tc-tiddler-exists> span > span > 
div:nth-child(5) > div > iframe

This rule is very specific and can be generalized with  a bit of clean up :

.tc-tiddler-edit-frame  iframe 

Now if you look closely at the html, you'll see that the iframe actuall has 
several class(tc-edit-texteditor and tc-edit-texteditor-body), but for some 
reason chrome doesnt copy those. So if we correct this, we get :

.tc-tiddler-edit-frame  .tc-edit-texteditor.tc-edit-texteditor-body {.. 
your rules css here ..} 

See https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector and 
https://developer.chrome.com/docs/devtools/css/ for more info on the dev 
tools, and https://developer.mozilla.org/en-US/docs/Web/CSS to learn more 
about CSS
Le vendredi 27 août 2021 à 15:49:21 UTC+2, Stobot a écrit :

> Sorry to highjack the thread a bit - hoping we solved your problem Sandip!
>
> @Birthe / strikke... - can I ask how you learned to navigate the class 
> hierarchy? I'm trying very hard how to learn this and am really struggling. 
> I recently started using the Inspect / F12 stuff, but It's not pointing me 
> to the right place. Is there a guide for this stuff somewhere? For example 
> when I "inspect" the edit area while in edit view I get this (below 
> screenshot) - how would I get that to your `tc-tiddler-frame 
> textarea.tc-edit-texteditor` answer?
>
> [image: Capture.PNG]
>
>
> On Friday, August 27, 2021 at 9:35:10 AM UTC-4 strikke...@gmail.com wrote:
>
>> I do not know about the two column view. But for editing I am using 
>> following at the moment.
>>
>> Create a tiddler, give it a title and tag $:/tags/Stylesheet and the 
>> following content:
>>
>> tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%; 
>> background: #485052; color: #48E16A;}
>>
>> This will certainly not be what you want, but you can insert your own 
>> color and size.
>>
>> On Friday, August 27, 2021 at 12:50:18 PM UTC+2 Sandip Deshmukh wrote:
>>
>>> I feel that as I switch from a single column view to a two column view, 
>>> the display font size reduces. I do not want that to happen. Any way to 
>>> achieve that?
>>>
>>> Secondly, the font that is used when I am editing a tiddler is 
>>> definitely smaller than the one used for displaying the tiddler. How do I 
>>> increase the font size when I am editing a tiddler?
>>>
>>> Lastly, is there a way to specify the font to use when displaying and 
>>> editing, say Devanagari text?
>>>
>>

-- 
You received this message because you are subscribed to the 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/06323c7c-9bf9-444d-a449-303909f6ab43n%40googlegroups.com.


[tw5] Re: Delete of tiddlers: Trying to setup consistent confirmation messages

2021-08-27 Thread PMario
On Friday, August 27, 2021 at 11:03:44 PM UTC+2 cj.v...@gmail.com wrote:

> Well, when I go to click on permalink, or export, or whatever buttons 
> under more, and click delete by mistake, it is a huge pain in the rear.


IMO there are 3 things, which we can possibly do.

   1. IMO *low hanging fruit*. .. Move the delete button to the "last" 
   position in the list, with a separator in between, so it's harder to 
   accidentally click or touch it on a mobile phone
   2. Add the empty check for all fields, except modified, created, 
   modifier and creator, because they are always there.
   This needs a bit more work. ... 
   3. Same as 2, but there may be a list, that lets the user choose, which 
   fields should _not_ activate the "security" question.
   There may be "value" in the info when and who created a tiddler. ... It 
   always *depends* on the users usecase. 
   

just some thoughts
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/36c6ae2c-896a-404d-b1d7-489e5a496425n%40googlegroups.com.


[tw5] Re: Delete of tiddlers: Trying to setup consistent confirmation messages

2021-08-27 Thread Charlie Veniot
Never mind that "ALSO" bit in my last post, I figured out how I hobbled my 
extra behaviour on delete when clicking delete in view mode.

Major face to palm imprint.

On Friday, August 27, 2021 at 6:03:44 PM UTC-3 Charlie Veniot wrote:

> Well, when I go to click on permalink, or export, or whatever buttons 
> under more, and click delete by mistake, it is a huge pain in the rear.
>
> I've got all kinds of tiddlers that  have nothing in the text field, but 
> rather values in custom fields.
>
> It sucks when that kind of tiddler mistakenly gets deleted, despite having 
> custom field values, and without some kind of confirmation message.
>
> My request in my initial post: how can I go about modifying *my* 
> TiddlyWikis to have consistent behaviour when deleting?
>
> I'm not asking for TiddlyWiki out-of-the-box design to be changed for 
> everybody and all future editions of TiddlyWiki.
>
> I just want to modify mine.
>
> *ALSO*: I want to add extra behaviour upon delete of any tiddler in one 
> of my TiddlyWikis.  For whatever reason, the extra behaviour is not 
> happening when I click on delete of a tiddler while that tiddler is in view 
> mode.  Either inconsistent behaviour going on or the delete buttons aren't 
> performing the same code?
>
>
>
> On Friday, August 27, 2021 at 4:26:41 PM UTC-3 PMario wrote:
>
>> On Friday, August 27, 2021 at 8:54:20 PM UTC+2 cj.v...@gmail.com wrote:
>>
>>>
>>>- for a tiddler in view mode, clicking the delete button does not 
>>>prompt with any confirmation at all, immediately deleting (so not 
>>>opportunity to cancel a possible mistake.)
>>>
>>> That's by design. If you want to click the delete button in view mode 
>>
>>- you need to open the "More" dropdown 
>>- Click the delete button.
>>- If it contains some text content it asks
>>- If it doesn't it doesn't ask
>>
>> So that the tiddler is deleted needs at minimum 2 clicks.
>> IMO, that's a clear indication that the user wants to perform this 
>> action. No need to ask anymore. 
>>
>> In edit mode it's different. Edit mode does always ask.  Except, if 
>> you create a new tiddler, didn't change anything and delete it again. It 
>> doesn't ask here. 
>>
>> I find that inconsistency annoying.  I'd like to fix that in my 
>>> TiddlyWikis, but I'm not sure how to go about it.  Looking at 
>>> the $:/core/ui/Buttons/delete hasn't given me any clues.
>>>
>>
>> Have a closer look at: https://tiddlywiki.com/#ActionConfirmWidget
>>
>> -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/6294749f-a518-460a-9968-dbb4e535463fn%40googlegroups.com.


Re: [tw5] Re: Tw-Themes: How to keep CSS so users can still (palette) tweak?

2021-08-27 Thread Álvaro
If you change "background" to green the tiddler background take it.

El viernes, 27 de agosto de 2021 a las 20:10:26 UTC+2, flanc...@gmail.com 
escribió:

> Everything seems to be starting to come together! I noticed in the Palette 
> that background and page-background are different, what does background 
> refer to?
>
> On Friday, August 27, 2021 at 8:47:31 AM UTC-4 Finn Lancaster wrote:
>
>> Thanks @Alvaro, I’ll take a look at those. Already, the TW-primer shows 
>> up in the themes tab based on my changes on my end, I tend not to push to 
>> GitHub until the product is able to be used. 
>>
>> On Fri, Aug 27, 2021 at 7:00 AM Álvaro  wrote:
>>
>>> You can include the paltte in the theme.
>>> Here you have two examples:
>>> - Mono theme 
>>> 
>>> - Notebook theme 
>>> 
>>>
>>> There is another point that you can see, these themes start with 
>>> *$:/themes/ 
>>> *instead of  *$:/plugins/ . *They are a kind of plugin but you will see 
>>> them in ControlPanel > Appearance > Theme 
>>>
>>> El viernes, 27 de agosto de 2021 a las 2:45:01 UTC+2, flanc...@gmail.com 
>>> escribió:
>>>
 Started working on it, and already another question! It seems that I 
 can't include a palette inside the theme, but instead may have to do it 
 differently ???

 My palette file looks like this:

 description: Sleek dark skin for tw5, based on primer.css!
 name: tw5-primer
 title: $:/palettes/tw5-primer
 tags: $:/tags/Palette
 type: application/x-tiddler-dictionary

 And palette code here...

 Any ideas for what's going on? I'm thinking maybe the palette may have 
 to be defined inside the css file??

 Thanks for your (continued) help!
 On Thursday, August 26, 2021 at 7:45:47 PM UTC-4 Finn Lancaster wrote:

> Thanks, I'll look at doing this, and hopefully not run into any more 
> issues so that I don't have to bother you anymore :)
>
> On Thursday, August 26, 2021 at 7:36:55 PM UTC-4 Álvaro wrote:
>
>> A palette is basically a data tiddler, a dictionary that stores N 
>> key:value, with type application/x-tiddler-dictionary. Then you can use 
>> it 
>> with <> where keyName can be page-background or 
>> others. 
>>
>> You don´t need change the type, that is the default type (I think). 
>> If your file has the correct tag ( $:/tags/Stylesheet ) then it 
>> works like stylesheet file.
>>
>> you can see more of what was discussed here 
>> 
>>
>> Do not be scared of the number of entries in the vanilla palette, 
>> many keys reuse values, there are palettes with fewer entries. It is 
>> also something that has already been discussed about how to reduce the 
>> palettes, but it would be part of the hard rework in the styles of 
>> TiddlyWiki. 
>> El viernes, 27 de agosto de 2021 a las 0:36:14 UTC+2, 
>> strikke...@gmail.com escribió:
>>
>>> <> gives you the color number from the palette - that 
>>> will be the colour the user of your theme has chosen as the active 
>>> palette 
>>> for their use of Tiddlywiki. 
>>> Sorry but I do not know much more about the subject.
>>>
>>> On Thursday, August 26, 2021 at 11:54:48 PM UTC+2 flanc...@gmail.com 
>>> wrote:
>>>
 that seems to have worked, @strikke..., I'm guessing I have to 
 include it in my theme files now, and that I can change my css to a 
 text/vnd.tiddlywiki file, so that I can call colors such as 
 <> 
 ? Is this correct to assume?

 On Thursday, August 26, 2021 at 5:48:02 PM UTC-4 
 strikke...@gmail.com wrote:

>
>
> Sorry if I am being stupid, but could it not be done going to 
> $:/ControlPanel  
> select tab Appearance and then Palette. Go to the bottom of that and 
> click 
> the Show editor button. That will show the selected palette. Select 
> clone 
> palette. Then you can edit that. You will see how it is done and can 
> choose 
> the colours you prefer. That is at least a start. 
> On Thursday, August 26, 2021 at 10:27:17 PM UTC+2 
> flanc...@gmail.com wrote:
>
>> Thanks @Alvaro,
>>
>> Would you mind explaining how to make a palette? This is my first 
>> theme, but I do have some experience creating plugins, so I just 
>> need to be 
>> pointed in the right direction :)
>>
>> Thanks again!
>>
>> On Thursday, August 26, 2021 at 2:59:39 PM UTC-4 Álvaro 

[tw5] Re: Delete of tiddlers: Trying to setup consistent confirmation messages

2021-08-27 Thread Charlie Veniot
Well, when I go to click on permalink, or export, or whatever buttons under 
more, and click delete by mistake, it is a huge pain in the rear.

I've got all kinds of tiddlers that  have nothing in the text field, but 
rather values in custom fields.

It sucks when that kind of tiddler mistakenly gets deleted, despite having 
custom field values, and without some kind of confirmation message.

My request in my initial post: how can I go about modifying *my* 
TiddlyWikis to have consistent behaviour when deleting?

I'm not asking for TiddlyWiki out-of-the-box design to be changed for 
everybody and all future editions of TiddlyWiki.

I just want to modify mine.

*ALSO*: I want to add extra behaviour upon delete of any tiddler in one of 
my TiddlyWikis.  For whatever reason, the extra behaviour is not happening 
when I click on delete of a tiddler while that tiddler is in view mode.  
Either inconsistent behaviour going on or the delete buttons aren't 
performing the same code?



On Friday, August 27, 2021 at 4:26:41 PM UTC-3 PMario wrote:

> On Friday, August 27, 2021 at 8:54:20 PM UTC+2 cj.v...@gmail.com wrote:
>
>>
>>- for a tiddler in view mode, clicking the delete button does not 
>>prompt with any confirmation at all, immediately deleting (so not 
>>opportunity to cancel a possible mistake.)
>>
>> That's by design. If you want to click the delete button in view mode 
>
>- you need to open the "More" dropdown 
>- Click the delete button.
>- If it contains some text content it asks
>- If it doesn't it doesn't ask
>
> So that the tiddler is deleted needs at minimum 2 clicks.
> IMO, that's a clear indication that the user wants to perform this action. 
> No need to ask anymore. 
>
> In edit mode it's different. Edit mode does always ask.  Except, if 
> you create a new tiddler, didn't change anything and delete it again. It 
> doesn't ask here. 
>
> I find that inconsistency annoying.  I'd like to fix that in my 
>> TiddlyWikis, but I'm not sure how to go about it.  Looking at 
>> the $:/core/ui/Buttons/delete hasn't given me any clues.
>>
>
> Have a closer look at: https://tiddlywiki.com/#ActionConfirmWidget
>
> -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/4dcfd108-18bb-4572-b52e-de646fb53c48n%40googlegroups.com.


[tw5] Error Message when loading TW5

2021-08-27 Thread mikjs...@gmail.com
Hi

I run TW5 5.1.23 in both TiddlyDesktop and Tiddloid on Android. This error 
message recently appeared on the main screen:

html> yptedTiddlers(function() { // Startup $tw.boot.startup({callback: 
callback}); }); }; /// Autoboot in the browser 
if($tw.browser && !$tw.boot.suppressBoot) { $tw.boot.boot(); } return $tw; 
}); if(typeof(exports) !== "undefined") { exports.TiddlyWiki = _boot; } 
else { _boot(window.$tw); } 

Does anyone know why this is happening and what it means?

thanks

mike

-- 
You received this message because you are subscribed to the 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/18735f35-3c46-46a7-9616-d2a3e4537203n%40googlegroups.com.


[tw5] Re: Delete of tiddlers: Trying to setup consistent confirmation messages

2021-08-27 Thread PMario
On Friday, August 27, 2021 at 8:54:20 PM UTC+2 cj.v...@gmail.com wrote:

>
>- for a tiddler in view mode, clicking the delete button does not 
>prompt with any confirmation at all, immediately deleting (so not 
>opportunity to cancel a possible mistake.)
>
> That's by design. If you want to click the delete button in view mode 

   - you need to open the "More" dropdown 
   - Click the delete button.
   - If it contains some text content it asks
   - If it doesn't it doesn't ask

So that the tiddler is deleted needs at minimum 2 clicks.
IMO, that's a clear indication that the user wants to perform this action. 
No need to ask anymore. 

In edit mode it's different. Edit mode does always ask.  Except, if you 
create a new tiddler, didn't change anything and delete it again. It 
doesn't ask here. 

I find that inconsistency annoying.  I'd like to fix that in my 
> TiddlyWikis, but I'm not sure how to go about it.  Looking at 
> the $:/core/ui/Buttons/delete hasn't given me any clues.
>

Have a closer look at: https://tiddlywiki.com/#ActionConfirmWidget

-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/d0a07113-42dc-4c25-adf9-adad4890600bn%40googlegroups.com.


Re: [tw5] Delete of tiddlers: Trying to setup consistent confirmation messages

2021-08-27 Thread Jeremy Ruston
Hi Charlie

You may be running into something a little strange: we only request
confirmation when deleting a tiddler that has a non-blank text field. I
think it was a well meaning attempt to reduce the chattiness of the UI when
deleting inadvertently created new tiddlers, but it's probably something we
should review now.

Best wishes

Jeremy



On Fri, 27 Aug 2021 at 19:54, Charlie Veniot  wrote:

> G'day all,
>
> I just noticed some inconsistent behaviour (maybe inconsistent by design?)
> with the delete tiddler button:
>
>- for a tiddler in edit mode, clicking the delete button prompts with
>a confirmation "Do you wish to delete ...", which gives the opportunity to
>cancel if the button was clicked by mistake
>- for a tiddler in view mode, clicking the delete button does not
>prompt with any confirmation at all, immediately deleting (so not
>opportunity to cancel a possible mistake.)
>
> I find that inconsistency annoying.  I'd like to fix that in my
> TiddlyWikis, but I'm not sure how to go about it.  Looking at
> the $:/core/ui/Buttons/delete hasn't given me any clues.
>
> Could somebody point me in the right direction to setup consistent
> behaviour upon pressing the delete button?
>
> --
> You received this message because you are subscribed to the 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/fbae88e1-99b6-4584-8cc4-651c3a6ba2b5n%40googlegroups.com
> 
> .
>
-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJYD2nbyR5_%2B5h-W0LGU7Jh2mE%3DxkHKaBmC%3D%3D2%2B_4xhV3w%40mail.gmail.com.


[tw5] Delete of tiddlers: Trying to setup consistent confirmation messages

2021-08-27 Thread Charlie Veniot
G'day all,

I just noticed some inconsistent behaviour (maybe inconsistent by design?) 
with the delete tiddler button:

   - for a tiddler in edit mode, clicking the delete button prompts with a 
   confirmation "Do you wish to delete ...", which gives the opportunity to 
   cancel if the button was clicked by mistake
   - for a tiddler in view mode, clicking the delete button does not prompt 
   with any confirmation at all, immediately deleting (so not opportunity to 
   cancel a possible mistake.)

I find that inconsistency annoying.  I'd like to fix that in my 
TiddlyWikis, but I'm not sure how to go about it.  Looking at 
the $:/core/ui/Buttons/delete hasn't given me any clues.

Could somebody point me in the right direction to setup consistent 
behaviour upon pressing the delete button?

-- 
You received this message because you are subscribed to the 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/fbae88e1-99b6-4584-8cc4-651c3a6ba2b5n%40googlegroups.com.


Re: [tw5] Re: Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread Sandip Deshmukh
Thanks Stobot.

What a difference a . makes!

It works as expected.

On Fri, Aug 27, 2021, 21:06 strikke...@gmail.com 
wrote:

> Thank you @Stobot. You are of course right - I missed something in the
> copy paste.
> On Friday, August 27, 2021 at 5:30:17 PM UTC+2 Stobot wrote:
>
>> I think strikke/@Birthe might have forgot a leading dot(period). So:
>> .tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%;
>> background: #485052; color: #48E16A;}
>> On Friday, August 27, 2021 at 11:18:28 AM UTC-4 Sandip Deshmukh wrote:
>>
>>> Hello Stobot,
>>>
>>> Thanks.
>>>
>>> About the two column view, it was a plugin I was using called Stories.
>>> It lets me open the story in two columns. But I have disabled it for now.
>>>
>>> I have already tried tweaking settings in theme tweaks. That has not
>>> helped. Those settings affect the display font. But not the font when I
>>> edit.
>>>
>>> @strikke,
>>>
>>> Thanks. I tried your solution. But that did not have any effect on the
>>> display. I tried changing the colors, etc. But nothing changed.
>>>
>>>
>>>
>>> On 27/08/21 7:24 pm, strikke...@gmail.com wrote:
>>>
>>> @Stobot. I am sorry but I do not know. I just remembered that I had
>>> solved my problem in an old tiddlywiki from 2015, found it and looked i
>>> through to see where i was and how. Sorry.
>>> The inspector is the only help I know of. It is gradually becoming a
>>> better help for at least some thing.
>>>
>>> On Friday, August 27, 2021 at 3:49:21 PM UTC+2 Stobot wrote:
>>>
 Sorry to highjack the thread a bit - hoping we solved your problem
 Sandip!

 @Birthe / strikke... - can I ask how you learned to navigate the class
 hierarchy? I'm trying very hard how to learn this and am really struggling.
 I recently started using the Inspect / F12 stuff, but It's not pointing me
 to the right place. Is there a guide for this stuff somewhere? For example
 when I "inspect" the edit area while in edit view I get this (below
 screenshot) - how would I get that to your `tc-tiddler-frame
 textarea.tc-edit-texteditor` answer?

 [image: Capture.PNG]


 On Friday, August 27, 2021 at 9:35:10 AM UTC-4 strikke...@gmail.com
 wrote:

> I do not know about the two column view. But for editing I am using
> following at the moment.
>
> Create a tiddler, give it a title and tag $:/tags/Stylesheet and the
> following content:
>
> tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%;
> background: #485052; color: #48E16A;}
>
> This will certainly not be what you want, but you can insert your own
> color and size.
>
> On Friday, August 27, 2021 at 12:50:18 PM UTC+2 Sandip Deshmukh wrote:
>
>> I feel that as I switch from a single column view to a two column
>> view, the display font size reduces. I do not want that to happen. Any 
>> way
>> to achieve that?
>>
>> Secondly, the font that is used when I am editing a tiddler is
>> definitely smaller than the one used for displaying the tiddler. How do I
>> increase the font size when I am editing a tiddler?
>>
>> Lastly, is there a way to specify the font to use when displaying and
>> editing, say Devanagari text?
>>
> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/tiddlywiki/ywoDOeneA4c/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/74e32a0f-c90f-48ed-a2c7-0c74a1526d55n%40googlegroups.com
>>> 
>>> .
>>>
>>> --
>>> Regards,
>>> Sandip P Deshmukh
>>> Email: deshmuk...@gmail.com
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/ywoDOeneA4c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/626e0c98-75e9-4cd8-bba6-09f4c4f54070n%40googlegroups.com
> 
> .
>

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

Re: [Talk] [Google Group (Read Only)] [tw5] 2D tiddler grid (?): nulis.io

2021-08-27 Thread Jeremy Ruston
Thanks Anders, it's very nicely done.

It is fully open source; there's more information on their GitHub page 
https://github.com/lumenwrites/nulis

Worth noting that it is heavily inspired by Gingko, which came out a few years 
ago:

https://gingkoapp.com/

At some point I was in touch with the creator of Gingko and learned that it in 
turn was somewhat inspired by TiddlyWiki...

Best wishes

Jeremy

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


[tw5] Re: 2D tiddler grid (?): nulis.io

2021-08-27 Thread Finn Lancaster
Cool! It definitely seems like it would be a good reference for improved TW 
writing/storymapping 

On Wednesday, August 25, 2021 at 2:12:08 PM UTC-4 Anjar wrote:

> Hi,
>
> I just found nulis.io and it seems very interesting: https://nulis.io/ In 
> short, it is tiddlers but in 2D. Perhaps someone can use it for inspiration
>
> Best,
> Anders
>

-- 
You received this message because you are subscribed to the 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/a2d1996a-89d9-4759-a443-63116908fbden%40googlegroups.com.


Re: [tw5] Re: Tw-Themes: How to keep CSS so users can still (palette) tweak?

2021-08-27 Thread Finn Lancaster
Everything seems to be starting to come together! I noticed in the Palette 
that background and page-background are different, what does background 
refer to?

On Friday, August 27, 2021 at 8:47:31 AM UTC-4 Finn Lancaster wrote:

> Thanks @Alvaro, I’ll take a look at those. Already, the TW-primer shows up 
> in the themes tab based on my changes on my end, I tend not to push to 
> GitHub until the product is able to be used. 
>
> On Fri, Aug 27, 2021 at 7:00 AM Álvaro  wrote:
>
>> You can include the paltte in the theme.
>> Here you have two examples:
>> - Mono theme 
>> 
>> - Notebook theme 
>> 
>>
>> There is another point that you can see, these themes start with *$:/themes/ 
>> *instead of  *$:/plugins/ . *They are a kind of plugin but you will see 
>> them in ControlPanel > Appearance > Theme 
>>
>> El viernes, 27 de agosto de 2021 a las 2:45:01 UTC+2, flanc...@gmail.com 
>> escribió:
>>
>>> Started working on it, and already another question! It seems that I 
>>> can't include a palette inside the theme, but instead may have to do it 
>>> differently ???
>>>
>>> My palette file looks like this:
>>>
>>> description: Sleek dark skin for tw5, based on primer.css!
>>> name: tw5-primer
>>> title: $:/palettes/tw5-primer
>>> tags: $:/tags/Palette
>>> type: application/x-tiddler-dictionary
>>>
>>> And palette code here...
>>>
>>> Any ideas for what's going on? I'm thinking maybe the palette may have 
>>> to be defined inside the css file??
>>>
>>> Thanks for your (continued) help!
>>> On Thursday, August 26, 2021 at 7:45:47 PM UTC-4 Finn Lancaster wrote:
>>>
 Thanks, I'll look at doing this, and hopefully not run into any more 
 issues so that I don't have to bother you anymore :)

 On Thursday, August 26, 2021 at 7:36:55 PM UTC-4 Álvaro wrote:

> A palette is basically a data tiddler, a dictionary that stores N 
> key:value, with type application/x-tiddler-dictionary. Then you can use 
> it 
> with <> where keyName can be page-background or 
> others. 
>
> You don´t need change the type, that is the default type (I think). If 
> your file has the correct tag ( $:/tags/Stylesheet ) then it works 
> like stylesheet file.
>
> you can see more of what was discussed here 
> 
>
> Do not be scared of the number of entries in the vanilla palette, many 
> keys reuse values, there are palettes with fewer entries. It is also 
> something that has already been discussed about how to reduce the 
> palettes, 
> but it would be part of the hard rework in the styles of TiddlyWiki. 
> El viernes, 27 de agosto de 2021 a las 0:36:14 UTC+2, 
> strikke...@gmail.com escribió:
>
>> <> gives you the color number from the palette - that 
>> will be the colour the user of your theme has chosen as the active 
>> palette 
>> for their use of Tiddlywiki. 
>> Sorry but I do not know much more about the subject.
>>
>> On Thursday, August 26, 2021 at 11:54:48 PM UTC+2 flanc...@gmail.com 
>> wrote:
>>
>>> that seems to have worked, @strikke..., I'm guessing I have to 
>>> include it in my theme files now, and that I can change my css to a 
>>> text/vnd.tiddlywiki file, so that I can call colors such as 
>>> <> 
>>> ? Is this correct to assume?
>>>
>>> On Thursday, August 26, 2021 at 5:48:02 PM UTC-4 
>>> strikke...@gmail.com wrote:
>>>


 Sorry if I am being stupid, but could it not be done going to 
 $:/ControlPanel  
 select tab Appearance and then Palette. Go to the bottom of that and 
 click 
 the Show editor button. That will show the selected palette. Select 
 clone 
 palette. Then you can edit that. You will see how it is done and can 
 choose 
 the colours you prefer. That is at least a start. 
 On Thursday, August 26, 2021 at 10:27:17 PM UTC+2 
 flanc...@gmail.com wrote:

> Thanks @Alvaro,
>
> Would you mind explaining how to make a palette? This is my first 
> theme, but I do have some experience creating plugins, so I just need 
> to be 
> pointed in the right direction :)
>
> Thanks again!
>
> On Thursday, August 26, 2021 at 2:59:39 PM UTC-4 Álvaro wrote:
>
>> The color values from palettes are used via colour(/color) macro.
>>
>> How you can see in $:/themes/tiddlywiki/vanilla/base  many 
>> values of some properties are direcly transclude or with macro.
>> For example, the 

[tw5] Re: Highlighting duplicates in lists

2021-08-27 Thread paulgilbert2000
Hi tones,

have you had the chance to look at my last post?

On Saturday, August 21, 2021 at 5:14:38 AM UTC+2 paulgilbert2000 wrote:

> Hi Tones,
>
> I am not sure which line of code you are referring too , the line that 
> does the coloring is 
> <$list filter="[all[current]get[field_example]] 
> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
> variable=field-value>
> matchthen[color: 
> red;]] }}}><>
>
> It does not have <> {{!!field}} 
>
> instead there is  <>  ,so is this the bit that should be 
> replaced *?*
>
> i tried this  with no luck..
>
>
> *[image: Capture.PNG]*
> On Monday, August 16, 2021 at 6:29:52 AM UTC+2 TW Tones wrote:
>
>> Hio,
>>
>> Back in my code
>> 
>> <$list filter="[all[]prefix[New]has[field]]">
>>> [all[]prefix[New]!titleget[field]match{!!field}then[color: 
>> red;]] }}}>* <> {{!!field}}*
>> 
>> 
>>
>>
>> *<> {{!!field}} *is the display
>> replace this with 
>> *{{{ [all[current]get[field]format:date[]] }}}*
>> Not tested by me on this occasion
>>
>> where field is the chosen fieldname.
>>
>> Regards
>> Tones
>>
>> On Monday, 16 August 2021 at 12:14:51 UTC+10 mohamed...@hotmail.com 
>> wrote:
>>
>>> Thank you tones
>>>
>>> The real life example is to evaluate duplicate dates, so the actual real 
>>> values populating the fields are not  1 ,2 , etc.. they are actual dates , 
>>> IE . 2021062506295,   20210811055859000,etc.
>>> and so what i was trying is to  do is have the highlighted duplicate 
>>> values converted from the tiddly wiki format they are stored in in their 
>>> respective fields , to a normal readable format when displayed in the filter
>>>
>>> the
>>> On Monday, August 16, 2021 at 2:34:07 AM UTC+2 TW Tones wrote:
>>>
 Mohammad,

 I am confused, until now the fields  field_example,  field_example1,  
 field_example2 did not contain dates. 

- Are you trying to convert these to dates?
- the view widget format=date only works on tiddlywiki full serial 
number dates!

 Perhaps step back and describe what you want to do in the real world, 
 not with tiddlywiki code that may or may not be correct. 

 Regards
 Tones

 On Monday, 16 August 2021 at 01:46:55 UTC+10 mohamed...@hotmail.com 
 wrote:

> HI tones,
>
> sorry i guess i asked the wrong question, what i wanted to know is 
> where to place the widget  in the code , if i do it that way , it no 
> longer 
> highlights duplicates
>
>  <>: |  
><$list filter="[all[current]get[field_example]] 
> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
> variable=field-value>
> <$view field="field_example "format=date template=""/>
> <$view field="field_example1"format=date template=""/>
> <$view field="field_example2"format=date template=""/>
>
>  matchthen[color: 
> red;]] }}}><>
>
> 
>
> i also tried  adding format:date[DDD]] , which didn't yield any 
> results 
>
><$list filter="[all[current]get[field_example]] 
> [all[current]get[field_example2]] [all[current]get[field_example3]]" 
> format:date[DDD]] variable=field-value> 
> On Sunday, August 15, 2021 at 10:12:57 AM UTC+2 TW Tones wrote:
>
>> Look for and use the viewWidget and use the format date with a 
>> template, or the format relativedate
>>
>> Get into the habit also of searching in tiddlywiki.com to learn how 
>> to do things.
>> [image: Snag_c8a06a9.png]
>>
>> eg;
>>
>> <$view field=created format=date template=""/>
>>
>> <$view field=created format=relativedate/>
>>
>>  5.1.23 now allows this inside filters. 
>> 
>>
>> Regards
>> Tones
>>
>> On Sunday, 15 August 2021 at 10:26:32 UTC+10 mohamed...@hotmail.com 
>> wrote:
>>
>>> Sorry one more questions
>>>
>>> if the values are dates, how can they be displayed in normal format 
>>> ,and not the tiddly wiki format
>>>
>>> On Monday, August 9, 2021 at 1:10:18 AM UTC+2 paulgilbert2000 wrote:
>>>
 Thank you tones

 Will take me a while to understand all that . but it works like a 
 charm , and its even more than what i have asked for

 thanks again:)

 On Sunday, August 8, 2021 at 7:31:10 AM UTC+2 TW Tones wrote:

> Mohamad,
>
> I am happy to look at solving the problem presented but my 
> suspicion remains that there may be a different way to put the 
> question in 
> the first place. 
>
> Sometimes a question can be rephrased such that the answer is 
> simpler to find.
>
>- In this we have multiple tiddlers, with multiple fields, 
>with *values* that may be duplicated across these 
>

Re: [tw5] Re: Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread strikke...@gmail.com
Thank you @Stobot. You are of course right - I missed something in the copy 
paste.
On Friday, August 27, 2021 at 5:30:17 PM UTC+2 Stobot wrote:

> I think strikke/@Birthe might have forgot a leading dot(period). So:
> .tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%; 
> background: #485052; color: #48E16A;}
> On Friday, August 27, 2021 at 11:18:28 AM UTC-4 Sandip Deshmukh wrote:
>
>> Hello Stobot,
>>
>> Thanks.
>>
>> About the two column view, it was a plugin I was using called Stories. It 
>> lets me open the story in two columns. But I have disabled it for now.
>>
>> I have already tried tweaking settings in theme tweaks. That has not 
>> helped. Those settings affect the display font. But not the font when I 
>> edit.
>>
>> @strikke,
>>
>> Thanks. I tried your solution. But that did not have any effect on the 
>> display. I tried changing the colors, etc. But nothing changed.
>>
>>
>>
>> On 27/08/21 7:24 pm, strikke...@gmail.com wrote:
>>
>> @Stobot. I am sorry but I do not know. I just remembered that I had 
>> solved my problem in an old tiddlywiki from 2015, found it and looked i 
>> through to see where i was and how. Sorry. 
>> The inspector is the only help I know of. It is gradually becoming a 
>> better help for at least some thing.
>>
>> On Friday, August 27, 2021 at 3:49:21 PM UTC+2 Stobot wrote:
>>
>>> Sorry to highjack the thread a bit - hoping we solved your problem 
>>> Sandip! 
>>>
>>> @Birthe / strikke... - can I ask how you learned to navigate the class 
>>> hierarchy? I'm trying very hard how to learn this and am really struggling. 
>>> I recently started using the Inspect / F12 stuff, but It's not pointing me 
>>> to the right place. Is there a guide for this stuff somewhere? For example 
>>> when I "inspect" the edit area while in edit view I get this (below 
>>> screenshot) - how would I get that to your `tc-tiddler-frame 
>>> textarea.tc-edit-texteditor` answer? 
>>>
>>> [image: Capture.PNG]
>>>
>>>
>>> On Friday, August 27, 2021 at 9:35:10 AM UTC-4 strikke...@gmail.com 
>>> wrote:
>>>
 I do not know about the two column view. But for editing I am using 
 following at the moment.

 Create a tiddler, give it a title and tag $:/tags/Stylesheet and the 
 following content:

 tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%; 
 background: #485052; color: #48E16A;}

 This will certainly not be what you want, but you can insert your own 
 color and size.

 On Friday, August 27, 2021 at 12:50:18 PM UTC+2 Sandip Deshmukh wrote:

> I feel that as I switch from a single column view to a two column 
> view, the display font size reduces. I do not want that to happen. Any 
> way 
> to achieve that?
>
> Secondly, the font that is used when I am editing a tiddler is 
> definitely smaller than the one used for displaying the tiddler. How do I 
> increase the font size when I am editing a tiddler?
>
> Lastly, is there a way to specify the font to use when displaying and 
> editing, say Devanagari text?
>
 -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/ywoDOeneA4c/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/74e32a0f-c90f-48ed-a2c7-0c74a1526d55n%40googlegroups.com
>>  
>> 
>> .
>>
>> -- 
>> Regards,
>> Sandip P Deshmukh
>> Email: deshmuk...@gmail.com
>>
>

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


Re: [tw5] Re: Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread Stobot
I think strikke/@Birthe might have forgot a leading dot(period). So:
.tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%; background: 
#485052; color: #48E16A;}
On Friday, August 27, 2021 at 11:18:28 AM UTC-4 Sandip Deshmukh wrote:

> Hello Stobot,
>
> Thanks.
>
> About the two column view, it was a plugin I was using called Stories. It 
> lets me open the story in two columns. But I have disabled it for now.
>
> I have already tried tweaking settings in theme tweaks. That has not 
> helped. Those settings affect the display font. But not the font when I 
> edit.
>
> @strikke,
>
> Thanks. I tried your solution. But that did not have any effect on the 
> display. I tried changing the colors, etc. But nothing changed.
>
>
>
> On 27/08/21 7:24 pm, strikke...@gmail.com wrote:
>
> @Stobot. I am sorry but I do not know. I just remembered that I had solved 
> my problem in an old tiddlywiki from 2015, found it and looked i through to 
> see where i was and how. Sorry. 
> The inspector is the only help I know of. It is gradually becoming a 
> better help for at least some thing.
>
> On Friday, August 27, 2021 at 3:49:21 PM UTC+2 Stobot wrote:
>
>> Sorry to highjack the thread a bit - hoping we solved your problem 
>> Sandip! 
>>
>> @Birthe / strikke... - can I ask how you learned to navigate the class 
>> hierarchy? I'm trying very hard how to learn this and am really struggling. 
>> I recently started using the Inspect / F12 stuff, but It's not pointing me 
>> to the right place. Is there a guide for this stuff somewhere? For example 
>> when I "inspect" the edit area while in edit view I get this (below 
>> screenshot) - how would I get that to your `tc-tiddler-frame 
>> textarea.tc-edit-texteditor` answer? 
>>
>> [image: Capture.PNG]
>>
>>
>> On Friday, August 27, 2021 at 9:35:10 AM UTC-4 strikke...@gmail.com 
>> wrote:
>>
>>> I do not know about the two column view. But for editing I am using 
>>> following at the moment.
>>>
>>> Create a tiddler, give it a title and tag $:/tags/Stylesheet and the 
>>> following content:
>>>
>>> tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%; 
>>> background: #485052; color: #48E16A;}
>>>
>>> This will certainly not be what you want, but you can insert your own 
>>> color and size.
>>>
>>> On Friday, August 27, 2021 at 12:50:18 PM UTC+2 Sandip Deshmukh wrote:
>>>
 I feel that as I switch from a single column view to a two column view, 
 the display font size reduces. I do not want that to happen. Any way to 
 achieve that?

 Secondly, the font that is used when I am editing a tiddler is 
 definitely smaller than the one used for displaying the tiddler. How do I 
 increase the font size when I am editing a tiddler?

 Lastly, is there a way to specify the font to use when displaying and 
 editing, say Devanagari text?

>>> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/ywoDOeneA4c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/74e32a0f-c90f-48ed-a2c7-0c74a1526d55n%40googlegroups.com
>  
> 
> .
>
> -- 
> Regards,
> Sandip P Deshmukh
> Email: deshmuk...@gmail.com
>

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


Re: [tw5] Re: Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread Sandip P. Deshmukh

Hello Stobot,

Thanks.

About the two column view, it was a plugin I was using called Stories. 
It lets me open the story in two columns. But I have disabled it for now.


I have already tried tweaking settings in theme tweaks. That has not 
helped. Those settings affect the display font. But not the font when I 
edit.


@strikke,

Thanks. I tried your solution. But that did not have any effect on the 
display. I tried changing the colors, etc. But nothing changed.




On 27/08/21 7:24 pm, strikke...@gmail.com wrote:
@Stobot. I am sorry but I do not know. I just remembered that I had 
solved my problem in an old tiddlywiki from 2015, found it and looked 
i through to see where i was and how. Sorry.
The inspector is the only help I know of. It is gradually becoming a 
better help for at least some thing.


On Friday, August 27, 2021 at 3:49:21 PM UTC+2 Stobot wrote:

Sorry to highjack the thread a bit - hoping we solved your problem
Sandip!

@Birthe / strikke... - can I ask how you learned to navigate the
class hierarchy? I'm trying very hard how to learn this and am
really struggling. I recently started using the Inspect / F12
stuff, but It's not pointing me to the right place. Is there a
guide for this stuff somewhere? For example when I "inspect" the
edit area while in edit view I get this (below screenshot) - how
would I get that to your `tc-tiddler-frame
textarea.tc-edit-texteditor` answer?

Capture.PNG


On Friday, August 27, 2021 at 9:35:10 AM UTC-4
strikke...@gmail.com wrote:

I do not know about the two column view. But for editing I am
using following at the moment.

Create a tiddler, give it a title and tag $:/tags/Stylesheet
and the following content:

tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%;
background: #485052; color: #48E16A;}

This will certainly not be what you want, but you can insert
your own color and size.

On Friday, August 27, 2021 at 12:50:18 PM UTC+2 Sandip
Deshmukh wrote:

I feel that as I switch from a single column view to a two
column view, the display font size reduces. I do not want
that to happen. Any way to achieve that?

Secondly, the font that is used when I am editing a
tiddler is definitely smaller than the one used for
displaying the tiddler. How do I increase the font size
when I am editing a tiddler?

Lastly, is there a way to specify the font to use when
displaying and editing, say Devanagari text?

--
You received this message because you are subscribed to a topic in the 
Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/tiddlywiki/ywoDOeneA4c/unsubscribe 
.
To unsubscribe from this group and all its topics, send an email to 
tiddlywiki+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74e32a0f-c90f-48ed-a2c7-0c74a1526d55n%40googlegroups.com 
.

--
Regards,
Sandip P Deshmukh
Email: deshmukh.san...@gmail.com

--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/20e397c9-bce0-f58b-3e4d-ac927b0c32a1%40gmail.com.


Re: [tw5] tw5-primer v1.0.1 is here!

2021-08-27 Thread Finn Lancaster
Awesome! I believe Canva has a good color theory wheel, 
too: https://www.canva.com/colors/color-wheel/. 

On Friday, August 27, 2021 at 12:56:33 AM UTC-4 Télumire wrote:

> This is much more readable, nice !
>
> By the way, I've found a great example of accessible design by the team of 
> firefox : https://design.firefox.com/photon/visuals/color.html
> They link to these guidelines/tools - in case you'll want to tweak your 
> theme even further  :)
>
>- https://www.w3.org/TR/WCAG/#visual-audio-contrast - WCAG 2.0 
> Level AA 
>guidelines to ensure proper color contrast 
>- https://www.tpgi.com/color-contrast-checker/ - contrast and color 
>blindness analyzer (Windows and macOS) by The Paciello Group. 
>- https://contrast-ratio.com/ - contrast ratio calculator (Web) by Lea 
>Verou. 
>- https://michelf.ca/projects/sim-daltonism/ - color blindness 
>simulator (iOS and macOS) by Michel Fortin. 
>- 
>https://msdn.microsoft.com/library/windows/desktop/hh404233(v=vs.85).aspx 
>- Supporting High Contrast Themes on Windows, guidelines by Windows Dev 
>Center.
>
>
> Le jeudi 26 août 2021 à 09:34:37 UTC+2, Mohammad a écrit :
>
>> Finn
>> I would recommend separating the color palette from layout (theme)!
>> Right now, I cannot change the color palette!
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Thu, Aug 26, 2021 at 1:21 AM Finn Lancaster  
>> wrote:
>>
>>> Earlier today, I released my newest plugin/theme: tw5-primer, using the 
>>> primer.css library. Now, I'm happy to announce v1.0.1 is here, where I have 
>>> built upon the old code to conform with TW standards, as recommended by 
>>> @PMario. 
>>>
>>> For those of you who haven't already seen it, a demo/install can be 
>>> found at tw5-primer.finnsoftware.net , and its github page is at 
>>> https://github.com/flancast90/tw5-primer.
>>>
>>> *What's new?*
>>> - There is no longer any js portion involved in the theme
>>> - instead, everything is now CSS as a styles.tid file. This keeps your 
>>> wiki lightning fast, as well as usable in no-internet situations! 
>>> - Theming colors updated: edit area, tags, etc all are different looking 
>>> using a mix of primer classes and my own CSS!
>>>
>>> *And one Last Thing:*
>>> I'm looking to get some others opinions on this; I would like to rename 
>>> the plugin the Charcoal, or perhaps Ebony to reflect its modern feel, but 
>>> would also like to keep the fact that it uses some (not much anymore) code 
>>> from Primer.css, and is based upon it. 
>>>
>>> What do you guys think? Any different ideas for names?
>>>
>>> As usual, if you appreciate my work on this, drop a star at the github: 
>>> https://github.com/flancast90/tw5-primer
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/923e1c96-1eba-42e7-a11e-16c352c6n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/26574bf0-0cc9-432c-9f14-21cbf48b6530n%40googlegroups.com.


[tw5] Re: Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread strikke...@gmail.com
@Stobot. I am sorry but I do not know. I just remembered that I had solved 
my problem in an old tiddlywiki from 2015, found it and looked i through to 
see where i was and how. Sorry. 
The inspector is the only help I know of. It is gradually becoming a better 
help for at least some thing.

On Friday, August 27, 2021 at 3:49:21 PM UTC+2 Stobot wrote:

> Sorry to highjack the thread a bit - hoping we solved your problem Sandip!
>
> @Birthe / strikke... - can I ask how you learned to navigate the class 
> hierarchy? I'm trying very hard how to learn this and am really struggling. 
> I recently started using the Inspect / F12 stuff, but It's not pointing me 
> to the right place. Is there a guide for this stuff somewhere? For example 
> when I "inspect" the edit area while in edit view I get this (below 
> screenshot) - how would I get that to your `tc-tiddler-frame 
> textarea.tc-edit-texteditor` answer?
>
> [image: Capture.PNG]
>
>
> On Friday, August 27, 2021 at 9:35:10 AM UTC-4 strikke...@gmail.com wrote:
>
>> I do not know about the two column view. But for editing I am using 
>> following at the moment.
>>
>> Create a tiddler, give it a title and tag $:/tags/Stylesheet and the 
>> following content:
>>
>> tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%; 
>> background: #485052; color: #48E16A;}
>>
>> This will certainly not be what you want, but you can insert your own 
>> color and size.
>>
>> On Friday, August 27, 2021 at 12:50:18 PM UTC+2 Sandip Deshmukh wrote:
>>
>>> I feel that as I switch from a single column view to a two column view, 
>>> the display font size reduces. I do not want that to happen. Any way to 
>>> achieve that?
>>>
>>> Secondly, the font that is used when I am editing a tiddler is 
>>> definitely smaller than the one used for displaying the tiddler. How do I 
>>> increase the font size when I am editing a tiddler?
>>>
>>> Lastly, is there a way to specify the font to use when displaying and 
>>> editing, say Devanagari text?
>>>
>>

-- 
You received this message because you are subscribed to the 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/74e32a0f-c90f-48ed-a2c7-0c74a1526d55n%40googlegroups.com.


[tw5] Re: Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread Stobot
Sorry to highjack the thread a bit - hoping we solved your problem Sandip!

@Birthe / strikke... - can I ask how you learned to navigate the class 
hierarchy? I'm trying very hard how to learn this and am really struggling. 
I recently started using the Inspect / F12 stuff, but It's not pointing me 
to the right place. Is there a guide for this stuff somewhere? For example 
when I "inspect" the edit area while in edit view I get this (below 
screenshot) - how would I get that to your `tc-tiddler-frame 
textarea.tc-edit-texteditor` answer?

[image: Capture.PNG]


On Friday, August 27, 2021 at 9:35:10 AM UTC-4 strikke...@gmail.com wrote:

> I do not know about the two column view. But for editing I am using 
> following at the moment.
>
> Create a tiddler, give it a title and tag $:/tags/Stylesheet and the 
> following content:
>
> tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%; background: 
> #485052; color: #48E16A;}
>
> This will certainly not be what you want, but you can insert your own 
> color and size.
>
> On Friday, August 27, 2021 at 12:50:18 PM UTC+2 Sandip Deshmukh wrote:
>
>> I feel that as I switch from a single column view to a two column view, 
>> the display font size reduces. I do not want that to happen. Any way to 
>> achieve that?
>>
>> Secondly, the font that is used when I am editing a tiddler is definitely 
>> smaller than the one used for displaying the tiddler. How do I increase the 
>> font size when I am editing a tiddler?
>>
>> Lastly, is there a way to specify the font to use when displaying and 
>> editing, say Devanagari text?
>>
>

-- 
You received this message because you are subscribed to the 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/e8009172-246c-4794-8d51-1a67034d1b8cn%40googlegroups.com.


[tw5] Gitmbed is Public! Make YOUR wiki more accessible!

2021-08-27 Thread Finn Lancaster
 

 Hi everyone,

A while back, I posted about my new chrome extension: gitmbed, which, while 
not directly tw-related, I believe could be used to improve accessibility 
to tw from INSIDE online social media/GitHub. The extension can be found at 
https://chrome.google.com/webstore/detail/gitmbed/cbfjhpckapddemlmidlmgoepochhfpfi,
 
the official gitmbed website is at https://gitmbed.finnsoftware.net, and 
the GitHub is at https://github.com/flancast90/gitmbed.


*How can I use gitmbed with tw?*

Gitmbed makes it easy to embed your tw inside Social Media Website Posts 
(Instagram.com, Facebook, GitHub) which would normally block embeds. You 
can make your first gitmbed by navigating to 
https://gitmbed.finnsoftware.net#setup 
, which all you will have to give 
is a URL to your tw, the height you want the embed to be, and the width. 


While instructions for only Instagram.com and GitHub are given there, 
gitmbed, in fact, will work on anything where you can add alt text to an 
image. This means that you can use it for Facebook/anywhere else assuming 
you can add an image and alt text to it.


I hope it really is a help for all of you; a demo of an embedded 
tiddlywiki.com can be found at https://gitmbed.finnsoftware.net#demo 
, and, as usual, feel free to drop 
a star at https://github.com/flancast90/gitmbed.

-- 
You received this message because you are subscribed to the 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/5ee19c43-ee85-4acd-8a5d-4f4f941b95ffn%40googlegroups.com.


[tw5] Re: Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread strikke...@gmail.com
I do not know about the two column view. But for editing I am using 
following at the moment.

Create a tiddler, give it a title and tag $:/tags/Stylesheet and the 
following content:

tc-tiddler-frame textarea.tc-edit-texteditor {font-size: 125%; background: 
#485052; color: #48E16A;}

This will certainly not be what you want, but you can insert your own color 
and size.

On Friday, August 27, 2021 at 12:50:18 PM UTC+2 Sandip Deshmukh wrote:

> I feel that as I switch from a single column view to a two column view, 
> the display font size reduces. I do not want that to happen. Any way to 
> achieve that?
>
> Secondly, the font that is used when I am editing a tiddler is definitely 
> smaller than the one used for displaying the tiddler. How do I increase the 
> font size when I am editing a tiddler?
>
> Lastly, is there a way to specify the font to use when displaying and 
> editing, say Devanagari text?
>

-- 
You received this message because you are subscribed to the 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/2d37dd76-c4cc-4741-af36-aa2fd7080e1fn%40googlegroups.com.


Re: [tw5] Re: Tw-Themes: How to keep CSS so users can still (palette) tweak?

2021-08-27 Thread Finn Lancaster
Thanks @Alvaro, I’ll take a look at those. Already, the TW-primer shows up
in the themes tab based on my changes on my end, I tend not to push to
GitHub until the product is able to be used.

On Fri, Aug 27, 2021 at 7:00 AM Álvaro 
wrote:

> You can include the paltte in the theme.
> Here you have two examples:
> - Mono theme
> 
> - Notebook theme
> 
>
> There is another point that you can see, these themes start with *$:/themes/
> *instead of  *$:/plugins/ . *They are a kind of plugin but you will see
> them in ControlPanel > Appearance > Theme
>
> El viernes, 27 de agosto de 2021 a las 2:45:01 UTC+2, flanc...@gmail.com
> escribió:
>
>> Started working on it, and already another question! It seems that I
>> can't include a palette inside the theme, but instead may have to do it
>> differently ???
>>
>> My palette file looks like this:
>>
>> description: Sleek dark skin for tw5, based on primer.css!
>> name: tw5-primer
>> title: $:/palettes/tw5-primer
>> tags: $:/tags/Palette
>> type: application/x-tiddler-dictionary
>>
>> And palette code here...
>>
>> Any ideas for what's going on? I'm thinking maybe the palette may have to
>> be defined inside the css file??
>>
>> Thanks for your (continued) help!
>> On Thursday, August 26, 2021 at 7:45:47 PM UTC-4 Finn Lancaster wrote:
>>
>>> Thanks, I'll look at doing this, and hopefully not run into any more
>>> issues so that I don't have to bother you anymore :)
>>>
>>> On Thursday, August 26, 2021 at 7:36:55 PM UTC-4 Álvaro wrote:
>>>
 A palette is basically a data tiddler, a dictionary that stores N
 key:value, with type application/x-tiddler-dictionary. Then you can use it
 with <> where keyName can be page-background or others.

 You don´t need change the type, that is the default type (I think). If
 your file has the correct tag ( $:/tags/Stylesheet ) then it works
 like stylesheet file.

 you can see more of what was discussed here
 

 Do not be scared of the number of entries in the vanilla palette, many
 keys reuse values, there are palettes with fewer entries. It is also
 something that has already been discussed about how to reduce the palettes,
 but it would be part of the hard rework in the styles of TiddlyWiki.
 El viernes, 27 de agosto de 2021 a las 0:36:14 UTC+2,
 strikke...@gmail.com escribió:

> <> gives you the color number from the palette - that
> will be the colour the user of your theme has chosen as the active palette
> for their use of Tiddlywiki.
> Sorry but I do not know much more about the subject.
>
> On Thursday, August 26, 2021 at 11:54:48 PM UTC+2 flanc...@gmail.com
> wrote:
>
>> that seems to have worked, @strikke..., I'm guessing I have to
>> include it in my theme files now, and that I can change my css to a
>> text/vnd.tiddlywiki file, so that I can call colors such as 
>> <>
>> ? Is this correct to assume?
>>
>> On Thursday, August 26, 2021 at 5:48:02 PM UTC-4 strikke...@gmail.com
>> wrote:
>>
>>>
>>>
>>> Sorry if I am being stupid, but could it not be done going to 
>>> $:/ControlPanel
>>> select tab Appearance and then Palette. Go to the bottom of that and 
>>> click
>>> the Show editor button. That will show the selected palette. Select 
>>> clone
>>> palette. Then you can edit that. You will see how it is done and can 
>>> choose
>>> the colours you prefer. That is at least a start.
>>> On Thursday, August 26, 2021 at 10:27:17 PM UTC+2 flanc...@gmail.com
>>> wrote:
>>>
 Thanks @Alvaro,

 Would you mind explaining how to make a palette? This is my first
 theme, but I do have some experience creating plugins, so I just need 
 to be
 pointed in the right direction :)

 Thanks again!

 On Thursday, August 26, 2021 at 2:59:39 PM UTC-4 Álvaro wrote:

> The color values from palettes are used via colour(/color) macro.
>
> How you can see in $:/themes/tiddlywiki/vanilla/base  many values
> of some properties are direcly transclude or with macro.
> For example, the selector mentioned by you:
>
> body.tc-body {
> font-size: {{$:/themes/tiddlywiki/vanilla/metrics/fontsize}};
> line-height:
> {{$:/themes/tiddlywiki/vanilla/metrics/lineheight}};
> word-wrap: break-word;
> <>
> color: <>;
> *background-color: <>;*
> fill: <>;
> }
>
> You will need 

[tw5] Re: Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread Stobot
I don't know what "two column view" refers to on your first part, but for 
the second and third pieces I think you're looking for the values in "Theme 
Tweaks". 

   1. Open the $:/ControlPanel (gear icon at top of sidebar by default)
   2. Amongst the top tabs pick the second one - *Appearance*
   3. Amongst the now second row of tabs, pick the last one - *Theme Tweaks*

Below the layout options, you'll see "Settings" where the font options (and 
fallbacks) are all editable. Below that is the "Sizes" area where it allows 
you to change various font sizes and line heights. If none of those get you 
exactly what you want, then it's probably some CSS needed, though I'm not 
an expert in that area. 
On Friday, August 27, 2021 at 6:50:18 AM UTC-4 Sandip Deshmukh wrote:

> I feel that as I switch from a single column view to a two column view, 
> the display font size reduces. I do not want that to happen. Any way to 
> achieve that?
>
> Secondly, the font that is used when I am editing a tiddler is definitely 
> smaller than the one used for displaying the tiddler. How do I increase the 
> font size when I am editing a tiddler?
>
> Lastly, is there a way to specify the font to use when displaying and 
> editing, say Devanagari text?
>

-- 
You received this message because you are subscribed to the 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/4b083788-7b11-43f4-8ade-0f810509b681n%40googlegroups.com.


[tw5] Re: Tw-Themes: How to keep CSS so users can still (palette) tweak?

2021-08-27 Thread Álvaro
You can include the paltte in the theme.
Here you have two examples:
- Mono theme 

- Notebook theme 


There is another point that you can see, these themes start with *$:/themes/ 
*instead of  *$:/plugins/ . *They are a kind of plugin but you will see 
them in ControlPanel > Appearance > Theme 

El viernes, 27 de agosto de 2021 a las 2:45:01 UTC+2, flanc...@gmail.com 
escribió:

> Started working on it, and already another question! It seems that I can't 
> include a palette inside the theme, but instead may have to do it 
> differently ???
>
> My palette file looks like this:
>
> description: Sleek dark skin for tw5, based on primer.css!
> name: tw5-primer
> title: $:/palettes/tw5-primer
> tags: $:/tags/Palette
> type: application/x-tiddler-dictionary
>
> And palette code here...
>
> Any ideas for what's going on? I'm thinking maybe the palette may have to 
> be defined inside the css file??
>
> Thanks for your (continued) help!
> On Thursday, August 26, 2021 at 7:45:47 PM UTC-4 Finn Lancaster wrote:
>
>> Thanks, I'll look at doing this, and hopefully not run into any more 
>> issues so that I don't have to bother you anymore :)
>>
>> On Thursday, August 26, 2021 at 7:36:55 PM UTC-4 Álvaro wrote:
>>
>>> A palette is basically a data tiddler, a dictionary that stores N 
>>> key:value, with type application/x-tiddler-dictionary. Then you can use it 
>>> with <> where keyName can be page-background or others. 
>>>
>>> You don´t need change the type, that is the default type (I think). If 
>>> your file has the correct tag ( $:/tags/Stylesheet ) then it works like 
>>> stylesheet file.
>>>
>>> you can see more of what was discussed here 
>>> 
>>>
>>> Do not be scared of the number of entries in the vanilla palette, many 
>>> keys reuse values, there are palettes with fewer entries. It is also 
>>> something that has already been discussed about how to reduce the palettes, 
>>> but it would be part of the hard rework in the styles of TiddlyWiki. 
>>> El viernes, 27 de agosto de 2021 a las 0:36:14 UTC+2, 
>>> strikke...@gmail.com escribió:
>>>
 <> gives you the color number from the palette - that will 
 be the colour the user of your theme has chosen as the active palette for 
 their use of Tiddlywiki. 
 Sorry but I do not know much more about the subject.

 On Thursday, August 26, 2021 at 11:54:48 PM UTC+2 flanc...@gmail.com 
 wrote:

> that seems to have worked, @strikke..., I'm guessing I have to include 
> it in my theme files now, and that I can change my css to a 
> text/vnd.tiddlywiki file, so that I can call colors such as 
> <> 
> ? Is this correct to assume?
>
> On Thursday, August 26, 2021 at 5:48:02 PM UTC-4 strikke...@gmail.com 
> wrote:
>
>>
>>
>> Sorry if I am being stupid, but could it not be done going to 
>> $:/ControlPanel  
>> select tab Appearance and then Palette. Go to the bottom of that and 
>> click 
>> the Show editor button. That will show the selected palette. Select 
>> clone 
>> palette. Then you can edit that. You will see how it is done and can 
>> choose 
>> the colours you prefer. That is at least a start. 
>> On Thursday, August 26, 2021 at 10:27:17 PM UTC+2 flanc...@gmail.com 
>> wrote:
>>
>>> Thanks @Alvaro,
>>>
>>> Would you mind explaining how to make a palette? This is my first 
>>> theme, but I do have some experience creating plugins, so I just need 
>>> to be 
>>> pointed in the right direction :)
>>>
>>> Thanks again!
>>>
>>> On Thursday, August 26, 2021 at 2:59:39 PM UTC-4 Álvaro wrote:
>>>
 The color values from palettes are used via colour(/color) macro.

 How you can see in $:/themes/tiddlywiki/vanilla/base  many values 
 of some properties are direcly transclude or with macro.
 For example, the selector mentioned by you:

 body.tc-body {
 font-size: {{$:/themes/tiddlywiki/vanilla/metrics/fontsize}};
 line-height: 
 {{$:/themes/tiddlywiki/vanilla/metrics/lineheight}};
 word-wrap: break-word;
 <>
 color: <>;
 *background-color: <>;*
 fill: <>;
 }

 You will need create a palette for your theme
 El jueves, 26 de agosto de 2021 a las 16:18:46 UTC+2, 
 flanc...@gmail.com escribió:

> Hi,
>
> Recently I have been working on my tw5-primer theme, and some 
> feedback I have gotten suggests that the theme doesn't allow palette 

[tw5] Font problems --- while editing, while displaying devanagari text

2021-08-27 Thread Sandip Deshmukh
I feel that as I switch from a single column view to a two column view, the 
display font size reduces. I do not want that to happen. Any way to achieve 
that?

Secondly, the font that is used when I am editing a tiddler is definitely 
smaller than the one used for displaying the tiddler. How do I increase the 
font size when I am editing a tiddler?

Lastly, is there a way to specify the font to use when displaying and 
editing, say Devanagari text?

-- 
You received this message because you are subscribed to the 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/ec1557ed-ec82-4d57-b9c8-4f62ad437bd5n%40googlegroups.com.