Jermolene / TiddlyWiki5

A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
https://tiddlywiki.com/
Other
7.8k stars 1.16k forks source link

[IDEA] Show message when tagpicker dropdown is empty #8343

Open twMat opened 1 week ago

twMat commented 1 week ago

The dropdown is not good, arguably even confusing, when showing up empty like so:

image

I propose to show some message like (no search result) or (no tag exits containing that string) or (empty) or some such.

Leilei332 commented 1 week ago

This can be implemented by simply adding the emptyMessage attribute to the list widget.

图片

图片

pmario commented 1 week ago

If we do this for 1 search dropdown, IMO we need to do it for all of them -- for consistency. TiddlyWiki UI texts have to be translatable.

image

Advanced Search will need "special" treatment.

image

For System and Shadows-search we will probably need some special handling. Either show the one or the other

image

For Filter-search - there is a possibility to have 1 match, but an empty list. -- Any additional text there will cause confusion -- So we should not change that one.

Jermolene commented 1 week ago

Thanks I agree that this would be worth fixing, and making consistent if possible.