Issue #8326 : Render ContextDialog content as vector SVG in Hop Web - #8352
Merged
Merged
Conversation
… Web - Render ContextDialog category headers and action items into crisp vector SVG in Hop Web instead of raster images - Provide client-side SVG overlay with hover highlight and tooltip updates via context-dialog-svg.js - Ensure preserveAspectRatio="none" and proper content height synchronization across collapse and expand transitions - Guard against re-entrant canvas paint during height update in ContextDialogSvgRendererHandler - Support both light and dark mode themes in SVG generation
mattcasters
marked this pull request as ready for review
September 14, 2026 18:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ContextDialogSvgRendererrenders categories, action tiles, and category headers to vector SVG XML with support for light and dark mode themes.context-dialog-svg.jsprovides client-side SVG rendering, instant hover box highlighting, and tooltip bar updates with no network round-trip.ContextDialogSvgRendererHandlerand facade bridge desktop RCP (no-op GC) and Hop Web RAP environments cleanly.contentHeightsynchronization across category collapse/expand states,preserveAspectRatio="none", and a re-entrancy guard preventing duplicate paint invocations during size updates.ContextDialogSvgRendererTestandAreaOwnerJsonSerializerTestcovering 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:
mvn clean install apache-rat:checkto make sure basic checks pass. A more thorough check will be performed on your pull request automatically.git rebase -i.addresses #123,fixes #123, orcloses #123).