Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread taale...@gmail.com
And lastly - fixed. :/ sorry for the 2380756 emails \define lddots( likeThis ) <$list filter="[[$likeThis$]split[,]]"> <$vars thisStyle={{{ [[height:20px;width:20px;background-color:]] [] [[;border-radius:50%;display:inline-block;border:3px solid black;]] +[join[]] }}}> ] }}}> \end On

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread taale...@gmail.com
And I figured out the macro it seems, except it's still doing it in a column, not a row: [image: test in columns.png] On Tuesday, November 30, 2021 at 8:35:24 PM UTC-7 taale...@gmail.com wrote: > And... Here's a shot of what it looks like on TW. When I was testing at > work this afternoon, the

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread taale...@gmail.com
And... Here's a shot of what it looks like on TW. When I was testing at work this afternoon, the circles were less oval, and in a row. [image: TWsite test.png] On Tuesday, November 30, 2021 at 8:25:13 PM UTC-7 taale...@gmail.com wrote: > I thought the tids might help > > On Tuesday, November

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread taale...@gmail.com
I thought the tids might help On Tuesday, November 30, 2021 at 8:17:33 PM UTC-7 cj.v...@gmail.com wrote: > Oh, column vs row. > > Although the blank lines make your work more readable, I'm thinking one of > those is causing a carriage return. > > *And* your macro is missing parentheses: > >

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread taale...@gmail.com
I'm using 5.2.0 - and that's what the transclusion above returned too. On Tuesday, November 30, 2021 at 8:11:38 PM UTC-7 cj.v...@gmail.com wrote: > Sniffs like TiddlyWiki version difference. > > What value does this (put that in a new tiddler) give you in your > TiddlyWiki: > > {{{ [] }}} > >

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Charlie Veniot
Oh, column vs row. Although the blank lines make your work more readable, I'm thinking one of those is causing a carriage return. *And* your macro is missing parentheses: \define lfdots*()* Otherwise, very cool. On Tuesday, November 30, 2021 at 11:09:20 PM UTC-4 taale...@gmail.com wrote: >

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Charlie Veniot
Sniffs like TiddlyWiki version difference. What value does this (put that in a new tiddler) give you in your TiddlyWiki: {{{ [] }}} On Tuesday, November 30, 2021 at 11:09:20 PM UTC-4 taale...@gmail.com wrote: > oh, and it works fine on tiddlywiki.com with my tweaks (except that the > dots

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread taale...@gmail.com
oh, and it works fine on tiddlywiki.com with my tweaks (except that the dots are in a column not a row as before) And I see I left out the () after the definition - but still no difference On Tuesday, November 30, 2021 at 8:07:13 PM UTC-7 taale...@gmail.com wrote: > Everything worked on

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread taale...@gmail.com
Everything worked on Tiddlywiki, but on my wiki, after my tweaks, no good/no bueno/dim da (that last one is Welsh) My tweaks to the code: \define lfdots <$list filter="[{!!colors}split[,]] +[search-replace:i[abr],[gold]] +[search-replace:i[bgn],[teal]] +[search-replace:i[blk],[black]]

[tw5] Re: Embedding images on Android

2021-11-30 Thread Joshua Fontany
Chrome on Android cannot access local file paths: https://blog.chromium.org/2008/12/security-in-depth-local-web-pages.html This is an instance where having the images AS base64-encoded-image-tiddlers will work out "easiest". Otherwise, you'll have to host those images online or on a local

[tw5] Embedding images on Android

2021-11-30 Thread Alvin Yang
Hey guys, I'm new here. I've been having this issue where local images won't load on android (Chrome) where they would on my laptop. I'm using the single html file TiddlyWiki. I've tried having the image in the same directory as well as in a sub directory. I first tried the [img[(file path]]

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Charlie Veniot
You got it. Well, I could be out to lunch. Proof is always in the pudding. On Tuesday, November 30, 2021 at 3:38:44 PM UTC-4 taale...@gmail.com wrote: > So much awesomeness! > > Okay, so I see now it's not my classes, but regular html color names. If I > want #478AE2, how do I specify that?

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Charlie Veniot
Answers intertwined with your post: On Tuesday, November 30, 2021 at 3:33:49 PM UTC-4 taale... wrote: > You are awesome Charlie! Thanks! > > I usually aim for quirky and "somewhat entertaining", but if I can come up with something awesome (for the moment, because there is often something else

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Aidan Grey
And I tested and see that I was wrong and that works just fine. I will investigate and see if I can do multi-char splits on my own. Thanks again Charlie - really appreciate your expertise! On Tue, Nov 30, 2021 at 12:38 PM Aidan Grey wrote: > So much awesomeness! > > Okay, so I see now it's

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Aidan Grey
So much awesomeness! Okay, so I see now it's not my classes, but regular html color names. If I want #478AE2, how do I specify that? For some reason, I think [#478AE2] isn't right - or am I wrong? On Tue, Nov 30, 2021 at 12:34 PM Charlie Veniot wrote: > And I hybrid, for the giggles: > >

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Charlie Veniot
And I hybrid, for the giggles: \define beDotted3(likeThis) <$list filter="[[$likeThis$]!is[blank]] [{!!colorway}] +[first[]] +[split[]] +[search-replace:i[y],[yellow]] +[search-replace:i[r],[red]]"> <$vars thisStyle={{{ [[min-height:25px;width:25px;background-color:]] []

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Aidan Grey
You are awesome Charlie! Thanks! Checking if I understand how this works: basically, it just splits [the list | the field value] by each letter and replaces it with the "code" from my classes, right? So if there are 15 possible color-classes, I would just add as many of the

[tw5] On using a hierarchical notation for tiddler titles to support better retrieval and naming

2021-11-30 Thread Sid T.
Hello, I'm curious if there is a way to use tiddler titles to create a hierarchy, like the one used in Dendron. For example, tiddler title "work" is parent of both the tiddlers "work.journal" and "work.research". And "work.journal" is a parent of "work.journal.2021_11_30" and so on. That is, a

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Charlie Veniot
If you had as standard the use of a "colorway" field in your tiddlers, then the macro doesn't need any parameter. Maybe something like this? \define beDotted2( ) <$list filter="[{!!colorway}split[]] +[search-replace:i[y],[yellow]] +[search-replace:i[r],[red]]"> <$vars thisStyle={{{

[tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Charlie Veniot
Sample "meaty" part: \define beDotted( likeThis ) <$list filter="[[$likeThis$]split[]] +[search-replace:i[y],[yellow]] +[search-replace:i[r],[red]]"> <$vars thisStyle={{{ [[min-height:25px;width:25px;background-color:]] [] [[;border-radius:50%;display:inlin-block;border:3px solid black;]]

Re: [tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Aidan Grey
If I'm understanding you right, I think currentTiddler is the right thing. As an example: {{!!colorway}} ! The Title of the Thing and the Stuff where colorway is the field with the long PITA spans. Using your macro, it would just be <> > ! The Title of the Thing and the Stuff and I could

[tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Charlie Veniot
Okay. Just need to know what the meaty part should be. (i.e., what should be where the "<>" is?) \define beDotted( likeThis ) <$list filter="[[$likeThis$]split[]]"> <> \end <> On Tuesday, November 30, 2021 at 2:42:30 PM UTC-4 Charlie Veniot wrote: > For sure a macro could do that. Give me

[tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread Charlie Veniot
For sure a macro could do that. Give me a few minutes. On Tuesday, November 30, 2021 at 2:33:00 PM UTC-4 taale...@gmail.com wrote: > Oh, sorry - I forgot some details: > > I just want to be able to ID colors as a visual example easily - they > don't have to be dots. > If I had my druthers,

[tw5] Re: Portal Prototype: Added "Surveys" page and subpages

2021-11-30 Thread Charlie Veniot
A survey I had put together last year for folk to quickly pull together a list of TiddlyWiki Use Cases. I just moved that into a new tab in the Surveys spreadsheet , and added a new page for the Use Cases Form

[tw5] Re: An easier way to create a band of specific colors

2021-11-30 Thread taale...@gmail.com
Oh, sorry - I forgot some details: I just want to be able to ID colors as a visual example easily - they don't have to be dots. If I had my druthers, I'd love to have some sort of macro where I pass in something like "YRWG" and get the above or similar. Could a macro do that? On Tuesday,

[tw5] An easier way to create a band of specific colors

2021-11-30 Thread taale...@gmail.com
I created some classes to created colored dots, so that I can list specific colors for a project. I call them colorways. An example : [image: Annotation 2021-11-30 112413.png] The issue is that coding them is a pita. For example, the code for the above is: where - cwd is a class that

[tw5] Re: Portal Prototype: Added "Surveys" page and subpages

2021-11-30 Thread Charlie Veniot
Arg, forgot to add the link to the Surveys Page . On Tuesday, November 30, 2021 at 2:02:57 PM UTC-4 Charlie Veniot wrote: > The Surveys page displays a spreadsheets containing results from filled > out surveys. > > The idea is here is to

[tw5] Portal Prototype: Added "Surveys" page and subpages

2021-11-30 Thread Charlie Veniot
The Surveys page displays a spreadsheets containing results from filled out surveys. The idea is here is to display a spreadsheet with multiple tabs, each tab displaying the results for a specific survery. I imagine this page eventually being just about surveys related to how folk are using

[tw5] Re: Text overflowing inside "tc-drop-down"?

2021-11-30 Thread Petri M.
Ah perfect! Thank you! -Petri On Tuesday, November 30, 2021 at 3:40:36 PM UTC+2 Eric Shulman wrote: > By default, `tc-drop-down` applies CSS `white-space:nowrap`. In addition, > for links it also applies `display:block; padding:0 14px 0 14px;`. > > To override these default styles, you can

[tw5] Re: Text overflowing inside "tc-drop-down"?

2021-11-30 Thread Eric Shulman
By default, `tc-drop-down` applies CSS `white-space:nowrap`. In addition, for links it also applies `display:block; padding:0 14px 0 14px;`. To override these default styles, you can define and apply your own CSS class (e.g., "my-drop-down"), like this: 1) Create a stylesheet tiddler, tagged

[tw5] Text overflowing inside "tc-drop-down"?

2021-11-30 Thread Petri M.
Hi, I have made a quick popup macro which basically uses: <$transclude tiddler="tid" mode="block"/> and if my tiddler "tid" happens to have a long paragraph, it just oveflows to the moon. Is there quick way of fixing this? -- You received this message because you are subscribed to the