Filtering by label UX issues

When filtering by label like label = T it seems to autocomplete directly for the first possible match. When you want to continue writing a label name like “Test” then it appends the “est” at the autocompleted label and this results in a undefined label.

Additionally, there are issues when auto completing that every second label in a series of labels labels = X || labels = Y gets autocompleted to undefined, no matter what I do.

Is that reproducible on Https://try.vikunja.io?

Yeah, it’s also reproducible there

I was unable to reproduce this on try, using these steps:

Can you clarify what does not work for you? Maybe using a screen recording?

1 Like

Here, I tried this on the demo instance. I tried to enter labels in test but when I enter the first t, it automatically jumps to the full thing, adding est breaks it.

labelsBug

Thanks for the video. I’ll take a look.

This should be fixed in 68d233684f, please check with the next unstable build (should be ready for deployment in ~45min, also on try).

1 Like

Thanks a lot! This already works a lot better now :slight_smile:

I still saw some issues when adding multiple chained labels, I’ll show with another gif which should be the easiest way to explain. After saving pretty much all but the one are listed as undefined. I tested it on try.
labelsBug

I’ve just pushed a potential fix for this in da66eb7314 - please check with the next unstable build (should be ready for deployment in ~45min, also on try).

And a hint: You can use , when filtering with the in operator, so your example could be written as labels in gtest, test1, test3.

Hey, thanks for the update and the hint. I was mostly doing his a means to show this bug, but it’s still good advise!

Unfortunately, on the latest version (tested on try) it still has a very similar issue. Sidenote when you’re doing keyboard only navigation, it would be great if you can continue typing after having selected a label in the dropdown without refocusing the input field with the mouse.
labelsBug

Does that only happen with keyboard navigation?

No, I have similar issues when I select the labels from the drop down via mouse

There have been a few fixes to the filter logic and the problem seems to be gone now (I was unable to reproduce this). Can you verify this on try?

Seems like this issue is back to the original issue. Tested on https://try.vikunja.io

labelsBug

This should be fixed now (finally, took a little longer than expected) in f425d98b4d, please check with the next unstable build (should be ready for deployment in ~45min, also on try).

Hey, thanks a lot for getting back to this! Yes it seems to be working well now :slight_smile:
Just one bug I found was that tags which include a part of the string of a keyword like labels or in, will also be replaced in this text. So entering something like “labels in label” will replace label with the label id, but also labels, resulting in something like “42s in 42”.

Gotcha! The last problem should now be fixed in f4a7326b68, please check with the next unstable build - you know the drill :slightly_smiling_face:

Yep, all working well now. Thanks!

1 Like