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

   ### What changes were proposed in this PR?
   
   Deletes the group-highlight streams from `JointGraphWrapper`: the two 
subjects and the `getJointGroupHighlightStream()` / 
`getJointGroupUnhighlightStream()` getters. It also drops those streams from 
the four `merge(...)` calls that subscribe to them: one in the property editor, 
two in the workflow editor, and one in the operator menu. There is no behaviour 
change: **+6/−54 lines**.
   
   ### History
   
   | | |
   | --- | --- |
   | **Introduced by** | #754 (2020-12-11), "Added operator grouping feature", 
for selecting operator groups on the canvas |
   | **Usage removed by** | #3033 (2024-11-13), "Remove Operator Group". It 
deleted the feature and every `.next()` on these subjects, but kept the 
subjects, the getters and the subscribers |
   
   It has been dead for nearly two years. Each dropped `merge(...)` operand was 
a stream that never emits, so removing it changes nothing the subscribers can 
observe. No production code calls `.next()` or `.complete()` on either subject.
   
   > Reviewer note: the other streams in those `merge(...)` calls are live and 
unchanged. The only other edits are comments that still mentioned groups. 
`joint-graph-wrapper.spec.ts` loses its one case, which asserted that these 
streams stay silent when operators are highlighted.
   
   ### Any related issues, documentation, discussions?
   
   Closes #8685
   
   ### How was this PR tested?
   
   No new tests. The one removed case only covered the deleted getters.
   
   From `frontend/`:
   
   - `npx ng test --watch=false --include='**/joint-graph-wrapper.spec.ts' 
--include='**/property-editor.component.spec.ts' 
--include='**/workflow-editor.component.spec.ts' 
--include='**/operator-menu.service.spec.ts'`: 4 files, 250 tests, all pass.
   - `yarn format:ci`: clean.
   - `npx ng build`: success.
   
   To re-check:
   
   ```
   git grep -n -i "JointGroup"   # no hits
   ```
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 5.5)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


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