[tw5] Re: New TiddlyTools time feature: **Interactive Calendar**

2020-09-05 Thread Guido B
This is brilliant and very hackable! Just one remark: there is a typo in 
the showmonth-macro: in the fifth line, it should be "[calendar_highlight]" 
and not "[calendar_highight]".

Best, Guido

Am Samstag, 5. September 2020 04:49:01 UTC+2 schrieb Eric Shulman:
>
> Hi all,
>
> I'm pleased to announce a new addition to my TiddlyTools suite of 
> time-related tiddlers: *Interactive calendar display*
>
> To install, just drag-and-drop the following tiddler into your document:
> http://tiddlytools.com/timer.html#TiddlyTools%2FTimer%2FCalendar
>
> Displays a yearly or monthly calendar with popups that show links to 
>> tiddlers
>>
>>- By default, the calendar displays the current year.
>>- Enter a year number or select a month to change the view. Press [X] 
>>to reset to the current year view.
>>- Click on a month title to toggle between annual and single-month 
>>view.
>>- Press [<<] to view the previous month. Press [>>] to view the next 
>>month.
>>- Dates on which tiddlers were created or modified and dates which 
>>have a Journal tiddler are colored light blue.
>>- Click a date to show a popup with links to tiddlers created or 
>>modified on that date.
>>- Press [pencil] to create or edit a Journal tiddler for that date.
>>- You can set the colors and font styles used by the calendar (see 
>>TiddlyTools/Timer/Setup 
>>
>> below).
>>
>> With either calendar display, you can easily see on which days you have 
>> *created 
> *or *modified *tiddlers,
> giving you a yearly or monthly view of your tiddler changes.  Then, click 
> on any date to view a popup
> that lets you view/edit a Journal tiddler for that date or quickly 
> navigate to any tiddlers created/modified
> on that date.
>
> *You can also add a monthly calendar directly in the SideBar tabs!...*
> To install, just drag-and-drop the following tiddler into your document:
> http://tiddlytools.com/timer.html#TiddlyTools%2FTimer%2FSidebarCalendar
> (note: the SidebarCalendar requires the installation of Calendar tiddler 
> as well)
>
> As a test, I dropped the Calendar into http://TiddlyWiki.com, and was 
> able to instantly see
> a "year-at-a-glance" overview of all the changes that Jeremy has made 
> since January 2020.
>
> Note: the Calendar currently excludes system tiddlers, so it doesn't show 
> changes to $:/state, $:/temp,
> and TWCore shadow tiddlers.  I will soon be adding a configuration setting 
> to allow customization of
> the Calendar filter so shadows and other system tiddlers can be included 
> if desired.
>
> enjoy,
> -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/33950567-a226-4a36-a758-7a2af3fc0e5fo%40googlegroups.com.


[tw5] Re: Quick Tag Editing?

2020-08-11 Thread Guido B
You find an example of such a toggle button here: 
http://tw5custom.tiddlyspot.com/#Add%20tagging%20in%20view%20mode

Am Dienstag, 11. August 2020 22:28:56 UTC+2 schrieb amreus:
>
>
> I recently found Mohammad's View Fields plugin which quickly toggles all 
> tidder's fields and makes the available for editing even when not in 
> editing mode.
>
> Does something similar exist for tags? So that tags always show their 
> delete button even when not editing the tiddler? And perhaps a '+' sign 
> could be shown in the tags row to quickly add a tag?
>
> Thanks.
>
>
>
>

-- 
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/ba16e8df-2f0f-4940-b617-3a3acf85675bo%40googlegroups.com.


[tw5] Re: Newbie question on split and regexp

2020-06-18 Thread Guido B
OK, I finally found the solution myself:

<$set name=contact value={{!!kontakt}}>

<$list filter="[splitregexp[, ]]" variable="item">

<sort[title]]">>






Am Donnerstag, 18. Juni 2020 10:33:41 UTC+2 schrieb Guido B:
>
> Hi
>
> I'm still new to TW and I continue to struggle with the filter syntax. 
> Here is what I try to achieve: 
>
>
>- I use TW to jot down notes during conversations
>- I use a custom field ("kontakt") to record who has attended a meeting
>- For that purpose I use an abbreviation of the persons names, eg. 
>"SSC, DKR, HMF" ( a comma-delimited list)
>- For each person I have a tiddler with the full name of the person as 
>its title
>- The abbreviated name is in a custom field named "kuerzel"
>- I would now like to append to each note a list of the attendees
>
> What I was able to do was to use the following to list the attendee when 
> only one person attended:
>
> Code hier eingeben...
> <$set name=kurzzeichen value= {{!!kontakt}}>
>
> <sort[title]]">>
>
> 
>
> How can I generalized this when more than one person attended? I know that 
> I have to somehow split the field "kontakt" into its parts (something like 
> [[]split[, ]]) and than to use the items of this newly created 
> array to do the regexp-stuff. To be honest, I have, even after studying the 
> various explanations and examples and googleing for hours, not the 
> slightest idea of how to achieve this. So any hints would very much be 
> appreciated!
>
> Thanks, Guido
>

-- 
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/49a7f410-b560-4229-b6f3-70728bc88567o%40googlegroups.com.


[tw5] Newbie question on split and regexp

2020-06-18 Thread Guido B
Hi

I'm still new to TW and I continue to struggle with the filter syntax. Here 
is what I try to achieve: 


   - I use TW to jot down notes during conversations
   - I use a custom field ("kontakt") to record who has attended a meeting
   - For that purpose I use an abbreviation of the persons names, eg. "SSC, 
   DKR, HMF" ( a comma-delimited list)
   - For each person I have a tiddler with the full name of the person as 
   its title
   - The abbreviated name is in a custom field named "kuerzel"
   - I would now like to append to each note a list of the attendees

What I was able to do was to use the following to list the attendee when 
only one person attended:

Code hier eingeben...
<$set name=kurzzeichen value= {{!!kontakt}}>

>



How can I generalized this when more than one person attended? I know that 
I have to somehow split the field "kontakt" into its parts (something like 
[[]split[, ]]) and than to use the items of this newly created 
array to do the regexp-stuff. To be honest, I have, even after studying the 
various explanations and examples and googleing for hours, not the 
slightest idea of how to achieve this. So any hints would very much be 
appreciated!

Thanks, Guido

-- 
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/d1bc1bc8-2c9e-4552-8c64-69661caf6979o%40googlegroups.com.


[tw5] Re: Plugin prototype: Command Palette

2020-06-14 Thread Guido B
Also from myself, many thanks for this wonderful plugin.

As to my point from last week regarding the Edge browser problem: I 
transpiled your commandpalettewidget.js file with Babel and an es2015 
preset and now the plugin works also in the Edge browser. So you don't have 
to deal with the issue as this is obviously just a problem of Edge and IE 
not being able to deal with newer flavors of JS. 

Best, Guido


Am Mittwoch, 10. Juni 2020 19:31:24 UTC+2 schrieb Souk21:
>
> Hello everyone!
>
>
> I discovered TiddlyWiki a couple weeks ago, and I set myself to use it for 
> note taking.
> I really enjoy the trip so far, it really is a interesting piece of 
> software.
> The only thing missing for me is a proper way to search with the keyboard 
> only.
>
> There’s a shortcut to focus the search field, but unfortunately, you can’t 
> navigate the results with the arrows, and you can’t close the dropdown with 
> escape.
>
>
> I looked around for a plugin, but I wasn’t able to find any that worked 
> for me.
> So, in a tiddlywiki mindset, I decided to try and make my own.
> I took a lot of inspiration from VSCode command palette.
> By default you open it with Ctrl+P, but you can change the shortcut from 
> the tw settings
> You can search tiddlers by text or with a filter expression, search tags, 
> list all tiddlers with a tag,...
> If you type ‘>’ you enter the ‘command’ mode and you can select (or 
> search) from a list of commands.
> You can access help if you type '?'
>
>
> I tried to make it the more customizable I could, there’s still work but 
> it’s already quite customizable. Most of the commands are only tiddlers!
> It’s a prototype, and my first tw plugin as well, so obviously the code is 
> a mess! It could have unexpected behavior (most probably does) and you 
> shouldn’t use it in your own wikis yet!
>
>
> I tried my best, but for now, the plugin is not really working as tw 
> expects plugins to.
> The plugin always returns ‘refresh=false’ and manages his own DOM itself, 
> storing state inside of it in the way.
> I was not sure where to ‘instantiate’ the view, so for now I’m using 
> $:/View/AboveStory which I believe is not ideal.
> So yeah, really not the tw way.
>
>
> There are still some other problems, I’m not sure how to escape a filter 
> operation parameter for example so the search sometimes returns errors
>
> Obviously it’s not really optimized yet either.
>
> I do plan to fix it and include more features (I still have a tiddler full 
> of ideas)
>
>
> I’m posting here to see what people think of this prototype and if there’s 
> any interest in such a plugin.
>
> If so, I’m probably gonna need some guidance into how things are supposed 
> to work so I can make it work more nicely with tw.
>
> Considering the state of the project, I didn’t take the time to write any 
> doc yet.
>
> You can demo it here : https://souk21.github.io/TW-commandpalette/
>
> Let me know :)
>

-- 
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/66420ac7-595b-4900-8ca5-7651e54c2b8fo%40googlegroups.com.


Re: [tw5] Re: Plugin prototype: Command Palette

2020-06-11 Thread Guido B
This is on the PC provided by my employer, so I still have to use the old 
Edge browser

Am Donnerstag, 11. Juni 2020 09:35:13 UTC+2 schrieb Mohammad:
>
> Hi Guido,
>
> I am using Microsoft Edge (Chromium) and it works like a charm! Microsoft 
> itself does recommend the new Edge!
>
>
> Best wishes
> Mohammad
>
>
> On Thu, Jun 11, 2020 at 10:27 AM Guido B  > wrote:
>
>> Souk21,
>>
>> Great plugin and it would fit perfectly into my workflow. Using it on my 
>> Mac with Safari or Firefox works fine. However, using it on a Windows10 
>> machine running the Edge browser, I get the following error message: 
>> "Undefined widget 'commandpalettewidget'". Being not a JS-person, I have no 
>> idea where this error comes from. 
>>
>> Another remark: I had to increase the z-index in the css-File to not 
>> having the palette appear behind the open tiddlers. Maybe you could do this 
>> by default. 
>>
>> Guido
>>
>> Am Mittwoch, 10. Juni 2020 19:31:24 UTC+2 schrieb Souk21:
>>>
>>> Hello everyone!
>>>
>>>
>>> I discovered TiddlyWiki a couple weeks ago, and I set myself to use it 
>>> for note taking.
>>> I really enjoy the trip so far, it really is a interesting piece of 
>>> software.
>>> The only thing missing for me is a proper way to search with the 
>>> keyboard only.
>>>
>>> There’s a shortcut to focus the search field, but unfortunately, you 
>>> can’t navigate the results with the arrows, and you can’t close the 
>>> dropdown with escape.
>>>
>>>
>>> I looked around for a plugin, but I wasn’t able to find any that worked 
>>> for me.
>>> So, in a tiddlywiki mindset, I decided to try and make my own.
>>> I took a lot of inspiration from VSCode command palette.
>>> By default you open it with Ctrl+P, but you can change the shortcut from 
>>> the tw settings
>>> You can search tiddlers by text or with a filter expression, search 
>>> tags, list all tiddlers with a tag,...
>>> If you type ‘>’ you enter the ‘command’ mode and you can select (or 
>>> search) from a list of commands.
>>> You can access help if you type '?'
>>>
>>>
>>> I tried to make it the more customizable I could, there’s still work but 
>>> it’s already quite customizable. Most of the commands are only tiddlers!
>>> It’s a prototype, and my first tw plugin as well, so obviously the code 
>>> is a mess! It could have unexpected behavior (most probably does) and you 
>>> shouldn’t use it in your own wikis yet!
>>>
>>>
>>> I tried my best, but for now, the plugin is not really working as tw 
>>> expects plugins to.
>>> The plugin always returns ‘refresh=false’ and manages his own DOM 
>>> itself, storing state inside of it in the way.
>>> I was not sure where to ‘instantiate’ the view, so for now I’m using 
>>> $:/View/AboveStory which I believe is not ideal.
>>> So yeah, really not the tw way.
>>>
>>>
>>> There are still some other problems, I’m not sure how to escape a filter 
>>> operation parameter for example so the search sometimes returns errors
>>>
>>> Obviously it’s not really optimized yet either.
>>>
>>> I do plan to fix it and include more features (I still have a tiddler 
>>> full of ideas)
>>>
>>>
>>> I’m posting here to see what people think of this prototype and if 
>>> there’s any interest in such a plugin.
>>>
>>> If so, I’m probably gonna need some guidance into how things are 
>>> supposed to work so I can make it work more nicely with tw.
>>>
>>> Considering the state of the project, I didn’t take the time to write 
>>> any doc yet.
>>>
>>> You can demo it here : https://souk21.github.io/TW-commandpalette/
>>>
>>> Let me know :)
>>>
>> -- 
>> 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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/e5e8c28e-f304-4713-a667-0a26e277165eo%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/e5e8c28e-f304-4713-a667-0a26e277165eo%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/5d4a92ff-d87c-4a26-94db-0a9c3178773fo%40googlegroups.com.


[tw5] Re: Plugin prototype: Command Palette

2020-06-10 Thread Guido B
Souk21,

Great plugin and it would fit perfectly into my workflow. Using it on my 
Mac with Safari or Firefox works fine. However, using it on a Windows10 
machine running the Edge browser, I get the following error message: 
"Undefined widget 'commandpalettewidget'". Being not a JS-person, I have no 
idea where this error comes from. 

Another remark: I had to increase the z-index in the css-File to not having 
the palette appear behind the open tiddlers. Maybe you could do this by 
default. 

Guido

Am Mittwoch, 10. Juni 2020 19:31:24 UTC+2 schrieb Souk21:
>
> Hello everyone!
>
>
> I discovered TiddlyWiki a couple weeks ago, and I set myself to use it for 
> note taking.
> I really enjoy the trip so far, it really is a interesting piece of 
> software.
> The only thing missing for me is a proper way to search with the keyboard 
> only.
>
> There’s a shortcut to focus the search field, but unfortunately, you can’t 
> navigate the results with the arrows, and you can’t close the dropdown with 
> escape.
>
>
> I looked around for a plugin, but I wasn’t able to find any that worked 
> for me.
> So, in a tiddlywiki mindset, I decided to try and make my own.
> I took a lot of inspiration from VSCode command palette.
> By default you open it with Ctrl+P, but you can change the shortcut from 
> the tw settings
> You can search tiddlers by text or with a filter expression, search tags, 
> list all tiddlers with a tag,...
> If you type ‘>’ you enter the ‘command’ mode and you can select (or 
> search) from a list of commands.
> You can access help if you type '?'
>
>
> I tried to make it the more customizable I could, there’s still work but 
> it’s already quite customizable. Most of the commands are only tiddlers!
> It’s a prototype, and my first tw plugin as well, so obviously the code is 
> a mess! It could have unexpected behavior (most probably does) and you 
> shouldn’t use it in your own wikis yet!
>
>
> I tried my best, but for now, the plugin is not really working as tw 
> expects plugins to.
> The plugin always returns ‘refresh=false’ and manages his own DOM itself, 
> storing state inside of it in the way.
> I was not sure where to ‘instantiate’ the view, so for now I’m using 
> $:/View/AboveStory which I believe is not ideal.
> So yeah, really not the tw way.
>
>
> There are still some other problems, I’m not sure how to escape a filter 
> operation parameter for example so the search sometimes returns errors
>
> Obviously it’s not really optimized yet either.
>
> I do plan to fix it and include more features (I still have a tiddler full 
> of ideas)
>
>
> I’m posting here to see what people think of this prototype and if there’s 
> any interest in such a plugin.
>
> If so, I’m probably gonna need some guidance into how things are supposed 
> to work so I can make it work more nicely with tw.
>
> Considering the state of the project, I didn’t take the time to write any 
> doc yet.
>
> You can demo it here : https://souk21.github.io/TW-commandpalette/
>
> Let me know :)
>

-- 
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/e5e8c28e-f304-4713-a667-0a26e277165eo%40googlegroups.com.


[tw5] Re: Use of external image in macro

2020-06-07 Thread Guido B
Perfect, that did the trick! Many thanks. 

Am Sonntag, 7. Juni 2020 10:40:57 UTC+2 schrieb Silverfox:
>
> In this case it' better to use the Macrocall widget
>
> if your Macro is like
> \define myMacro(myPath)
> xxx
> \end
>
> Then you call it this way :
>
> <$macrocall $name="myMacro" myPath= {{titel of image 
> tiddler!!_canonical_uri}}/>
>
> Nicolas
>
>
> On Sunday, June 7, 2020 at 8:25:31 AM UTC+2, Guido B wrote:
>>
>> Hi
>>
>> I started using TW a couple of weeks ago and I love it. However, I still 
>> struggle with the syntax. Here's my problem: 
>>
>>- I make external images available through _canonical_uri. 
>>- I would like to use these images not only by transcluding them, but 
>>also by referring to them in a macro. 
>>- Example of such a macro: <>DS MindMap.png*" width: "600px">>
>>- The *path of the image* is the same as the one used when filling in 
>>the _canonical_uri
>>- I know that I can get the text of the _canonical_uri field by using 
>>{{titel of image tiddler!!_canonical_uri}}
>>- What I don't know is how to use this information in the above 
>>macro. What is the syntax to use the text information from {{titel of 
>> image 
>>tiddler!!_canonical_uri}} in macros requiring text input?
>>
>> Thanks in advance for any hint. 
>>
>> Guido
>>
>

-- 
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/a24601b0-733e-4cf8-bc0d-3cfe8281d764o%40googlegroups.com.


[tw5] Use of external image in macro

2020-06-06 Thread Guido B
Hi

I started using TW a couple of weeks ago and I love it. However, I still 
struggle with the syntax. Here's my problem: 

   - I make external images available through _canonical_uri. 
   - I would like to use these images not only by transcluding them, but 
   also by referring to them in a macro. 
   - Example of such a macro: <>
   - The *path of the image* is the same as the one used when filling in 
   the _canonical_uri
   - I know that I can get the text of the _canonical_uri field by using 
   {{titel of image tiddler!!_canonical_uri}}
   - What I don't know is how to use this information in the above macro. 
   What is the syntax to use the text information from {{titel of image 
   tiddler!!_canonical_uri}} in macros requiring text input?

Thanks in advance for any hint. 

Guido

-- 
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/5f64f970-09ef-4348-bbff-be19221aeccbo%40googlegroups.com.