[tw5] Re: Proof of concept: Auto-completion for filters

2019-07-22 Thread Watt
The update with info links is working here Bimlas. Good stuff. Maybe set the 
docs links to open in a new tab? Or a pop-up so we don't have to leave the 
page? (Maybe not so mobile friendly though).

It definitely encourages use of the docs and discovery of filter operators I 
might be a bit fuzzy about, so it already works just on the educational level.

Getting the chosen filter into the edit text area sounds tricky but maybe 'copy 
to clipboard' would be enough?

There are lots of TW users all with different levels of ability so anything 
that helps reveal the mysteries is valuable.

Those @Mat links are great. Have you got that balloon block editor working Mat? 

-- 
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/a96e16fc-ac34-49b9-9d8a-17cd80b0bf4f%40googlegroups.com.


[tw5] Re: Proof of concept: Auto-completion for filters

2019-07-21 Thread Mat
@bimlas

I like auto completion very much but I doubt I would ever use it for such a 
limited case.

Could the same mechanism be used for this matter 
, i.e a general popup 
tool in the text editor? Also have a look at this cutie 

.

<:-)

-- 
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/459a5e02-3178-4cfd-9fac-a89399b2507d%40googlegroups.com.


[tw5] Re: Proof of concept: Auto-completion for filters

2019-07-21 Thread bimlas
Update: Add link to documentation of operators in the completion

It's uggly, but at least working. How do I open an external link by a 
button? And why doesn't the link with completion appear in the same line?

https://bimlas.gitlab.io/demo/tw5/advanced-search-filter-with-completion.html

-- 
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/9252e7ad-be34-40f2-bdf4-5205e7540438%40googlegroups.com.


[tw5] Re: Proof of concept: Auto-completion for filters

2019-07-21 Thread Watt
The update works here. A little twitchy, it needs the first square bracket and 
a bit of tapping inside and outside of the text box but it autocompletes. Nice! 

For me being able to get the filter to appear at the cursor in the text edit 
area would be the ideal but that sounds like a tall order. Drag and drop don't 
work for me on a phone. 'Copy to clipboard' would do the job, maybe not too 
difficult to achieve?

It's looking good though Bimlas, others will come up with more feedback I'm 
sure.

-- 
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/9b3c64d6-44a0-4b5a-a713-019c0fb8cb05%40googlegroups.com.


[tw5] Re: Proof of concept: Auto-completion for filters

2019-07-21 Thread bimlas
Update: Selected completion applies to filter expression

https://bimlas.gitlab.io/demo/tw5/advanced-search-filter-with-completion.html

-- 
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/46d0ff2f-9941-49e2-9a87-bee0c6061256%40googlegroups.com.


[tw5] Re: Proof of concept: Auto-completion for filters

2019-07-21 Thread bimlas
Watt,
 

> Maybe a 'show all' option would be good? If I don't know a filter exists I 
> won't search for it.
>

Planned, I hope, I can do it.
 

> Maybe a toggle switch between 'autocomplete' and 'link to docs'? Some 
> users still learning (me) need to see what a filter does. Advanced users 
> need autocomplete. Or an info pop-up?
>

I definitely want to implement it, I agree with the idea.
 

> The autocomplete would be most useful in edit mode for me I suppose but 
> I've no idea how you'd achieve that. An expanding edit bar button? Failing 
> that a copytoclipboard option might work. Is it possible to float the 
> lookup in a side-editor style window?
>

What do you want to add code-completion to: tiddler titles or filters in 
tiddler text? If for title, try drag-n-drop tiddlers into textarea.

>

-- 
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/b83d29d6-96bb-4cf8-97ec-ac9b3160994e%40googlegroups.com.