Texera / texera

Collaborative Machine-Learning-Centric Data Analytics Using Workflows
https://texera.github.io
Apache License 2.0
163 stars 75 forks source link

Fix the issue where clicking on an operator in the workflow detail interface changes the URL #3076

Open GspikeHalo opened 6 days ago

GspikeHalo commented 6 days ago

Purpose:

Currently, when the user clicks on an operator or edge in the workflow detail interface, it gets selected, causing the URL to change. This PR disables the highlighting functionality for operators and edges in the detail interface to prevent this issue. Fix #3027

Changes:

  1. Add a new property in workflow-action.service.ts to indicate whether the highlight functionality is enabled, with the default set to enabled.
  2. Set the highlight functionality to disabled in hub-workflow-detail.component.ts.

Demo:

https://github.com/user-attachments/assets/60616ef7-766b-4dc5-adc3-2be974eb0a0e