mattcasters opened a new pull request, #8352: URL: https://github.com/apache/hop/pull/8352
Render `ContextDialog` (action dialog) category headers and items as vector SVG in Hop Web rather than transmitting raster images over the network. This makes dialog content crisp on all displays, faster to render, and consistent with the SVG rendering used for pipeline and workflow graphs. ## What changed - **SVG Renderer**: `ContextDialogSvgRenderer` renders categories, action tiles, and category headers to vector SVG XML with support for light and dark mode themes. - **Client Overlay**: `context-dialog-svg.js` provides client-side SVG rendering, instant hover box highlighting, and tooltip bar updates with no network round-trip. - **RemoteObject Handler**: `ContextDialogSvgRendererHandler` and facade bridge desktop RCP (no-op GC) and Hop Web RAP environments cleanly. - **Alignment & Dimensions**: Proper `contentHeight` synchronization across category collapse/expand states, `preserveAspectRatio="none"`, and a re-entrancy guard preventing duplicate paint invocations during size updates. - **Unit Tests**: Added automated unit tests in `ContextDialogSvgRendererTest` and `AreaOwnerJsonSerializerTest` covering SVG generation, category collapse reflow, and area serialization. fixes #8326 ------------------------ Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Run `mvn clean install apache-rat:check` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically. - [x] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using `git rebase -i`. - [x] Mention the appropriate issue in your description (for example: `addresses #123`, `fixes #123`, or `closes #123`). - [ ] Mention your specific configuration information useful if needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
