Could someone give me an estimate if it is realistic to rebuild something similar with the existing Vaadin components?
I would also like to take this opportunity to ask if the Vaadin team could develop such a component. Searching for something is a very common use case in business applications.
Depends on your knowledge about the platform and tooling on hand. Anything between 16h to 80h could be feasible.
Vaadin is happy to help you with creating custom components open sourced or closed source - you should take that to your Vaadin Rep or contact them directly
With VTextField from Viritin you can get the cursor position (as in characters aka Selection API), but it don’t help unless you are fine with monospaced font. I guess you meant pixel coordinates, but even with those, AFAIK, Popover can only be positioned relative to other components/elements.
Some “contentEditable” level browser magic might be needed for this one to make the UX really good
Are you planning to make your suggestions configurable from Java API? Just wondering in my head what would the optimal custom component look like and how generic it could be…
I dont care how suggestions are configured. Java API would be nice.
Do you think such a component would make sense to add to the pool of components.
Now that I am more aware of this kind of search I wonder why it is not already in the pool/paied components since searching something is so common.
Hi Stefan, I missed answers last week. Adding those as buttons (or as a composition of that text and remove button) would probably work to some extent and might be “good enough” solutions.
If you’d want it to be possible to “paint” multiple existing search terms and deleting or copying those, then it probably gets complicated.