Re: [tw5] Plugin prototype: Command Palette

2020-06-10 Thread Mohammad Rahmani
Thanks Souk21!

I confirm the issue has been resolved now!

I am sure this plugin will get alot of attention! So hackability,
customization are recommended!
Keep it simple for use! I love it!


Cheers
Mohammad


On Thu, Jun 11, 2020 at 1:04 AM Souk21  wrote:

> @Mohammad Woops! Thank you for the bug report, it's fixed now! You can try
> it on the demo page :)
>
> Le mercredi 10 juin 2020 21:41:19 UTC+2, Mohammad a écrit :
>>
>> A small Bug
>>
>> 1. ctrl+p
>> 2. type Nella  (or anything you are sure does not exist in the wiki)
>> 3. press enter
>>
>> The red error window appears
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Wed, Jun 10, 2020 at 10:01 PM Souk21  wrote:
>>
>>> 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/558ff87a-a6f6-47a9-b0e5-4d0b2714569bo%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/98ff8a7e-1602-486a-b1ba-038df8521f05o%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/CAAV1gMD8dE9sF9GqnWembxH5wM_TA21s5pyjcpn6zDdtvzR1dQ%40mail.gmail.com.


Re: [tw5] Plugin prototype: Command Palette

2020-06-10 Thread Souk21
@Mohammad Woops! Thank you for the bug report, it's fixed now! You can try 
it on the demo page :)

Le mercredi 10 juin 2020 21:41:19 UTC+2, Mohammad a écrit :
>
> A small Bug
>
> 1. ctrl+p
> 2. type Nella  (or anything you are sure does not exist in the wiki)
> 3. press enter
>
> The red error window appears
>
>
>
> Best wishes
> Mohammad
>
>
> On Wed, Jun 10, 2020 at 10:01 PM Souk21 > 
> wrote:
>
>> 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/558ff87a-a6f6-47a9-b0e5-4d0b2714569bo%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/98ff8a7e-1602-486a-b1ba-038df8521f05o%40googlegroups.com.


Re: [tw5] Plugin prototype: Command Palette

2020-06-10 Thread Mohammad Rahmani
One more comment
The history only shows tiddlers not searched filter like [tag[HelloThere]]


Best wishes
Mohammad


On Wed, Jun 10, 2020 at 10:01 PM Souk21  wrote:

> 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/558ff87a-a6f6-47a9-b0e5-4d0b2714569bo%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/CAAV1gMAENF3Jz%2B8r7GyBseGFvN0wogkeUfPz_hKhY%3DdV4rOGaQ%40mail.gmail.com.


Re: [tw5] Plugin prototype: Command Palette

2020-06-10 Thread Mohammad Rahmani
A small Bug

1. ctrl+p
2. type Nella  (or anything you are sure does not exist in the wiki)
3. press enter

The red error window appears



Best wishes
Mohammad


On Wed, Jun 10, 2020 at 10:01 PM Souk21  wrote:

> 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/558ff87a-a6f6-47a9-b0e5-4d0b2714569bo%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/CAAV1gMBcgNUhjRsu%3D%3DwcBoG1hqfcbp9C7srWnSktdguXGZVOQg%40mail.gmail.com.


Re: [tw5] Plugin prototype: Command Palette

2020-06-10 Thread Mohammad Rahmani
Hi souk21,
This is really interesting! Thank you for sharing!
I just tried and found it very powerful!


Best wishes
Mohammad


On Wed, Jun 10, 2020 at 10:01 PM Souk21  wrote:

> 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/558ff87a-a6f6-47a9-b0e5-4d0b2714569bo%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/CAAV1gMC28awq3zPuUdLUzFS4r2dGZ0aw1Po1hqV-uTHmYWcquw%40mail.gmail.com.


[tw5] Plugin prototype: Command Palette

2020-06-10 Thread 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/558ff87a-a6f6-47a9-b0e5-4d0b2714569bo%40googlegroups.com.