[tw5] [Dynamic Styles] a question of performance and efficient solution

2020-12-14 Thread Mohammad Rahmani
A dynamic css can be like a below tiddler *Title*: my-custom-style *Tags*: $:/tags/Stylesheet [data-tags ~= "recipe"] .tc-tiddler-body { font-family: "Roboto"; font-weight: 500; font-size: 32px; line-height: 48px; } Now assume I need to apply the above styles to any tiddler has tag recipe AND

[tw5] Re: How to open all AdvancedSearch search results to StoryList instead of exporting?

2020-12-14 Thread danraymond
Hi Tones; Have you had a chnace to do this? On Saturday, September 12, 2020 at 9:28:36 AM UTC+10 TW Tones wrote: > Your welcome. > > Keep an eye out for my advanced search indicators package. > > Regards > Tony > > > On Saturday, 12 September 2020 06:33:35 UTC+10, tony wrote: >> >> Wow, wow exc

Re: [tw5] customize order of tag display

2020-12-14 Thread Eric Shulman
On Monday, December 14, 2020 at 3:57:42 PM UTC-8 Jan wrote: > It would be practical to have this in the core by default, together with a > filter which tags to exclude. > Indeed! Both *tag display order* and *hiding specific tags* can be done by a minor enhancement to $:/core/ui/ViewTemplate/t

[tw5] Re: [Macro] datauri macro and svg images

2020-12-14 Thread Joshua Fontany
Interesting... I wonder if this is true for all SVGs or just the core. The core image tiddlers are not actually "type:image/svg+xml", they do not have a type value, and are interpreted as wiki-text when transcluded. Best, Joshua F On Wednesday, December 9, 2020 at 1:33:52 AM UTC-8 Mohammad wro

Re: [tw5] customize order of tag display

2020-12-14 Thread Jan
Hi Eric, very usefull idea. It would be practical to have this in the core bey default, together with a filter which tags to exclude. Best wishes Jan Am 14.12.2020 um 07:56 schrieb Eric Shulman: Hi all, Recently, someone asked me if it is possible to apply a custom order to the tags that are

[tw5] Re: Using TiddlyWiki for fact-based information modelling and database engineering ???

2020-12-14 Thread Bob Jansen
Tones, sorry for my tardy reply but have been busy organising an exhibition of my partner's work at Cowra Regional Gallery. Where can I find these plugins? The plugin library does not appear to have them. bobj On Friday, 11 December 2020 at 09:38:15 UTC+11 TW Tones wrote: > Bob, > > Delayed

[tw5] Re: Is it possible to set a ViewTemplate to appear only in mobile mode?

2020-12-14 Thread TW Tones
Si, There are tiddlywiki themes etc for mobile use. Whilst the screen size can be determined and I believe start-up actions can be triggered to respond to such screen sizes I believe the main approach to mobile is using CSS and its features to respond to screen sizes. CSS allows you to hide the

[tw5] Re: Compress JSON with JSONCRUSH

2020-12-14 Thread TW Tones
Jan, I have recently being importing CSV files containing data, and generating large plugins/JSON files with JSON Mangler. In this case a product inventory from an online store. Whilst I can see value for compression/expansion of a JSON file on import and export, when it is in the Wiki the mai

[tw5] Re: What are $__StoryList_ ?

2020-12-14 Thread duche...@gmail.com
Hi, I use Tiddlywiki 5.1.22 on node.js v12.14.1. I deleted them all without impact so far. I'll watch if they reappear. Any idea why they were created? Thank you. Le dimanche 13 décembre 2020 à 14:19:28 UTC-5, PMario a écrit : > Hi, > You can safely delete all of them! ... Then tell us, if t

[tw5] Re: Is it possible to set a ViewTemplate to appear only in mobile mode?

2020-12-14 Thread si
Ahh ok thank you Eric, that's good to know. On Monday, 14 December 2020 at 20:44:36 UTC Eric Shulman wrote: > On Monday, December 14, 2020 at 12:28:46 PM UTC-8 si wrote: > >> various different types of browser/platform, all with the prefix >> "$:/info/browser/is/". >> > > These are added by the

[tw5] Re: Is it possible to set a ViewTemplate to appear only in mobile mode?

2020-12-14 Thread Eric Shulman
On Monday, December 14, 2020 at 12:28:46 PM UTC-8 si wrote: > various different types of browser/platform, all with the prefix > "$:/info/browser/is/". > These are added by the "browser-sniff" plugin, which is installed on tiddlywiki.com, but is NOT installed in the empty.html -e -- You rece

[tw5] Re: Is it possible to set a ViewTemplate to appear only in mobile mode?

2020-12-14 Thread si
>>> Now I'm waiting for someone to pop up with "there's a new undocumented 'is mobile" tiddler" ... It seems there is! I searched the shadow tiddlers and there's a bunch of them for various different types of browser/platform, all with the prefix "$:/info/browser/is/". So for android I just u

Re: [tw5] Re: New version of the Notebook theme available

2020-12-14 Thread Nicolas Petton
Michael Arndt writes: > Very nice theme, if I find some time I'll take a look how to make it > compatible with sq/Stories to have a second column on desktop :) That would be great! Nico -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubs

Re: [tw5] Re: [HowTo] a simple button to cycle in color palettes

2020-12-14 Thread Mohammad Rahmani
Hi Josiah, On Mon, Dec 14, 2020 at 12:42 PM TiddlyTweeter wrote: > Ciao Mohammad > > Thanks for highlighting the new operator. > I myself am very interested to see new features discussed. This is an effort of what I have discovered! :-) TW 5.1.23 has a lot of such great features! > > Very go

[tw5] Re: Is it possible to set a ViewTemplate to appear only in mobile mode?

2020-12-14 Thread 'Mark S.' via TiddlyWiki
Thinking out loud. Looking at InfoMechanism , it seems the only information TW exposes that might be useful are the screen dimensions. On some phones, the screen ratio is 2. On most many desktop screens it's less than two. So maybe a viewtemplat

Re: [tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-14 Thread Mohammad Rahmani
Saq, Based on your suggestion, this may be another solution (not a good one but works!!) <$button>Day/Night II <$list filter="[{$:/palette}!match[$:/palettes/Vanilla]!match[$:/palettes/SolarFlare]]"> <$action-setfield $tiddler="$:/palette" $field="text" $value=""/> <$action-listops $tiddler="$:/

Re: [tw5] Re: New version of the Notebook theme available

2020-12-14 Thread Michael Arndt
Very nice theme, if I find some time I'll take a look how to make it compatible with sq/Stories to have a second column on desktop :) Am Mo., 14. Dez. 2020 um 14:24 Uhr schrieb Nicolas Petton : > "odin...@gmail.com" writes: > > Hi Odin, > > > I am running into a problem. I can't seem to import t

[tw5] Is it possible to set a ViewTemplate to appear only in mobile mode?

2020-12-14 Thread si
As per the title, I'm wondering if there is a way to set a ViewTemplate to appear at the bottom of every tiddler in my wiki, but *only* while in mobile mode. I know that I could create a manual toggle button to do this, but am wondering if there is any way to have this work automatically? --

[tw5] Compress JSON with JSONCRUSH

2020-12-14 Thread Jan
Hi Tiddlywikians. I just encountered the a library which can verry efficiently reduce the size of JSON files. https://github.com/KilledByAPixel/JSONCrush So far I do not have a TW-usecase for this. But I want to share it with you because maybe someone else can build something with that. Bes

[tw5] Re: tags sorting and batch color editing questions

2020-12-14 Thread 'Mark S.' via TiddlyWiki
On Sunday, December 13, 2020 at 7:06:02 PM UTC-8 Harry wrote: > Hi all, > > I have two novice questions. The first one is about batch editing tags. I > have about 300+ tags now and I want to give them different styles > (background color, text color, font size etc.) according to different > g

Re: [tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-14 Thread Mohammad Rahmani
Hi Saq, Many thanks for both solutions. The second is more semantic and I use it. Best wishes Mohammad Best wishes Mohammad On Mon, Dec 14, 2020 at 5:31 PM Saq Imtiaz wrote: > OR: > > <$action-listops $tiddler="$:/palette" $field="text" > $filter="""[{$:/palette}!match[$:/palettes/Vanilla]

[tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-14 Thread Saq Imtiaz
OR: <$action-listops $tiddler="$:/palette" $field="text" $filter="""[{$:/palette}!match[$:/palettes/Vanilla]!match[$:/palettes/SolarFlare]then[$:/palettes/Vanilla]] :else[enlist{$:/palette}toggle[$:/palettes/Vanilla],[$:/palettes/SolarFlare]]""" /> On Monday, December 14, 2020 at 2:41:13 PM

[tw5] Re: [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-14 Thread Saq Imtiaz
Hmm. Yes it is a bit tricky since toggle[] is a list ops operator. So you need to handle the situation where this is an existing value that is not a part of the value pair to toggle. I'm short on time at the moment so there might be a better solution, but something like this untested solution s

Re: [tw5] Re: New version of the Notebook theme available

2020-12-14 Thread Nicolas Petton
"odin...@gmail.com" writes: Hi Odin, > I am running into a problem. I can't seem to import the whole plugin. After > importing the plugin, the list of tiddlers are showing in italics. Only > $:/core/ui/PageTemplate/sidebar >

Re: [tw5] Re: New version of the Notebook theme available

2020-12-14 Thread Nicolas Petton
"odin...@gmail.com" writes: > Hi Nicolas! Hi Odin, > Thank you for sharing this theme. Your design is really well done. In order > for TiddlyWiki to appeal to a wider audience, it is IMO essential to have a > clean design available. It is good to see people are working on those > designs!

Re: [tw5] Re: [HowTo] a simple button to cycle in color palettes

2020-12-14 Thread Mohammad Rahmani
Hi Tony! Yes, I think I just focused on the cycle and no the whole snippets. I like your approach. I myself have the simple solution! Thank you --Mohammad On Mon, Dec 14, 2020 at 10:39 AM TW Tones wrote: > Mohammad, > > I was looking at the filter you used and notice a shorter form for > [[

[tw5] [TW 5.1.23] Toggle filter operator how to replace the field value

2020-12-14 Thread Mohammad Rahmani
I use the below button to toggle between day/night palette <$button>Day/Night <$action-listops $tiddler="$:/palette" $field="text" $subfilter="+[toggle[$:/palettes/Vanilla],[$:/palettes/SolarFlare]]" /> The problem here is if $:/palette is not empty and has not one of the two values above, then

[tw5] Re: [HowTo] a simple button to cycle in color palettes

2020-12-14 Thread Mohammad
Thank you Saq. Your solution is minimal and semantic! --Mohammad On Monday, December 14, 2020 at 1:25:13 PM UTC+3:30 saq.i...@gmail.com wrote: > @Mohammad > > You can simplify > <$button actions=<> > <$text text={{{ > [[$:/palette]get[text]removeprefix[$:/palettes/]]}}}/> > > to: > > <$butt

Re: [tw5] Re: New version of the Notebook theme available

2020-12-14 Thread odin...@gmail.com
I am running into a problem. I can't seem to import the whole plugin. After importing the plugin, the list of tiddlers are showing in italics. Only $:/core/ui/PageTemplate/sidebar is imported, the rest are missing. How to re

Re: [tw5] Re: New version of the Notebook theme available

2020-12-14 Thread odin...@gmail.com
Hi Nicolas! Thank you for sharing this theme. Your design is really well done. In order for TiddlyWiki to appeal to a wider audience, it is IMO essential to have a clean design available. It is good to see people are working on those designs! You wrote that it hasn't reached V1.0 yet. What are

[tw5] Re: [HowTo] a simple button to cycle in color palettes

2020-12-14 Thread Saq Imtiaz
@Mohammad You can simplify <$button actions=<> > <$text text={{{ [[$:/palette]get[text]removeprefix[$:/palettes/]]}}}/> to: <$button actions=<> > <$text text={{{ [{$:/palette}get[name]]}}}/> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.

[tw5] Re: [HowTo] a simple button to cycle in color palettes

2020-12-14 Thread TiddlyTweeter
Ciao Mohammad Thanks for highlighting the new operator. Very good! Makes buttons fly. CYCLE toggles are a very neat minimalist way to effect change. Best wishes TT On Sunday, 13 December 2020 at 07:34:52 UTC+1 Mohammad wrote: > *Feature in Tiddlywiki 5.1.23* > > TW 5.123 has a new filter ope

Re: [tw5] Re: Projectify plugin

2020-12-14 Thread Nicolas Petton
TW Tones writes: Hi Tones, > Thanks for sharing this useful tool. I understand the update is not > compatible, so we use one or the other. Indeed, they're not compatible. > However what about existing projects and task, is it complex to deal with > previously created projects/tasks? > > I a

Re: [tw5] Re: New version of the Notebook theme available

2020-12-14 Thread Nicolas Petton
Mohammad writes: Hi Mohammad, > Many thanks for your contribution. Notebook is an amazing theme. The words > clean and uncluttered theme best describe it. > On mobile and small screen I think the is the only theme makes TW like an > app and its lower menu and action on sidebar item selection i