WindowsCommunityToolkit icon indicating copy to clipboard operation
WindowsCommunityToolkit copied to clipboard

New control: AutoSuggestBox that allows snapping of resolved items

Open haroldma-zz opened this issue 10 years ago • 17 comments

Just like the messaging or mail app have. I wrote a control for UWP that does this: image image

Using it internally but hit me up on [email protected] to figure out how we can use it.

haroldma-zz avatar Aug 19 '16 16:08 haroldma-zz

Do you think it is general enough to be included in the toolkit (not judging at all, just asking)

deltakosh avatar Aug 19 '16 16:08 deltakosh

@deltakosh oh, yeah. Works the same as AutoSuggestBox and just let the user snap the suggestions (any object type).

Here's another scenario: comment replying in a social app. Use the @ sign to initiate the suggestions and snap users to mention in the comment.

The control only snaps to the left most but with a few modifications we can allow it to snap items anywhere.

haroldma-zz avatar Aug 19 '16 16:08 haroldma-zz

How it works: wrapper around a list of items. Using the template selector it can display a text block (snapped item) or text box. Use a WrapPanel for the list view to make it mimic a normal text box.

haroldma-zz avatar Aug 19 '16 16:08 haroldma-zz

Just gave you a thumb up:) We need to allow it to work from right to left as well

deltakosh avatar Aug 19 '16 16:08 deltakosh

@haroldma do you mind creating a PR? If you don;t have time @IbraheemOsama could help merging the code :)

Thank you gentlemen!

deltakosh avatar Oct 11 '16 20:10 deltakosh

@haroldma any updates about this control ? :)

IbraheemOsama avatar Oct 25 '16 15:10 IbraheemOsama

I was looking for something like this for an older project. In my case it was for adding tags (and have a list of known tags popping up while typing). In the end I used a different approach, but I think this would be a useful addition to the toolkit.

lukasf avatar Mar 09 '17 20:03 lukasf

@lukasf I think it could be useful too.

Odonno avatar Mar 11 '17 19:03 Odonno

Any update @lukasf or @haroldma?

gbarcho avatar Jun 27 '18 15:06 gbarcho

Sorry. I'm no longer in that team and it got dismantle.

On another hand, @deltakosh, what a small world! Didn't realize that you were involve in this project before.

hariettem avatar Jun 27 '18 21:06 hariettem

@haroldma So you cannot provide the source code of that control anymore? That's unfortunate. I really think that this would make a very useful control, for tagging, metadata editing, profile names, stuff like that...

lukasf avatar Jun 29 '18 10:06 lukasf

What's the status?

lucaasrojas avatar Aug 03 '18 21:08 lucaasrojas

Looks like #1638 was similar to this?

michael-hawker avatar Apr 16 '19 16:04 michael-hawker

Only remotely similar. This one has a very different (better) UI and usability. This here is what we see in a lot of well done messaging apps. There should be a control for it in the toolkit or directly in UWP, because it would be useful for many scenarios.

lukasf avatar Apr 16 '19 18:04 lukasf

TokenizingTextBox is shipping in 6.0 and will be released soon, yay! Enjoy! 🎉🎉🎉🎉

michael-hawker avatar Oct 30 '19 20:10 michael-hawker

Can't find TokenizingTextBox in 6.0... 😥

wbokkers avatar Nov 19 '19 13:11 wbokkers

Hi @wbokkers, sorry about that, it's in the 6.0.0-rc1 package if you want to play with a preview of it. We realized we had some conflicting fixes in the end which invalidated a key scenario, programmatic manipulation, see #3057.

We had to make the decision to hold back the control as to fix it would probably introduce breaking changes later otherwise. We have to evaluate a solution and implement it still, but it's high on our priority list, as we know this is an important control.

michael-hawker avatar Nov 19 '19 18:11 michael-hawker