voddle opened a new pull request, #9143:
URL: https://github.com/apache/texera/pull/9143

   ### What changes were proposed in this PR?
   
   Make workflow links smooth and keep their arrows attached to the rendered 
path during editing. Clear forward connections use a cubic Bézier curve; 
obstructed connections follow a rounded detour checked against operator bounds. 
Moving an unrelated operator also reroutes affected links, while existing safe 
detours are retained to reduce jumping.
   
   Native SVG markers replace separately transformed arrow graphics and inherit 
the connection's highlight color. A browser regression reproduced the legacy 
marker's tangent mismatch with a smooth connector; the originally reported lag 
with the existing rounded connector was not reproduced in Chromium.
   
   New operators fade in over 200 ms with a 400 ms outline cue. Animation is 
view-only, respects reduced motion, skips workflow loading, and cancels on 
interaction/removal. The existing toolbar action remains the explicit way to 
rearrange the whole workflow.
   
   Routing keeps a bounded fallback when no safe corridor is found, including 
overlapping operators.
   
   ### Any related issues, documentation, discussions?
   
   Draft pending maintainer discussion and issue association. The contributor 
will coordinate with the repository maintainers.
   
   ### How was this PR tested?
   
   Node 24.19.0 on macOS, using the repository's locked Yarn dependencies.
   
   ```sh
   cd frontend
   yarn format:fix
   yarn format:ci
   yarn build:ci
   yarn test:ci
   yarn ng run gui:test-browser --watch=false
   ```
   
   - Full unit suite: 242 files passed; 6,833 tests passed and 1 skipped.
   - Full browser suite: 5 files and 34 tests passed.
   - The final production-build rerun is in progress.
   - Browser checks cover endpoint movement at three zoom levels, real mouse 
dragging, unrelated-node avoidance, stable detours, highlighting, reconnection, 
insertion/cancellation, asynchronous rendering, reduced motion, and loading 
suppression.
   - Visual comparison uses production JointJS node/link renderers in browser 
fixtures at 1100 × 720. Drag a block across an unrelated link, release it, add 
a node, then invoke Auto layout to inspect the intended interactions. Backend 
execution was not needed for these rendering checks.
   
   <!-- Visual evidence will be attached before handoff. -->
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: OpenAI Codex (GPT-6)
   


-- 
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]

Reply via email to