Matti Tahvonen
Matti Tahvonen
Store the UI reference (and expose it) in ComponentEvent. I think I would never use a method like UI.getCurrentOrThrow (would prefer to make a null check for UI.getCurrent()). The best...
👍 Something to consider when opening this part: a bit more logging about the icon generation might have helped me to get over my recentt "WTF moment" faster.
> What kind of log messages would have helped you? What exact image file is used when generating the scaled versions. That would have probable helped me to figure out...
Subscribe. Context: we have "forever" had developer tooling in Vaadin apps. Like in the description, we have been handling that with a profile (or technically, we have had them there...
Slightly related. I have recently started to use CustomEvent more than @ClientCallable methods for client->server communication (supports throttling/debouncing). For my helper I just added `byte[]` support. https://github.com/parttio/velocity-component/blob/07c69400984d97612e539e73197438721fa4b298/src/main/java/org/vaadin/addons/velocitycomponent/VElement.java#L109 Usage example from...